Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Calcite Engine: Support timestamp type #3478

Closed
qianheng-aws opened this issue Mar 25, 2025 · 0 comments · Fixed by #3483
Closed

[FEATURE] Calcite Engine: Support timestamp type #3478

qianheng-aws opened this issue Mar 25, 2025 · 0 comments · Fixed by #3483
Assignees
Labels
calcite calcite migration releated enhancement New feature or request

Comments

@qianheng-aws
Copy link
Collaborator

Is your feature request related to a problem?
OpenSearch timestamp type is different from other databases including Calcite.

In Calcite, timestamp is calculated as long while don't support nanos precision.

In OpenSearch, timestamp is calculated as string and support nanos precision. In V2, we support comparison between string and columns of timestamp type, and timestamp related functions also support pass in string as its arguments.

What solution would you like?
Convert opensearch timestamp as UDT instead of calcite's timestamp

What alternatives have you considered?
A clear and concise description of any alternative solutions or features you've considered.

Do you have any additional context?
Add any other context or screenshots about the feature request here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
calcite calcite migration releated enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants