seawenc opened a new issue, #2475:
URL: https://github.com/apache/incubator-paimon/issues/2475

   ### Search before asking
   
   - [X] I searched in the 
[issues](https://github.com/apache/incubator-paimon/issues) and found nothing 
similar.
   
   
   ### Motivation
   
   Time travel currently only supports timestamps and snapshot numbers, which 
are not user-friendly for developers
   
   ### Solution
   
   Add date method, for example:
   ```sql
   -- read the snapshot from specified datetime
   -- Supported formats include:yyyy-MM-dd, yyyy-MM-dd HH, yyyy-MM-dd HH:mm, 
yyyy-MM-dd HH:mm:ss, yyyy-MM-dd HH:mm:ss.SSS
   SET paimon.scan.datetime='2023-12-09 23:09';
   SELECT * FROM t;
   SET paimon.scan.datetime=null;
   ```
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] I'm willing to submit a PR!


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