#11392 made _input_block in each BetaRowsetReaders sharable. However, for some types (e.g. nested array with more than 1 depth), the _column_vector_batches in RowBlockV2 can be nested which means that there is a ColumnVectorBatch inside another ColumnVectorBatch. In this case, the data of inner ColumnVectorBatch may be corrupted because the data of _input_block is copied shallowly to the _output_block.
58 lines
1.0 KiB
Plaintext
58 lines
1.0 KiB
Plaintext
-- This file is automatically generated. You should know what you did if you want to edit this
|
|
-- !select --
|
|
1 []
|
|
1 []
|
|
2 [NULL]
|
|
2 [NULL]
|
|
3 [[]]
|
|
3 [[]]
|
|
4 [[1, 2, 3], [4, 5, 6]]
|
|
4 [[1, 2, 3], [4, 5, 6]]
|
|
5 [[1, 2, 3], NULL, [4, 5, 6]]
|
|
5 [[1, 2, 3], NULL, [4, 5, 6]]
|
|
6 [[1, 2, NULL], NULL, [4, NULL, 6], NULL, [NULL, 8, 9]]
|
|
6 [[1, 2, NULL], NULL, [4, NULL, 6], NULL, [NULL, 8, 9]]
|
|
|
|
-- !select --
|
|
1 []
|
|
1 []
|
|
2 [NULL]
|
|
2 [NULL]
|
|
3 [[]]
|
|
3 [[]]
|
|
4 [[1, 2, 3], [4, 5, 6]]
|
|
4 [[1, 2, 3], [4, 5, 6]]
|
|
5 [[1, 2, 3], NULL, [4, 5, 6]]
|
|
5 [[1, 2, 3], NULL, [4, 5, 6]]
|
|
6 [[1, 2, NULL], NULL, [4, NULL, 6], NULL, [NULL, 8, 9]]
|
|
6 [[1, 2, NULL], NULL, [4, NULL, 6], NULL, [NULL, 8, 9]]
|
|
|
|
-- !select --
|
|
1 []
|
|
1 []
|
|
2 [NULL]
|
|
2 [NULL]
|
|
3 [[]]
|
|
3 [[]]
|
|
4 [[NULL]]
|
|
4 [[NULL]]
|
|
5 [[[]]]
|
|
5 [[[]]]
|
|
6 [[[NULL]], [[1], [2, 3]], [[4, 5, 6], NULL, NULL]]
|
|
6 [[[NULL]], [[1], [2, 3]], [[4, 5, 6], NULL, NULL]]
|
|
|
|
-- !select --
|
|
1 []
|
|
1 []
|
|
2 [NULL]
|
|
2 [NULL]
|
|
3 [[]]
|
|
3 [[]]
|
|
4 [[NULL]]
|
|
4 [[NULL]]
|
|
5 [[[]]]
|
|
5 [[[]]]
|
|
6 [[[NULL]], [[1], [2, 3]], [[4, 5, 6], NULL, NULL]]
|
|
6 [[[NULL]], [[1], [2, 3]], [[4, 5, 6], NULL, NULL]]
|
|
|