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

Fix JSON Temporal Encoding of Multiple Batches #3924

Merged
merged 2 commits into from
Mar 24, 2023

Conversation

doki23
Copy link
Contributor

@doki23 doki23 commented Mar 24, 2023

Which issue does this PR close?

Closes apache/datafusion#5635.

Rationale for this change

record_batches_to_json_rows doesn't process multi batches having temporal fields as expected.

Are there any user-facing changes?

No

@github-actions github-actions bot added the arrow Changes to the arrow crate label Mar 24, 2023
}
});
rows.iter_mut()
.take(row_count)
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 bug fix

@doki23 doki23 marked this pull request as ready for review March 24, 2023 05:02
arrow-json/src/writer.rs Outdated Show resolved Hide resolved
@tustvold tustvold changed the title fix bug of batches to json Fix JSON Temporal Encoding of Multiple Batches Mar 24, 2023
@tustvold tustvold merged commit 114b905 into apache:master Mar 24, 2023
@alamb
Copy link
Contributor

alamb commented Mar 24, 2023

Thank you @doki23 -- very nice find

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrow Changes to the arrow crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to "GROUP BY" udf result
3 participants