Releases: astronomer/astro-sdk
Releases · astronomer/astro-sdk
0.9.1
Bugfix:
- Table unable to have Airflow templated names #413 . Issue reported by @guohui-gao and fixed by @sunank200
0.9.0
Enhancements:
- Introduction of the user-facing
Table
,Metadata
, andFile
classes
Breaking changes:
- The operator
save_file
becameexport_file
. - The tasks
load_file
,export_file
(previouslysave_file
) andrun_raw_sql
should be used with useTable
,Metadata
andFile
instances - The decorators
dataframe
,run_raw_sql
andtransform
should be used withTable
andMetadata
instances. - Temporary removal of the operators
aggregate_check
,boolean_check
,render
, andstats_check
. - Removal of the class
TempTable
. It is possible to declare temporary tables usingTable(temp=True)
. All the temporary table names are prefixed with_tmp_
. If the user decides to name aTable
, it is no longer temporary. - The only mandatory property of a
Table
instance isconn_id
. If the user gives no metadata toTable
, the library will try to extract schema and other information from the connection object. If undefined and the database supports schema, the SDK defaults the schema to the value inAIRFLOW__ASTRO__SQL_SCHEMA
.
Internals:
- Major refactor introducing
Database
,File
,FileType
andFileLocation
concepts.
0.8.5
0.8.5b1
0.9.0b1
Enhancements:
- Introduction of the user-facing
Table
,Metadata
, andFile
classes
Breaking changes:
- The operator
save_file
becameexport_file
. - The tasks
load_file
,export_file
(previouslysave_file
) andrun_raw_sql
should be used with useTable
,Metadata
andFile
instances - The decorators
dataframe
,run_raw_sql
andtransform
should be used withTable
andMetadata
instances. - Temporary removal of the operators
aggregate_check
,boolean_check
,render
, andstats_check
. - Removal of the class
TempTable
. It is possible to declare temporary tables usingTable(temp=True)
. All the temporary table names are prefixed with_tmp_
. If the user decides to name aTable
, it is no longer temporary. - The only mandatory property of a
Table
instance isconn_id
. If the user gives no metadata toTable
, the library will try to extract schema and other information from the connection object. If undefined and the database supports schema, the SDK defaults the schema to the value inAIRFLOW__ASTRO__SQL_SCHEMA
.
Internals:
- Major refactor introducing
Database
,File
,FileType
andFileLocation
concepts.
0.8.4
0.8.3
0.8.2
0.8.1
0.8.0
Feature:
load_file
support for nested NDJSON files #257
Breaking change:
aql.dataframe
switches the capitalization to lowercase by default. This behaviour can be changed by usingidentifiers_as_lower
#154
Documentation:
- Fix commands in README.md #242
- Add scripts to auto-generate Sphinx documentation
Enhancements:
- Improve type hints coverage
- Improve Amazon S3 example DAG, so it does not rely on pre-populated data #293
- Add example DAG to load/export from BigQuery #265
- Fix usages of mutable default args #267
- Enable DeepSource validation #299
- Improve code quality and coverage
Bug fixes:
- Support
gcpbigquery
connections #294 - Support
params
argument inaql.render
to override SQL Jinja template values #254 - Fix
aql.dataframe
when table arg is absent #259
Others: