Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed a bug where data imports failed if the GCS input path was not i…
…nitialized with an empty blob. (#357) When running a data import, if the GCS input bucket wasn't created as an empty blob, the import will fail with the error: ``` FileNotFoundError: File not found: gs://YOUR_BUCKET/input ``` * We have a helper method `_fix_gcsfs_storage` that initializes "subdirectories" under the GCS input path as empty blobs, but if the input directory itself was not an empty blob the import fails. * This PR moves the call to `_fix_gcsfs_storage` to earlier in the execution flow to account for the case where the input directory itself is not an empty blob. Additional context b/386254730
- Loading branch information