You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Alessandro Solimando (Jira)" <ji...@apache.org> on 2022/09/29 11:43:00 UTC

[jira] [Updated] (HIVE-26572) Support constant expressions in vectorization

     [ https://issues.apache.org/jira/browse/HIVE-26572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alessandro Solimando updated HIVE-26572:
----------------------------------------
    Summary: Support constant expressions in vectorization  (was: Support constant expressions in vectorized expressions)

> Support constant expressions in vectorization
> ---------------------------------------------
>
>                 Key: HIVE-26572
>                 URL: https://issues.apache.org/jira/browse/HIVE-26572
>             Project: Hive
>          Issue Type: Improvement
>          Components: Vectorization
>    Affects Versions: 4.0.0-alpha-2
>            Reporter: Alessandro Solimando
>            Priority: Major
>
> At the moment, we cannot vectorize aggregate expression having constant parameters in addition to the aggregation column (it's forbidden [here|https://github.com/apache/hive/blob/c19d56ec7429bfcfad92b62ac335dbf8177dab24/ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/Vectorizer.java#L4531]).
> One compelling example of how this could help is [PR 1824|https://github.com/apache/hive/pull/1824], linked to HIVE-24510, where _compute_bit_vector_ had to be split into _compute_bit_vector_hll_ + _compute_bit_vector_fm_ when HLL implementation has been added, while _compute_bit_vector($col, ['HLL'|'FM'])_ could have been used.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)