You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: Implement to_remote_storage for supported offline stores (#2918)
* chore: Implement to_remote_storage for RedshiftRetrievalJob
Signed-off-by: Achal Shah <[email protected]>
* Implement to_remote_storage for BigQuery
Signed-off-by: Achal Shah <[email protected]>
* add for snowflake as well
Signed-off-by: Achal Shah <[email protected]>
* fully fleshed for snowflake
Signed-off-by: Achal Shah <[email protected]>
* better test config
:
Signed-off-by: Achal Shah <[email protected]>
* fix tests:
Signed-off-by: Achal Shah <[email protected]>
* fix tests
Signed-off-by: Achal Shah <[email protected]>
* more fixes
Signed-off-by: Achal Shah <[email protected]>
* more fixes
Signed-off-by: Achal Shah <[email protected]>
* more fixes
Signed-off-by: Achal Shah <[email protected]>
* fix bigquery
Signed-off-by: Achal Shah <[email protected]>
* use temp table for entity df table
Signed-off-by: Achal Shah <[email protected]>
* simplify condition
Signed-off-by: Achal Shah <[email protected]>
* remove temp
Signed-off-by: Achal Shah <[email protected]>
"to_remote_storage() requires `storage_integration_name` to be specified in config"
482
+
)
483
+
484
+
table=f"temporary_{uuid.uuid4().hex}"
485
+
self.to_snowflake(table)
486
+
487
+
copy_into_query=f"""copy into '{self.config.offline_store.blob_export_location}/{table}' from "{self.config.offline_store.database}"."{self.config.offline_store.schema_}"."{table}"\n
0 commit comments