Eric Hanson created HIVE-5490:
---------------------------------

             Summary: SUBSTR(col, 1, 0) returns wrong result in vectorized mode
                 Key: HIVE-5490
                 URL: https://issues.apache.org/jira/browse/HIVE-5490
             Project: Hive
          Issue Type: Bug
          Components: Query Processor
    Affects Versions: 0.13.0
            Reporter: Eric Hanson
            Priority: Minor


The query
  select substr(cstring1, 1, 0) from alltypesorc;
returns all empty strings when 
set hive.vectorized.execution.enabled = false;
which is the correct result, and returns non-empty strings when
set hive.vectorized.execution.enabled = true;
which is not correct.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to