-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix transform_file to not depend on transform decorator #1004
Conversation
a05d324
to
9e860f4
Compare
Codecov ReportBase: 93.38% // Head: 83.06% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #1004 +/- ##
===========================================
- Coverage 93.38% 83.06% -10.33%
===========================================
Files 57 7 -50
Lines 2374 124 -2250
Branches 266 13 -253
===========================================
- Hits 2217 103 -2114
+ Misses 110 17 -93
+ Partials 47 4 -43 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
37be9da
to
f442d03
Compare
- use TransformOperator in transform_file - set default task_id for TransformOperator to "transform" - fix example for transform_file - resolve XComArgs when finding first table - add parameters to template_fields
e8892cf
to
240ba2b
Compare
) Allow users to view the SQL statements, regardless of whether they are part of the DAG definition or declared on a separate file, within the Airflow UI task "Rendered Template" field. This change affects `aql.transform`, `aql.transform_file` and `aql.dataframe`, since it is implemented on the `BaseSQLDecoratedOperator`. The following changes were made: - add sql and parameters to BaseSQLDecoratedOperator template_fields - add .sql to BaseSQLDecoratedOperator template_ext - add check for template_fields and template_ext closes: #1003 depends on: #1004 Co-authored-by: Tatiana Al-Chueyr <tatiana.alchueyr@gmail.com>
) Allow users to view the SQL statements, regardless of whether they are part of the DAG definition or declared on a separate file, within the Airflow UI task "Rendered Template" field. This change affects `aql.transform`, `aql.transform_file` and `aql.dataframe`, since it is implemented on the `BaseSQLDecoratedOperator`. The following changes were made: - add sql and parameters to BaseSQLDecoratedOperator template_fields - add .sql to BaseSQLDecoratedOperator template_ext - add check for template_fields and template_ext closes: #1003 depends on: #1004 Co-authored-by: Tatiana Al-Chueyr <tatiana.alchueyr@gmail.com>
Description
What is the current behavior?
Currently, the
transform_file
is using thetransform
decorator underneath which has a few limitations. For more information check out the issue below.closes: #892
What is the new behavior?
Does this introduce a breaking change?
No.
Checklist