Search before asking
Version
master
What's Wrong?
In commit #9848 , the configuration enable_storage_vectorization in BE was enabled by default.
However, the ArrayFileColumnIterator didn't implement the interface Status next_batch(size_t* n, vectorized::MutableColumnPtr& dst, bool* has_null). Thereby, the array type data can't be retrieved from underlying data file.
What You Expected?
Select array type data successfully.
How to Reproduce?
mysql> create table array_type_table (k1 INT, k2 Array<int>) duplicate key (k1)
-> distributed by hash(k1) buckets 1 properties('replication_num' = '1');
mysql> set enable_array_type = true;
mysql> set enable_vectorized_engine = true;
mysql> insert into array_type_table values (0, []), (1, [NULL]), (2, [1, 2, 3]), (3, [1, NULL, 3]);
mysql> select * from array_type_table;
Empty set (0.03 sec)
Anything Else?
No response
Are you willing to submit PR?
Code of Conduct