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

Dayakar M resolved HIVE-29568.
------------------------------
    Fix Version/s: 4.3.0
       Resolution: Fixed

> Vectorized PTF is throwing RuntimeException
> -------------------------------------------
>
>                 Key: HIVE-29568
>                 URL: https://issues.apache.org/jira/browse/HIVE-29568
>             Project: Hive
>          Issue Type: Bug
>          Components: Vectorization
>            Reporter: Dayakar M
>            Assignee: Dayakar M
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.3.0
>
>
> Vectorized PTF is throwing java.lang.RuntimeException: Cannot convert column 
> vector type: 'VOID' to TypeInfo
> Reproduce steps:
> {noformat}
> create table a(age int, name string) stored as orc;
> select cast(row_number() over(order by NULL) as STRING) from a;{noformat}
> Stacktrace:
> {noformat}
> Caused by: java.lang.RuntimeException: Cannot convert column vector type: 
> 'VOID' to TypeInfo
>         at 
> org.apache.hadoop.hive.ql.exec.vector.ptf.VectorPTFOperator.columnVectorTypeToTypeInfo(VectorPTFOperator.java:582)
>         at 
> org.apache.hadoop.hive.ql.exec.vector.ptf.VectorPTFOperator.initBufferedColumns(VectorPTFOperator.java:452)
>         at 
> org.apache.hadoop.hive.ql.exec.vector.ptf.VectorPTFOperator.initializeOp(VectorPTFOperator.java:342)
>         at 
> org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:360)
>         at 
> org.apache.hadoop.hive.ql.exec.tez.ReduceRecordProcessor.init(ReduceRecordProcessor.java:191)
>         at 
> org.apache.hadoop.hive.ql.exec.tez.TezProcessor.initializeAndRunProcessor(TezProcessor.java:292)
>         ... 15 more{noformat}
> When _hive.vectorized.execution.ptf.enabled_ property is disabled then its 
> working fine.
>  



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

Reply via email to