V2WriteCommand Logical Commands¶
V2WriteCommand
is an extension of the Command abstraction for logical commands that write data to tables in DataSource V2.
Contract¶
isByName Flag¶
isByName: Boolean
Used when:
- ResolveOutputRelation logical resolution rule is executed (for
TableOutputResolver
toresolveOutputColumns
)
Query¶
query: LogicalPlan
LogicalPlan for the data to write out
Table¶
table: NamedRelation
NamedRelation of the table
withNewQuery¶
withNewQuery(
newQuery: LogicalPlan): V2WriteCommand
withNewQuery¶
withNewTable(
newTable: NamedRelation): V2WriteCommand