File: drop_sequence.yml

package info (click to toggle)
sqlfluff 3.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 34,000 kB
  • sloc: python: 106,131; sql: 34,188; makefile: 52; sh: 8
file content (50 lines) | stat: -rw-r--r-- 1,406 bytes parent folder | download | duplicates (3)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
# 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: 0f19977ccbaad4b1cac3168bab6bc93b927fc4d2b68926f3abd0f25258bc1c93
file:
- statement:
    drop_sequence_statement:
    - keyword: DROP
    - keyword: SEQUENCE
    - sequence_reference:
        naked_identifier: foo
- statement_terminator: ;
- statement:
    drop_sequence_statement:
    - keyword: DROP
    - keyword: SEQUENCE
    - sequence_reference:
      - naked_identifier: foo
      - dot: .
      - naked_identifier: foo
- statement_terminator: ;
- statement:
    drop_sequence_statement:
    - keyword: DROP
    - keyword: SEQUENCE
    - keyword: IF
    - keyword: EXISTS
    - sequence_reference:
        naked_identifier: foo
- statement_terminator: ;
- statement:
    drop_sequence_statement:
    - keyword: DROP
    - keyword: SEQUENCE
    - keyword: IF
    - keyword: EXISTS
    - sequence_reference:
        naked_identifier: foo
    - keyword: CASCADE
- statement_terminator: ;
- statement:
    drop_sequence_statement:
    - keyword: DROP
    - keyword: SEQUENCE
    - sequence_reference:
        naked_identifier: foo
    - keyword: RESTRICT
- statement_terminator: ;