-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicate data_files
when named <split>/<split>.parquet
#6272
Comments
Also reported in #6259 |
I think it's best to drop duplicates with a |
Alternatively we could just use this no ? if config.FSSPEC_VERSION < version.parse("2023.9.0"):
KEYWORDS_IN_PATH_NAME_BASE_PATTERNS = [
"{keyword}[{sep}/]**",
"**[{sep}]{keyword}[{sep}/]**",
"**/{keyword}[{sep}/]**",
]
else:
KEYWORDS_IN_PATH_NAME_BASE_PATTERNS = [
"{keyword}[{sep}/]**",
"**/*[{sep}]{keyword}[{sep}/]**",
"**/*/{keyword}[{sep}/]**",
] This way no need to implement sets, which would require a bit of work since we've always considered a list of pattern to be resolved as the concatenated list of resolved files for each pattern (including duplicates) |
Arf EDIT: actually forgot to set |
Actually |
Pff just tested and my idea sucks, pattern 1 and 3 obviously give duplicates |
I started #6278 to use DataFilesSet objects instead of DataFilesList |
e.g. with
u23429/stock_1_minute_ticker
This bug issue is present in the current
datasets
2.14.5 and also onmain
even after #6244 cc @mariosaskoThe text was updated successfully, but these errors were encountered: