-
Notifications
You must be signed in to change notification settings - Fork 590
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(frontend): support SET TIME ZONE (#8572)
Signed-off-by: TennyZhuang <zty0826@gmail.com>
- Loading branch information
1 parent
c19fc72
commit 65a641d
Showing
9 changed files
with
95 additions
and
3 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# This file is automatically generated. See `src/sqlparser/test_runner/src/bin/apply.rs` for more information. | ||
- input: SET TIME ZONE LOCAL | ||
formatted_sql: SET TIME ZONE LOCAL | ||
- input: SET TIME ZONE DEFAULT | ||
formatted_sql: SET TIME ZONE DEFAULT | ||
- input: SET TIME ZONE "Asia/Shanghai" | ||
formatted_sql: SET TIME ZONE "Asia/Shanghai" | ||
- input: SET TIME ZONE 'Asia/Shanghai' | ||
error_msg: |- | ||
sql parser error: Expected a value, found: EOF | ||
Near "SET TIME ZONE 'Asia/Shanghai'" | ||
- input: SET TIME ZONE "UTC" | ||
formatted_sql: SET TIME ZONE "UTC" | ||
- input: SET TIME ZONE UTC | ||
formatted_sql: SET TIME ZONE UTC | ||
- input: set time = '1'; | ||
formatted_sql: SET time = '1' |