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
Is your feature request related to a problem? Please describe.
DeltaTableWriter provides the option to configure the writer in MERGE mode using the output_mode_params field by providing in it a list of merge clauses in the merge_builder key. This is especially useful in case the Delta table or the DataFrame to be merged are not available upfront. Not all merge clauses are currently supported (whenMatchedUpdateAll and whenNotMatchedInsertAll are not covered).
Describe the solution you'd like
It should be possible to use all clauses in the configuration
Describe alternatives you've considered
No alternative solutions can be used in this case because this is the only way of configuring the writer in MERGE mode when the table and the DataFrame are not available when we create the DeltaTableWriter
Additional context
...
The text was updated successfully, but these errors were encountered:
DeltaTableWriter provides the option to configure the writer in MERGE
mode using the output_mode_params field by providing in it a list of
merge clauses in the merge_builder key. This is especially useful in
case the Delta table or the DataFrame to be merged are not available
upfront. Not all merge clauses were supported: the merge clause provided
was being validated against a list of valid clauses which did not
include whenMatchedUpdateAll and whenNotMatchedInsertAll clauses. As
part of this PR:
- validation of the clauses now happens in the output_mode_params field
validator (currently this is happening only when the merge is being
executed)
- the list of available merge clauses is sourced directly from available
methods in DeltaMergeBuilder class and now includes all of them
## Related Issue
#43
## Motivation and Context
Now it's possible to use all merge clauses when configuring the
DeltaTableWriter
---------
Co-authored-by: riacom_nike <[email protected]>
Is your feature request related to a problem? Please describe.
DeltaTableWriter provides the option to configure the writer in MERGE mode using the output_mode_params field by providing in it a list of merge clauses in the merge_builder key. This is especially useful in case the Delta table or the DataFrame to be merged are not available upfront. Not all merge clauses are currently supported (whenMatchedUpdateAll and whenNotMatchedInsertAll are not covered).
Describe the solution you'd like
It should be possible to use all clauses in the configuration
Describe alternatives you've considered
No alternative solutions can be used in this case because this is the only way of configuring the writer in MERGE mode when the table and the DataFrame are not available when we create the DeltaTableWriter
Additional context
...
The text was updated successfully, but these errors were encountered: