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
{{ message }}
Repository navigation
Appending to parquet file seems to break future appending #3098
This seems to be a dask problem as replicating the issue in fastparquet doesn't cause any kind of exception.
Appending to a hive parquet folder seems to break something and future appends fail. Not sure what's special about this use case (perhaps the datetimeindex?). Replication code and the exception are blow.
Tried #3097 with no joy . I guess my problem is that instead of throwing the usual 'Divisions overlap' exception it throws something much harder to understand.
Right, the case is not that the new data's divisions overlap with existing data, but that the original data doesn't have non-overlapping divisions in the first case. Except that they don't quite overlap, which is why I'm on the fence about whether this is a bug or not.
Activity
martindurant commentedon Jan 24, 2018
Can you try with #3097 ?
martindurant commentedon Jan 24, 2018
The following change in
fastparquet.apiseems to fix this.(condition goes to "less than or equal")
I'd appreciate someone else's thoughts on whether this is the right fix.
martindurant commentedon Jan 24, 2018
... because times repeat, last entry in one partition versus first in next.
Note, you can always use
ignore_divisions=True.shughes-uk commentedon Jan 24, 2018
Tried #3097 with no joy . I guess my problem is that instead of throwing the usual 'Divisions overlap' exception it throws something much harder to understand.
martindurant commentedon Jan 24, 2018
Right, the case is not that the new data's divisions overlap with existing data, but that the original data doesn't have non-overlapping divisions in the first case. Except that they don't quite overlap, which is why I'm on the fence about whether this is a bug or not.
mrocklin commentedon Oct 24, 2018
@martindurant is there something to fix here? If so can you summarize it? If not can you close?