You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Vineet Garg (Jira)" <ji...@apache.org> on 2020/07/13 20:34:00 UTC

[jira] [Commented] (HIVE-23807) Wrong results with vectorization enabled

    [ https://issues.apache.org/jira/browse/HIVE-23807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17156960#comment-17156960 ] 

Vineet Garg commented on HIVE-23807:
------------------------------------

[~jcamachorodriguez] Can you take a look at the request (#1234). I have verified that the tests which are failing aren't related (I used http://ci.hive.apache.org/job/hive-precommit/job/branch-2/lastCompletedBuild/testReport/ as baseline and re-ran rest of the failures locally).

> Wrong results with vectorization enabled
> ----------------------------------------
>
>                 Key: HIVE-23807
>                 URL: https://issues.apache.org/jira/browse/HIVE-23807
>             Project: Hive
>          Issue Type: Bug
>          Components: Vectorization
>    Affects Versions: 2.3.0
>            Reporter: Vineet Garg
>            Assignee: Vineet Garg
>            Priority: Major
>              Labels: compatibility, pull-request-available
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> *Repro*
> {code:sql}
> CREATE TABLE `test13`(
>   `portfolio_valuation_date` string,
>   `price_cut_off_datetime` string,
>   `portfolio_id_valuation_source` string,
>   `contributor_full_path` string,
>   `position_market_value` double,
>   `mandate_name` string)
> STORED AS ORC;
> INSERT INTO test13 values (
> "2020-01-31",	"2020-02-07T03:14:48.007Z",	"37",	NULL,	-0.26,	"foo");
> INSERT INTO test13 values (
> "2020-01-31",	"2020-02-07T03:14:48.007Z",	"37",	NULL,	0.33,	"foo");
> INSERT INTO test13 values (
> "2020-01-31",	"2020-02-07T03:14:48.007Z",	"37",	NULL,	-0.03,	"foo");
> INSERT INTO test13 values (
> "2020-01-31",	"2020-02-07T03:14:48.007Z",	"37",	NULL,	0.16,	"foo");
> INSERT INTO test13 values (
> "2020-01-31",	"2020-02-07T03:14:48.007Z",	"37",	NULL,	0.08,	"foo");
> set hive.fetch.task.conversion=none;
> set hive.explain.user=false;
> set hive.vectorized.execution.enabled=false;
> select Cast(`test13`.`price_cut_off_datetime` AS date) from test13; <-- produces NULL
> set hive.vectorized.execution.enabled=true;
> select Cast(`test13`.`price_cut_off_datetime` AS date) from test13; <-- produces non-null values
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)