Skip to content

[HSTACK] feat: support custom logical schemas passed through DeltaSca…#10

Open
cdobre wants to merge 1 commit intomainfrom
delta_builder_schema
Open

[HSTACK] feat: support custom logical schemas passed through DeltaSca…#10
cdobre wants to merge 1 commit intomainfrom
delta_builder_schema

Conversation

@cdobre
Copy link
Collaborator

@cdobre cdobre commented Mar 23, 2026

Description

Passing custom Arrow schema to the table provider in order to support some soft-version of schema evolution.
Supports TableProviderOld and DeltaScan ( next version).

@cdobre cdobre requested review from aditanase and adragomir March 23, 2026 22:53
@cdobre cdobre self-assigned this Mar 23, 2026
@github-actions
Copy link

ACTION NEEDED

delta-rs follows the Conventional Commits specification for release automation.

The PR title and description are used as the merge commit message. Please update your PR title and description to match the specification.


fn schema(&self) -> Arc<Schema> {
self.snapshot().unwrap().snapshot().read_schema()
self.schema
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if we're doing this processing outside, but there is some logic in read_schema / _arrow_schema that I imagine we want to apply on top of the injected schema?

/// view types.
pub(crate) fn table_schema(&self, table_config: &TableConfiguration) -> Result<SchemaRef> {
if let Some(schema) = &self.schema {
return Ok(schema.clone());
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here, maybe we want to call physical_arrow_schema on top of provided schema

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants