go-zetasqlite
go-zetasqlite copied to clipboard
Fixing MERGE to use named paths in table names
Closes: https://github.com/goccy/bigquery-emulator/issues/299
The sub-actions (INSERT, UPDATE and DELETE) inside the merge statement currently do not work when using BigQuery Emulator, as they are not able to recognize the exact table they need to work upon.
This PR fixes the logic by adding namePath to the source and target table names joined by underscore to work on sqlite tables.