Releases: astronomer/astro-sdk
Releases · astronomer/astro-sdk
1.8.1
1.8.0
1.7.0
Feature
- Allow users to disable schema check and creation on
load_file
#1922 - Allow users to disable schema check and creation on
transform
#1925 - Add support for Excel files #1978
- Support loading metadata columns from stage into table for Snowflake #2023
Bug Fixes
- Add
openlineage_dataset_uri
in databricks #1919 - Fix QueryModifier issue on Snowflake #1962
- Fix AstroCustomXcomBackend circular import issue #1943
Misc
- Add an example DAG for using dynamic task with dataframe #1912
- Improve
example_load_file
DAG tasks names #1958 - Limit
databricks-sql-connector<2.9.0
#2013
Docs
1.6.2
1.6.1
1.5.4
1.7.0a1
1.6.0
Feature
- Add MySQL support #1801
- Add support to load from Azure blob storage into Databricks #1561
- Add argument
skip_on_failure
toCleanupOperator
#1837 by @scottleechua - Add
query_modifier
toraw_sql
,transform
andtransform_file
, which allow users to define SQL statements to be run before the main query statement #1898.
Example of how to use this feature can be used to add Snowflake query tags to a SQL statement:from astro.query_modifier import QueryModifier @aql.run_raw_sql( results_format="pandas_dataframe", conn_id="sqlite_default", query_modifier=QueryModifier(pre_queries=["ALTER team_1", "ALTER team_2"]), ) def dummy_method(): return "SELECT 1+1"
- Upgrade astro-runtime to 7.4.2 #1878
Bug fix
- Raise exception in case larger dataframes than expected are passed to
aql.dataframe
#1839 - Revert breaking change introduced in 1.5.0, re-allowing
aql.transform
to receive `sql filepath #1879
Docs
- Update open lineage documentation #1881
Misc
1.6.0a1
Feature
- Add
query_modifier
toraw_sql
, which users can use to define SQL statements to be run before and after the main query statement #1898
Example:
from astro.query_modifier import QueryModifier
@aql.run_raw_sql(
results_format="pandas_dataframe",
conn_id="sqlite_default",
query_modifier=QueryModifier(pre_queries=["ALTER team_1", "ALTER team_2"]),
)
def dummy_method():
return "SELECT 1+1"