MCPcopy Create free account
hub / github.com/apache/arrow / test_load_large_json

Method test_load_large_json

python/pyarrow/tests/test_json.py:305–311  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

303
304 @pytest.mark.numpy
305 def test_load_large_json(self):
306 data, expected = make_random_json(num_cols=2, num_rows=100100)
307 # set block size is 10MB
308 read_options = ReadOptions(block_size=1024*1024*10)
309 table = self.read_bytes(data, read_options=read_options)
310 assert table.num_rows == 100100
311 assert expected.num_rows == 100100
312
313 @pytest.mark.numpy
314 def test_stress_block_sizes(self):

Callers

nothing calls this directly

Calls 3

read_bytesMethod · 0.95
ReadOptionsClass · 0.90
make_random_jsonFunction · 0.85

Tested by

no test coverage detected