Github user yhuai commented on a diff in the pull request:

    https://github.com/apache/spark/pull/1439#discussion_r15068484
  
    --- Diff: 
sql/hive/src/main/scala/org/apache/spark/sql/hive/TableReader.scala ---
    @@ -156,33 +158,43 @@ class HadoopTableReader(@transient _tableDesc: 
TableDesc, @transient sc: HiveCon
           }
     
           // Create local references so that the outer object isn't serialized.
    -      val tableDesc = _tableDesc
    +      val tableDesc = relation.tableDesc
           val broadcastedHiveConf = _broadcastedHiveConf
           val localDeserializer = partDeserializer
    +      val mutableRow = new GenericMutableRow(attributes.length)
    +
    +      // split the attributes (output schema) into 2 categories:
    +      // (partition keys, ordinal), (normal attributes, ordinal), the 
ordinal mean the 
    +      // position of the in the output Row.
    --- End diff --
    
    position of the attribute?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to