Our Astronomer / Airflow workers running updates on our datasources have been failing.
We discovered this was because the size of our datasources exceeded the 10GB storage limit for the Astronomer workers.
So, to help adjust the size of our Datasources while making updates, I am adding functionality to allow for manipulating the Datasource extract (.hyper file).
Changes
Added functionality to the Datasource class
empty_extract: To create an empty extract for the Datasource connection.
filter_extract: To delete data from the extract, based on a provided condition string.
Added --empty_extract (-E) and --filter_extract (-F) to the datasource CLI command args
Summary
Our Astronomer / Airflow workers running updates on our datasources have been failing. We discovered this was because the size of our datasources exceeded the 10GB storage limit for the Astronomer workers.
So, to help adjust the size of our Datasources while making updates, I am adding functionality to allow for manipulating the Datasource extract (
.hyper
file).Changes
Datasource
classempty_extract
: To create an empty extract for the Datasource connection.filter_extract
: To delete data from the extract, based on a provided condition string.--empty_extract
(-E
) and--filter_extract
(-F
) to thedatasource
CLI command argsTests