Skip to content

Update arrow 48.0.0 #7854

New issue

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

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

Already on GitHub? # to your account

Merged
merged 5 commits into from
Oct 23, 2023
Merged

Update arrow 48.0.0 #7854

merged 5 commits into from
Oct 23, 2023

Conversation

tustvold
Copy link
Contributor

Which issue does this PR close?

Closes #.

Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@tustvold tustvold marked this pull request as draft October 18, 2023 09:54
@github-actions github-actions bot added the core Core DataFusion crate label Oct 18, 2023
@github-actions github-actions bot added the sqllogictest SQL Logic Tests (.slt) label Oct 18, 2023
@@ -58,8 +58,10 @@ AggregateExec: mode=Final, gby=[], aggr=[COUNT(*)]
------RepartitionExec: partitioning=RoundRobinBatch(4), input_partitions=1
--------JsonExec: file_groups={1 group: [[WORKSPACE_ROOT/datafusion/core/tests/data/2.json]]}, projection=[a]

query error DataFusion error: Schema error: No field named mycol\.
query ?
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@@ -37,13 +37,6 @@ pub struct CsvWriterOptions {
/// Compression to apply after ArrowWriter serializes RecordBatches.
/// This compression is applied by DataFusion not the ArrowWriter itself.
pub compression: CompressionTypeVariant,
/// Indicates whether WriterBuilder.has_header() is set to true.
Copy link
Contributor

Choose a reason for hiding this comment

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

🎉

@tustvold tustvold marked this pull request as ready for review October 23, 2023 15:11
Comment on lines -82 to -90
"rfc3339" => {
let value_bool = value.parse()
.map_err(|_| DataFusionError::Configuration(format!("Unable to parse {value} as bool as required for {option}!")))?;
if value_bool{
builder.with_rfc3339()
} else{
builder
}
},
Copy link
Member

Choose a reason for hiding this comment

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

@@ -523,9 +523,9 @@ mod tests {

let csv_options = CsvWriterOptions::try_from((&config, &options))?;
let builder = csv_options.writer_options;
assert!(builder.header());
Copy link
Member

Choose a reason for hiding this comment

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

@tustvold tustvold merged commit ae85a67 into apache:main Oct 23, 2023
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Thank you everyone

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
core Core DataFusion crate sqllogictest SQL Logic Tests (.slt)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants