You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Haifeng Chen (JIRA)" <ji...@apache.org> on 2018/05/03 08:14:00 UTC

[jira] [Created] (HIVE-19399) Download cast generating incorrect value for vectorization

Haifeng Chen created HIVE-19399:
-----------------------------------

             Summary: Download cast generating incorrect value for vectorization
                 Key: HIVE-19399
                 URL: https://issues.apache.org/jira/browse/HIVE-19399
             Project: Hive
          Issue Type: Bug
          Components: Vectorization
    Affects Versions: 3.1.0
            Reporter: Haifeng Chen


 

The following sql scripts generating different result for vectorization disabled and enabled.
  drop table test_schema;
  create table test_schema (f int) stored as parquet;
  insert into test_schema values ('99999');
  select cast(f as tinyint) + 1 from test_schema;

For non-vectorization, the result is -96 while for vectorization mode, it is 100000

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)