Skip to content

ensure name-mapping exists #1866

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

Closed
kevinjqliu opened this issue Mar 31, 2025 · 2 comments
Closed

ensure name-mapping exists #1866

kevinjqliu opened this issue Mar 31, 2025 · 2 comments

Comments

@kevinjqliu
Copy link
Contributor

Feature Request / Improvement

Should we set name-mapping on table creation?

Spark create table ensures that name-mapping exists and kept up to date with schema updates

This can help resolve #1798

@Fokko
Copy link
Contributor

Fokko commented Mar 31, 2025

We should not set the name-mapping when it isn't needed. Looking at the code, ensureNameMappingPresent is used when:

@kevinjqliu
Copy link
Contributor Author

yep! youre right :) closing this

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

No branches or pull requests

2 participants