Open
Description
Describe the bug
Registering a record batch under the name json_table
leads to a ParserError.
To Reproduce
You can find this repo https://github.com/dadepo/df-repro with code that can be used to reproduce the problem.
Running with the record batch registered with json_table
will fail while the one registered with json_values_table
runs successfully.
Expected behavior
I believe it should be possible to use json_table as an alias for a record batch.
Additional context
The issue is probably connected with this PR to add mysql's JSON_TABLE to sqlparser apache/datafusion-sqlparser-rs#1019