You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Unable to run a query with a WHERE clause that uses datetime comparison.
To Reproduce
With the latest version available in winget (0.33.0), running the following query results in an error being thrown: gitql -q 'SELECT commit_id, author_name, datetime FROM commits WHERE datetime > "2024-01-01 00:00:00"'
Error message:
[Error]: Operator `>` can't be performed between types `DateTime` and `Text`
--> Location 1:68
|
-> | SELECT commit_id, author_name, datetime FROM commits WHERE datetime > "2024-01-01 00:00:00"
|
| -------------------------------------------------------------------^
|
Expected behavior
Query should run correctly.
Screenshots
GQL (please complete the following information):
Version 0.33.0
Additional context
The version 0.28.0 works. I was unable to install any version between 0.33.0 and 0.28.0 to pinpoint exactly which version introduced this issue.
Environment details:
OS: Windows 11 (24H2)
Shell: Powershell
Terminal: Windows Terminal
The text was updated successfully, but these errors were encountered:
Describe the bug
Unable to run a query with a WHERE clause that uses datetime comparison.
To Reproduce
With the latest version available in winget (0.33.0), running the following query results in an error being thrown:
gitql -q 'SELECT commit_id, author_name, datetime FROM commits WHERE datetime > "2024-01-01 00:00:00"'
Error message:
Expected behavior
Query should run correctly.
Screenshots
GQL (please complete the following information):
Additional context
The version 0.28.0 works. I was unable to install any version between 0.33.0 and 0.28.0 to pinpoint exactly which version introduced this issue.
Environment details:
OS: Windows 11 (24H2)
Shell: Powershell
Terminal: Windows Terminal
The text was updated successfully, but these errors were encountered: