Skip to content

Proto: add DataSink try_to_proto hook + port FileSinkConfig serde #23498

Description

@adriangb

Part of #23494.

Mirror of the DataSource foundation for the sink side: add a try_to_proto hook to the DataSink trait, have DataSinkExec ride the ExecutionPlan hook (encoding input + sort_order via the ctx), and port the FileSinkConfig ⇄ proto conversion into datafusion-datasource.

Blocks the file-sink sub-issue.

See #23494 for the overall pattern and the ctx API. The reference implementation of this hook chain (and the FileScanConfig/FileSinkConfig serde port) is in the full draft #23496. No wire-format change; delete the old central dispatch in the same PR.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions