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
|
# 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: cd6b2acb838c5b14165ae5ff3d733beed753ba1cf49ed4f8c057ff0c60c1e41d
file:
statement:
create_function_statement:
- keyword: CREATE
- keyword: FUNCTION
- function_name:
function_name_identifier: qs
- function_parameter_list:
bracketed:
start_bracket: (
parameter: y
data_type:
data_type_identifier: STRING
end_bracket: )
- function_definition:
- keyword: LANGUAGE
- naked_identifier: js
- keyword: AS
- udf_body: '" return y; "'
|