1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
# 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: 6931e0cba974f75429a2ed7b21408313479f2214246c312dd94faaad59c2bfb7
file:
- statement:
set_segment:
keyword: set
naked_identifier: var1
comparison_operator:
raw_comparison_operator: '='
numeric_literal: '5'
- statement_terminator: ;
- statement:
set_segment:
keyword: set
naked_identifier: var1
comparison_operator:
raw_comparison_operator: '='
array_literal:
- start_square_bracket: '['
- quoted_literal: "'one'"
- comma: ','
- quoted_literal: "'two'"
- end_square_bracket: ']'
- statement_terminator: ;
- statement:
set_segment:
keyword: set
system_variable:
double_at_sign_literal: '@@query_label'
comparison_operator:
raw_comparison_operator: '='
quoted_literal: "'text'"
- statement_terminator: ;
|