[SPARK-29618] remove V1_BATCH_WRITE table capability#26281
[SPARK-29618] remove V1_BATCH_WRITE table capability#26281cloud-fan wants to merge 1 commit intoapache:masterfrom
Conversation
|
A related topic: #25990 suggests that we should pass some physical information when creating |
|
Test build #112766 has finished for PR 26281 at commit
|
|
Test build #112769 has finished for PR 26281 at commit
|
|
Until we support Table creation through V2 in DataFrameWriter.save (through the Options -> Catalog and Identifier resolvers), I'm a -1 on this. This would break all V1 Write fallback codepaths for DataFrameWriter.save. |
|
We're closing this PR because it hasn't been updated in a while. This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable. |
What changes were proposed in this pull request?
Build the
BatchWritein the planner and get rid of theV1_BATCH_WRITEtable capability.Why are the changes needed?
It's always better to make the API simpler and easier to implement. When I was working on v1 read fallback API at #26231 , I realized that we don't need a table capability for it, because we create the
Scanobject in the planner. We can do the same thing for v1 write fallback API as well.This can also reduce duplicated code of creating the
WriteBuilder.Does this PR introduce any user-facing change?
no
How was this patch tested?
existing tests