Skip to content

SQLParseException[Cannot find data type: time] #206

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

Open
amotl opened this issue Feb 16, 2025 · 1 comment
Open

SQLParseException[Cannot find data type: time] #206

amotl opened this issue Feb 16, 2025 · 1 comment

Comments

@amotl
Copy link
Member

amotl commented Feb 16, 2025

Problem

sa.Time() currently can't be used, because it gets mapped to SQL's TIME type, and CrateDB doesn't know it.

Exception calling application: (crate.client.exceptions.ProgrammingError) SQLParseException[Cannot find data type: time]

On the other hand, using sa.Date() works, and gets mapped to TIMESTAMP WITHOUT TIME ZONE well.

@amotl
Copy link
Member Author

amotl commented Feb 17, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant