You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "seawenc (via GitHub)" <gi...@apache.org> on 2023/12/09 15:16:44 UTC
[I] [Feature] time travel add datetime format [incubator-paimon]
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: issues-unsubscribe@paimon.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] time travel add datetime format [paimon]
Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi closed issue #2475: [Feature] time travel add datetime format
URL: https://github.com/apache/paimon/issues/2475
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org