hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jitendra Nath Pandey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-7424) HiveException: Error evaluating concat(concat(' ', str2), ' ') in ql.exec.vector.VectorSelectOperator.processOp
Date Mon, 21 Jul 2014 22:18:38 GMT

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

Jitendra Nath Pandey commented on HIVE-7424:
--------------------------------------------

I was wondering whether we should really print the stacktrace when the date string doesn't
parse correctly. It is possible that there are lots of bad input records and it might cause
millions of stacktaces or log lines. 

The patch looks good otherwise. +1

> HiveException: Error evaluating concat(concat('      ', str2), '      ') in ql.exec.vector.VectorSelectOperator.processOp
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-7424
>                 URL: https://issues.apache.org/jira/browse/HIVE-7424
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Matt McCline
>            Assignee: Matt McCline
>         Attachments: HIVE-7424.1.patch, TestWithORC.zip, fail_401.sql
>
>
> One of several found by Raj Bains.
> M/R or Tez.
> {code}
> set hive.vectorized.execution.enabled=true;
> {code}
> Query:
> {code}
> SELECT `testv1_Calcs`.`key` AS `none_key_nk`,   CONCAT(CONCAT('      ',`testv1_Calcs`.`str2`),'
     ') AS `none_padded_str2_nk`,   CONCAT(CONCAT('|',RTRIM(CONCAT(CONCAT('      ',`testv1_Calcs`.`str2`),'
     '))),'|') AS `none_z_rtrim_str_nk` FROM `default`.`testv1_Calcs` `testv1_Calcs` ;
> {code}
> Stack trace:
> {code}
> Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: Error evaluating concat(concat('
     ', str2), '      ')
> 	at org.apache.hadoop.hive.ql.exec.vector.VectorSelectOperator.processOp(VectorSelectOperator.java:127)
> 	at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:800)
> 	at org.apache.hadoop.hive.ql.exec.TableScanOperator.processOp(TableScanOperator.java:95)
> 	at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:800)
> 	at org.apache.hadoop.hive.ql.exec.vector.VectorMapOperator.process(VectorMapOperator.java:43)
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message