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

RawJsonReader Errors with Empty Schema #4053

Closed
tustvold opened this issue Apr 11, 2023 · 2 comments · Fixed by #4052
Closed

RawJsonReader Errors with Empty Schema #4053

tustvold opened this issue Apr 11, 2023 · 2 comments · Fixed by #4052
Assignees
Labels
arrow Changes to the arrow crate bug parquet Changes to the parquet crate

Comments

@tustvold
Copy link
Contributor

Describe the bug

To Reproduce

#[test]
fn test_json_empty_projection() {
    let mut reader = read_file("test/data/basic.json", Some(Schema::empty()));
    let batch = reader.next().unwrap().unwrap();

    assert_eq!(0, batch.num_columns());
    assert_eq!(12, batch.num_rows());
}

Expected behavior

Additional context

@tustvold tustvold added the bug label Apr 11, 2023
@tustvold tustvold self-assigned this Apr 11, 2023
@tustvold tustvold added the parquet Changes to the parquet crate label Apr 21, 2023
@tustvold
Copy link
Contributor Author

label_issue.py automatically added labels {'parquet'} from #4052

@tustvold tustvold added the arrow Changes to the arrow crate label Apr 21, 2023
@tustvold
Copy link
Contributor Author

label_issue.py automatically added labels {'arrow'} from #4052

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 bug parquet Changes to the parquet crate
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant