We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For some SQLs web console doesn't mark proper error position returned by backend .
select * from long_sequence(1) where cast(x as timestamp) = '2012-04-12T12:00:0A'
Web console should mark problmatic timestamp literal - either whole or start or end.
- **QuestDB version**: latest 6.2.1 master - **OS**: Windows - **Browser**: Chrome
No response
The text was updated successfully, but these errors were encountered:
A guess: the problem was caused by monaco-editor API's getWordAtPosition, which cuts the word '2012-04-12T12:00:0A' on the first dash.
monaco-editor
getWordAtPosition
'2012-04-12T12:00:0A'
Another example:
https://github.com/questdb/questdb/blob/37432fc6090de1d882ca278d365924f1a488e530/ui/src/scenes/Editor/Monaco/utils.ts#L217-L224
Could anyone kindly point out the next step? I'm not familiar with monaco -- maybe there are other APIs, or may set - as escaped from splitting.
-
Sorry, something went wrong.
Also reported here: #71
write failing test to cover issue described in #40
21d0173
a7c748e
No branches or pull requests
Describe the bug
For some SQLs web console doesn't mark proper error position returned by backend .
To reproduce
select * from long_sequence(1) where cast(x as timestamp) = '2012-04-12T12:00:0A'
Expected Behavior
Web console should mark problmatic timestamp literal - either whole or start or end.
Environment
Additional context
No response
The text was updated successfully, but these errors were encountered: