Skip to content

[PROTOTYPE][DO_NOT_MERGE] Streaming write schema evolution#55279

Open
johanl-db wants to merge 2 commits intoapache:masterfrom
johanl-db:prototype-streaming-write-schema-evolution
Open

[PROTOTYPE][DO_NOT_MERGE] Streaming write schema evolution#55279
johanl-db wants to merge 2 commits intoapache:masterfrom
johanl-db:prototype-streaming-write-schema-evolution

Conversation

@johanl-db
Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Path-finding: attempting to automatically evolve the schema of the sink during streaming writes when the sink table reports capability AUTOMATIC_SCHEMA_EVOLUTION

This is a crude prototype and doesn't consider implications that evolving the sink schema may have on streaming semantics.

There's also no user-surface to enable schema evolution on a stream today. Delta uses for example .option("mergeSchema", "true"), but Spark itself doesn't provide an a user surface for schema evolution. In this change, we assume that a connector implementation will intercept the WriteToMicroBatchDataSource node to enable schema evolution on it as needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant