hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aihua Xu (JIRA)" <>
Subject [jira] [Created] (HIVE-13854) select INPUT__FILE__NAME fails from the join query
Date Wed, 25 May 2016 20:56:12 GMT
Aihua Xu created HIVE-13854:

             Summary: select INPUT__FILE__NAME fails from the join query
                 Key: HIVE-13854
             Project: Hive
          Issue Type: Bug
          Components: Query Processor
            Reporter: Aihua Xu
            Assignee: Aihua Xu

The query {{select t1.INPUT__FILE__NAME from src t1 join src t2 limit 1;}} fails with the
following exception
java.lang.RuntimeException: cannot find field input__file__name from [0:key, 1:value]
        at org.apache.hadoop.hive.serde2.objectinspector.ObjectInspectorUtils.getStandardStructFieldRef(
        at org.apache.hadoop.hive.serde2.BaseStructObjectInspector.getStructFieldRef(
        at org.apache.hadoop.hive.ql.exec.ExprNodeColumnEvaluator.initialize(
        at org.apache.hadoop.hive.ql.exec.Operator.initEvaluators(
        at org.apache.hadoop.hive.ql.exec.Operator.initEvaluatorsAndReturnStruct(
        at org.apache.hadoop.hive.ql.exec.SelectOperator.initializeOp(
        at org.apache.hadoop.hive.ql.exec.Operator.initialize(
        at org.apache.hadoop.hive.ql.exec.Operator.initialize(
        at org.apache.hadoop.hive.ql.exec.Operator.initializeChildren(
        at org.apache.hadoop.hive.ql.exec.Operator.initialize(
when is set to true.

The workaround is to set to false.

This message was sent by Atlassian JIRA

View raw message