Skip to content

Commit

Permalink
Create Hive partition for experiment schema if not exists
Browse files Browse the repository at this point in the history
  • Loading branch information
thalassemia authored Jul 20, 2024
1 parent f45827c commit 8ab39dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ecoli/library/parquet_emitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -764,6 +764,7 @@ def _finalize(self):
experiment_schema_path = os.path.join(
self.outdir, "history", self.experiment_id, EXPERIMENT_SCHEMA_SUFFIX
)
self.filesystem.create_dir(os.path.dirname(experiment_schema_path))
pq.write_metadata(
unified_schema, experiment_schema_path, filesystem=self.filesystem
)
Expand Down

0 comments on commit 8ab39dd

Please sign in to comment.