Skip to content

Commit b94f0d6

Browse files
Raira OkunoRaira Okuno
authored andcommitted
change test query order
1 parent 679febf commit b94f0d6

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

test/fixtures/dialects/redshift/select_datetime_functions.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
SELECT current_date;
22

3-
SELECT current_timestamp;
4-
53
SELECT sysdate;
64

5+
SELECT current_timestamp;
6+
77
SELECT TRUNC(sysdate);
88

99
-- As taken from: https://docs.aws.amazon.com/redshift/latest/dg/r_SYSDATE.html

test/fixtures/dialects/redshift/select_datetime_functions.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# computed by SQLFluff when running the tests. Please run
44
# `python test/generate_parse_fixture_yml.py` to generate them after adding or
55
# altering SQL files.
6-
_hash: e2fb45ad50ee67a3ad026619a49cf9ac3890391165e70da50840e88a8c5c1c1f
6+
_hash: 0edddefa88485c2eef616da694d0bdf265eac65a122823622dc8b26f3a003e96
77
file:
88
- statement:
99
select_statement:
@@ -17,14 +17,14 @@ file:
1717
select_clause:
1818
keyword: SELECT
1919
select_clause_element:
20-
bare_function: current_timestamp
20+
bare_function: sysdate
2121
- statement_terminator: ;
2222
- statement:
2323
select_statement:
2424
select_clause:
2525
keyword: SELECT
2626
select_clause_element:
27-
bare_function: sysdate
27+
bare_function: current_timestamp
2828
- statement_terminator: ;
2929
- statement:
3030
select_statement:

0 commit comments

Comments
 (0)