0.30.0 #128
AmrDeveloper
announced in
Announcements
0.30.0
#128
Replies: 2 comments
-
Hi @AmrDeveloper, SELECT * FROM commits WHERE datetime > '2024-09-11 01:01:01'
SELECT * FROM commits WHERE datetime > CAST('2024-09-11' AS DATE)
SELECT * FROM commits WHERE datetime > Date('2024-09-11')
SELECT * FROM commits WHERE datetime @> DATERANGE ('2024-09-11', '2024-11-11')
SELECT * FROM commits WHERE datetime > MAKEDATE(2024, 300) What is the proper way to do it in this version? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello @jorgeaponte, There was parsing error in current unreleased parser and datetime type is - SELECT * FROM commits WHERE datetime > '2024-09-11 01:01:01' // Working
- SELECT * FROM commits WHERE datetime > CAST('2024-09-11' AS DATE) // Not fully supported yet, will supported next release
- SELECT * FROM commits WHERE datetime > Date('2024-09-11') // Can't compare Date vs DateTime
- SELECT * FROM commits WHERE TSRANGE ('2024-09-11 01:01:01', '2024-11-11 01:01:01') @> datetime // Working but contains expect left hand side to be range
- SELECT * FROM commits WHERE datetime <@ TSRANGE ('2024-09-11 01:01:01', '2024-11-11 01:01:01') // Will be valid in 0.32.0 Thank you for reporting |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
atty
with std is_terminal.This discussion was created from the release 0.30.0.
Beta Was this translation helpful? Give feedback.
All reactions