File tree Expand file tree Collapse file tree
test/fixtures/dialects/redshift Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11SELECT current_date ;
22
3- SELECT current_timestamp ;
4-
53SELECT sysdate ;
64
5+ SELECT current_timestamp ;
6+
77SELECT TRUNC(sysdate );
88
99-- As taken from: https://docs.aws.amazon.com/redshift/latest/dg/r_SYSDATE.html
Original file line number Diff line number Diff line change 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
77file :
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 :
You can’t perform that action at this time.
0 commit comments