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

Edward Capriolo commented on HIVE-4537:
---------------------------------------


1) Replace cookie string "mapred.input.dir" which a constant/ enum 
{quote}
      job.set("mapred.input.dir", 
org.apache.hadoop.util.StringUtils.escapeString(currPath
           .toString()));
{quote}

2) Comments are nice but we should have a .q test to prevent future regressions.
{quote}  
+      // Fetch operator is not vectorized and as such turn vectorization flag 
off so that
+      // non-vectorized record reader is created below.
+      HiveConf.setBoolVar(job, HiveConf.ConfVars.HIVE_VECTORIZATION_ENABLED, 
false);
+
       PartitionDesc partDesc;
       if (currTbl == null) {
         partDesc = currPart;
{quote}
                
> select * fails on orc table when vectorization is enabled 
> ----------------------------------------------------------
>
>                 Key: HIVE-4537
>                 URL: https://issues.apache.org/jira/browse/HIVE-4537
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Query Processor
>            Reporter: Tony Murphy
>            Assignee: Sarvesh Sakalanaga
>         Attachments: Hive-4537.0.patch
>
>
> hive> select * from intdataorc;
> OK
> Failed with exception 
> java.io.IOException:org.apache.hadoop.hive.ql.metadata.HiveException: Error 
> evaluating cint0
> Time taken: 0.213 seconds

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to