diff --git a/src/parser/transform/statement/transform_create_property_graph.cpp b/src/parser/transform/statement/transform_create_property_graph.cpp index 3497280ce802..badc703563df 100644 --- a/src/parser/transform/statement/transform_create_property_graph.cpp +++ b/src/parser/transform/statement/transform_create_property_graph.cpp @@ -92,6 +92,7 @@ Transformer::TransformPropertyGraphTable(duckdb_libpgquery::PGPropertyGraphTable } else { pg_table->source_reference = possible_src_alias->second; } + std::transform(pg_table->source_reference.begin(), pg_table->source_reference.end(), pg_table->source_reference.begin(), ::tolower); D_ASSERT(graph_table->dst_name); auto dst_name = TransformQualifiedName(*graph_table->dst_name); @@ -101,6 +102,7 @@ Transformer::TransformPropertyGraphTable(duckdb_libpgquery::PGPropertyGraphTable } else { pg_table->destination_reference = possible_dst_alias->second; } + std::transform(pg_table->destination_reference.begin(), pg_table->destination_reference.end(), pg_table->destination_reference.begin(), ::tolower); for (auto &src_key = graph_table->src_pk->head; src_key != nullptr; src_key = lnext(src_key)) { auto key = reinterpret_cast(src_key->data.ptr_value);