holicc commented on issue #4850:
URL: 
https://github.com/apache/arrow-datafusion/issues/4850#issuecomment-1711604397

   I found out that we are using the `sqlparser` crate to parse SQL. Therefore, 
we can modify the parsed statements with the `visitorMut` trait, collect all 
tables, and replace them with a new table name. Finally, we can use the 
`register_csv` API to register those tables. This way may be a little tricky.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to