Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22197#discussion_r213596588
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetReadSupport.scala
 ---
    @@ -65,17 +65,19 @@ private[parquet] class ParquetReadSupport(val 
convertTz: Option[TimeZone])
        * readers.  Responsible for figuring out Parquet requested schema used 
for column pruning.
        */
       override def init(context: InitContext): ReadContext = {
    +    val conf = context.getConfiguration
    +
         catalystRequestedSchema = {
    --- End diff --
    
    This is created but not used?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to