Skip to content

Commit

Permalink
change test query order
Browse files Browse the repository at this point in the history
  • Loading branch information
Raira Okuno authored and Raira Okuno committed Aug 15, 2022
1 parent 679febf commit b94f0d6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions test/fixtures/dialects/redshift/select_datetime_functions.sql
@@ -1,9 +1,9 @@
SELECT current_date;

SELECT current_timestamp;

SELECT sysdate;

SELECT current_timestamp;

SELECT TRUNC(sysdate);

-- As taken from: https://docs.aws.amazon.com/redshift/latest/dg/r_SYSDATE.html
Expand Down
6 changes: 3 additions & 3 deletions test/fixtures/dialects/redshift/select_datetime_functions.yml
Expand Up @@ -3,7 +3,7 @@
# 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: e2fb45ad50ee67a3ad026619a49cf9ac3890391165e70da50840e88a8c5c1c1f
_hash: 0edddefa88485c2eef616da694d0bdf265eac65a122823622dc8b26f3a003e96
file:
- statement:
select_statement:
Expand All @@ -17,14 +17,14 @@ file:
select_clause:
keyword: SELECT
select_clause_element:
bare_function: current_timestamp
bare_function: sysdate
- statement_terminator: ;
- statement:
select_statement:
select_clause:
keyword: SELECT
select_clause_element:
bare_function: sysdate
bare_function: current_timestamp
- statement_terminator: ;
- statement:
select_statement:
Expand Down

0 comments on commit b94f0d6

Please sign in to comment.