firebolt-db / firebolt-db.github.io

Firebolt documentation
Other
5 stars 63 forks source link

Update current-timestamp.md #121

Closed dsporov closed 1 year ago

dsporov commented 1 year ago

It's not allowed to invoke CURRENT_TIMESTAMP in the way it's specified in the docs: SELECT CURRENT_TIMESTAMP();, it just doesn't work:

Invalid input error: SQL query not valid.
SQL query:
==========
select CURRENT_TIMESTAMP()
                        ^=== ERROR HERE!
==========
Error line: 0
Error column: 24
Error message: syntax error, unexpected '(', expecting end of file

The following syntax should be used instead: SELECT CURRENT_TIMESTAMP;

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information