()
| 1935 | |
| 1936 | #[test] |
| 1937 | fn test_json_empty_projection() { |
| 1938 | let mut reader = read_file("test/data/basic.json", Some(Schema::empty())); |
| 1939 | let batch = reader.next().unwrap().unwrap(); |
| 1940 | |
| 1941 | assert_eq!(0, batch.num_columns()); |
| 1942 | assert_eq!(12, batch.num_rows()); |
| 1943 | } |
| 1944 | |
| 1945 | #[test] |
| 1946 | fn test_json_basic_with_nulls() { |