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

Remove old JSON Reader and Decoder (#3610) #4052

Merged
merged 5 commits into from
Apr 12, 2023

Conversation

tustvold
Copy link
Contributor

@tustvold tustvold commented Apr 11, 2023

Which issue does this PR close?

Closes #3610
Closes #4053

Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

This removes a deprecated API

@tustvold tustvold added the api-change Changes to the arrow API label Apr 11, 2023
@github-actions github-actions bot added arrow Changes to the arrow crate parquet Changes to the parquet crate labels Apr 11, 2023
use serde_json::Value;
use arrow_schema::{ArrowError, DataType, Field, Fields, Schema};

#[derive(Debug, Clone)]
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 just moved from reader.rs

@tustvold
Copy link
Contributor Author

I'm working on porting more of the tests across

.collect();

let batch = RecordBatch::try_new(self.schema.clone(), columns)?;
let batch = RecordBatch::from(StructArray::from(decoded))
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 fix for #4053

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

Successfully merging this pull request may close these issues.

RawJsonReader Errors with Empty Schema Replace JSON Reader with RawReader
2 participants