spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From concretevitamin <>
Subject [GitHub] spark pull request: [SPARK-2443][SQL] Fix slow read from partition...
Date Mon, 14 Jul 2014 20:46:13 GMT
Github user concretevitamin commented on a diff in the pull request:
    --- Diff: sql/hive/src/main/scala/org/apache/spark/sql/hive/TableReader.scala ---
    @@ -157,21 +161,60 @@ class HadoopTableReader(@transient _tableDesc: TableDesc, @transient
sc: HiveCon
           // Create local references so that the outer object isn't serialized.
           val tableDesc = _tableDesc
    +      val tableSerDeClass = tableDesc.getDeserializerClass
           val broadcastedHiveConf = _broadcastedHiveConf
           val localDeserializer = partDeserializer
           val hivePartitionRDD = createHadoopRdd(tableDesc, inputPathStr, ifc)
    -      hivePartitionRDD.mapPartitions { iter =>
    +      hivePartitionRDD.mapPartitions { case iter =>
    --- End diff --
    It seems the with-case version does have more instructions to do.

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 or file a JIRA ticket
with INFRA.

View raw message