File: drop_table_function.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 (29 lines) | stat: -rw-r--r-- 948 bytes parent folder | download | duplicates (2)
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
# 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: 095ace4cc6272142d35ae22f75393fdae7da639d48ba94e9b077c3fddcab6c3b
file:
- statement:
    drop_function_statement:
    - keyword: DROP
    - keyword: TABLE
    - keyword: FUNCTION
    - function_name:
        naked_identifier: mydataset
        dot: .
        function_name_identifier: my_table_function
- statement_terminator: ;
- statement:
    drop_function_statement:
    - keyword: DROP
    - keyword: TABLE
    - keyword: FUNCTION
    - keyword: IF
    - keyword: EXISTS
    - function_name:
        naked_identifier: mydataset
        dot: .
        function_name_identifier: my_table_function
- statement_terminator: ;