EdenKik commented on code in PR #46997:
URL: https://github.com/apache/airflow/pull/46997#discussion_r1976482140
##########
providers/trino/tests/system/trino/example_trino.py:
##########
@@ -36,35 +36,36 @@
with models.DAG(
dag_id="example_trino",
schedule="@once", # Override to match your needs
- start_date=datetime(2022, 1, 1),
+ start_date=datetime(2025, 2, 24),
catchup=False,
tags=["example"],
) as dag:
trino_create_schema = SQLExecuteQueryOperator(
task_id="trino_create_schema",
- sql=f"CREATE SCHEMA IF NOT EXISTS {SCHEMA} WITH (location =
's3://irisbkt/cities/');",
+ sql=f" CREATE SCHEMA IF NOT EXISTS {SCHEMA} WITH (location =
's3://irisbkt/cities/') ",
Review Comment:
Some examples were likely coupled to the previous Trino Operator and didn't
work with this operator. I made minor adjustments to fix it & modified tasks to
suit the SQLExecuteQueryOperator's parameters.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]