Closed prachishah48 closed 1 year ago
This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please comment on the issue or else it will be closed in 7 days.
Although we are closing this issue as stale, it's not gone forever. Issues can be reopened if there is renewed community interest. Just add a comment to notify the maintainers.
Describe the feature
We currently use google cloud storage to store our files which have multiple dates and file names(
gs://myBucket/myTable/dt=YYYY-MM-DD/*.txt
). We would ideally like to partition our files by_file_name
(ideally the date inside the _file_name). Our GCS is set up so we havedt
(default Hive partitioned layout) in the file path which can be picked up by the package but thedt
does not always match the date inside the file name. For example, we will have a file named:name_type_20220701.txt
and thedt
will be2021-09-02
because we are moving tables around for easier use. When I try:I get this error:
Describe alternatives you've considered
We can ask our team to match the dt to the file name, which would be idea so we can take in the dt.
Additional context
This is a connection to BigQuery. Please let me know if this is BQ issue or something you can solve for.
Who will this benefit?
Anyone with multiple external tables with dates in the filename