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

Provide Arrow Schema Hint to Parquet Reader #5671

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Lordworms
Copy link
Contributor

@Lordworms Lordworms commented Apr 20, 2024

Which issue does this PR close?

Closes #5657

Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

@Lordworms
Copy link
Contributor Author

seems like the integration process has some problem

@@ -688,6 +688,32 @@ pub const DECIMAL256_MAX_SCALE: i8 = 76;
/// values
pub const DECIMAL_DEFAULT_SCALE: i8 = 10;

// used for <https://github.com/apache/arrow-rs/pull/5605> we should decide what two different
// Datatype could be reinterpret
pub fn can_reinterpret(from_type: &DataType, to_type: &DataType) -> bool {
Copy link
Contributor

Choose a reason for hiding this comment

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

This appears to be duplicating the existing logic for schema jnference using the arrow schema as a hint, I'm not sure why we need 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

Successfully merging this pull request may close these issues.

Provide Arrow Schema Hint to Parquet Reader
2 participants