File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ dependencies = [
2424 " requests" ,
2525 " rich[jupyter]" ,
2626 " ruamel.yaml" ,
27- " sqlglot~=30.2.0 " ,
27+ " sqlglot~=30.2.1 " ,
2828 " tenacity" ,
2929 " time-machine" ,
3030 " json-stream"
Original file line number Diff line number Diff line change @@ -1049,7 +1049,7 @@ def extend_sqlglot() -> None:
10491049 if dialect == athena .Athena :
10501050 tokenizers .add (athena ._TrinoTokenizer )
10511051 parsers .add (AthenaTrinoParser )
1052- generators .add (athena_generators .TrinoGenerator )
1052+ generators .add (athena_generators .AthenaTrinoGenerator )
10531053 generators .add (athena_generators ._HiveGenerator )
10541054
10551055 if hasattr (dialect , "Tokenizer" ):
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ def test_model_to_sqlmesh_fields(dbt_dummy_postgres_config: PostgresConfig):
151151 assert kind .on_additive_change == OnAdditiveChange .ALLOW
152152 assert (
153153 kind .merge_filter .sql (dialect = model .dialect ) # type: ignore
154- == """55 > "__MERGE_SOURCE__"."b" AND "__MERGE_TARGET__"."session_start" > CURRENT_DATE + INTERVAL '1' * INTERVAL ' 7 DAY'"""
154+ == """55 > "__MERGE_SOURCE__"."b" AND "__MERGE_TARGET__"."session_start" > CURRENT_DATE + INTERVAL '7 DAY'"""
155155 )
156156
157157 model = model_config .update_with ({"dialect" : "snowflake" }).to_sqlmesh (context )
You can’t perform that action at this time.
0 commit comments