message: fixed casting to incorrect type
diff: @@ -24,7 +24,7 @@ unique_ptr<PhysicalOperator> PhysicalPlanGenerator::CreatePlan(LogicalCreateInde
  // because they make deletions and lookups unfeasible
  for (idx_t i = 0; i < op.unbound_expressions.size(); i++) {
  auto &expr = op.unbound_expressions[i];
  - if (expr->IsScalar()) {
  + if (expr->expression_class == ExpressionClass::BOUND_FUNCTION) {
  auto &func_expr = (BoundFunctionExpression &)*expr;
  if (func_expr.function.name == "get_current_timestamp" || func_expr.function.name == "random" ||
  func_expr.function.name == "nextval") {
  