alamb commented on issue #7292:
URL: 
https://github.com/apache/arrow-datafusion/issues/7292#issuecomment-1686442228

   While reviewing https://github.com/sqlparser-rs/sqlparser-rs/pull/951 I 
found the following reference from BigQuery about "time decorators" that might 
be able to support this feature without any datafusion changes:
   
   https://cloud.google.com/bigquery/docs/table-decorators#time_decorators
   
   
   
   ```
   ❯ create table foo (x int);
   0 rows in set. Query took 0.001 seconds.
   
   ❯ select * from foo@1234;
   Error during planning: table 'datafusion.public.foo@1234' not found
   ```
   
   
   The downside is that the integer syntax to calculate is pretty bad, Adding 
real SQL support is likely a nicer option


-- 
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