Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP Prototype new DFSchema implementation #7944

Closed
wants to merge 2 commits into from

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Oct 26, 2023

I have long been bothered by the amount of copying required in DFSchema and how akward it is to use and how much duplication (e.g. metadata handling) there is between it and Schema

The current setup also makes adding additional indexes such as described on #7698 very hard

This PR is part of a plan to review the current implementation and possibly simplify it / prepare for faster DataFusion planning

/// Inner arrow schema
inner: SchemaRef,

/// Optional qualifiers for each column in this schema. In the same order as
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the key design --remove DFField and simply wrap an inner arrow Schema ref.

@alamb
Copy link
Contributor Author

alamb commented Jan 23, 2024

I think @matthewmturner is working on something real, so closing this one

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