You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/06/10 09:54:28 UTC

[GitHub] [incubator-doris] adonis0147 opened a new issue, #10064: [Bug][array-type] Failed to select array type data after enable storage vectorization.

adonis0147 opened a new issue, #10064:
URL: https://github.com/apache/incubator-doris/issues/10064

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### 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?
   
   ```shell
   mysql> create table array_type_table_1(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?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [incubator-doris] HappenLee closed issue #10064: [Bug][array-type] Failed to select array type data after enable storage vectorization.

Posted by GitBox <gi...@apache.org>.
HappenLee closed issue #10064: [Bug][array-type] Failed to select array type data after enable storage vectorization.
URL: https://github.com/apache/incubator-doris/issues/10064


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org