-
Notifications
You must be signed in to change notification settings - Fork 97
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
Fix some map(overwrite=True)
bugs
#1031
Conversation
@@ -2664,17 +2665,6 @@ def map( | |||
field = manifest.data_schema.get_field(output_path) | |||
if field.map is None: | |||
raise ValueError(f'{output_path} is not a map column so it cannot be overwritten.') | |||
# Delete the parquet file and map manifest. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't need this code since the parquet file and the map manifest are deleted/overwritten when we reshard. This makes map(input=x, output=x, overwrite=True) work
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice, __ is much better
Fix progress bar when overwrite=True and allow
map(input=x, output=x, overwrite=True)