-
-
Notifications
You must be signed in to change notification settings - Fork 660
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d2e448a
commit 4f6760e
Showing
3 changed files
with
117 additions
and
0 deletions.
There are no files selected for viewing
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,11 @@ | ||
ALTER SCHEMA example_dataset | ||
SET DEFAULT COLLATE "und:ci"; | ||
|
||
ALTER SCHEMA example_dataset | ||
SET OPTIONS(description=""); | ||
|
||
ALTER SCHEMA example_dataset | ||
ADD REPLICA `EU` OPTIONS(location=`eu`); | ||
|
||
ALTER SCHEMA example_dataset | ||
DROP REPLICA `EU`; |
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,68 @@ | ||
# YML test files are auto-generated from SQL files and should not be edited by | ||
# hand. To help enforce this, the "hash" field in the file must match a hash | ||
# computed by SQLFluff when running the tests. Please run | ||
# `python test/generate_parse_fixture_yml.py` to generate them after adding or | ||
# altering SQL files. | ||
_hash: 2c88c9247c171e647f853cd704b69e76dd9aa1a0dcb86ad26f6280a9e89c8a0b | ||
file: | ||
- statement: | ||
alter_schema_statement: | ||
- keyword: ALTER | ||
- keyword: SCHEMA | ||
- table_reference: | ||
naked_identifier: example_dataset | ||
- keyword: SET | ||
- default_collate: | ||
- keyword: DEFAULT | ||
- keyword: COLLATE | ||
- quoted_literal: '"und:ci"' | ||
- statement_terminator: ; | ||
- statement: | ||
alter_schema_statement: | ||
- keyword: ALTER | ||
- keyword: SCHEMA | ||
- table_reference: | ||
naked_identifier: example_dataset | ||
- keyword: SET | ||
- options_segment: | ||
keyword: OPTIONS | ||
bracketed: | ||
start_bracket: ( | ||
parameter: description | ||
comparison_operator: | ||
raw_comparison_operator: '=' | ||
quoted_literal: '""' | ||
end_bracket: ) | ||
- statement_terminator: ; | ||
- statement: | ||
alter_schema_statement: | ||
- keyword: ALTER | ||
- keyword: SCHEMA | ||
- table_reference: | ||
naked_identifier: example_dataset | ||
- keyword: ADD | ||
- keyword: REPLICA | ||
- column_reference: | ||
quoted_identifier: '`EU`' | ||
- options_segment: | ||
keyword: OPTIONS | ||
bracketed: | ||
start_bracket: ( | ||
parameter: location | ||
comparison_operator: | ||
raw_comparison_operator: '=' | ||
column_reference: | ||
quoted_identifier: '`eu`' | ||
end_bracket: ) | ||
- statement_terminator: ; | ||
- statement: | ||
alter_schema_statement: | ||
- keyword: ALTER | ||
- keyword: SCHEMA | ||
- table_reference: | ||
naked_identifier: example_dataset | ||
- keyword: DROP | ||
- keyword: REPLICA | ||
- column_reference: | ||
quoted_identifier: '`EU`' | ||
- statement_terminator: ; |