Skip to content

Commit

Permalink
Comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Dtenwolde committed Jan 17, 2024
1 parent b5b06d8 commit 8860cf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion duckpgq/src/duckpgq/functions/tablefunctions/match.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ namespace duckdb {
continue;
}
if (parsed_ref->function_name == "element_id") {
// Check subpath name matches the function name
// Check subpath name matches the column referenced in the function --> element_id(named_subpath)
auto column_ref = dynamic_cast<ColumnRefExpression*>(parsed_ref->children[0].get());
if (column_ref->column_names[0] == subpath.path_variable) {
idx_named_subpath = idx_i;
Expand Down

0 comments on commit 8860cf2

Please sign in to comment.