dongjoon-hyun commented on a change in pull request #27780: [SPARK-31026] [SQL] 
Parquet predicate pushdown on columns with dots
URL: https://github.com/apache/spark/pull/27780#discussion_r387376029
 
 

 ##########
 File path: 
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetFilters.scala
 ##########
 @@ -55,10 +55,12 @@ class ParquetFilters(
     // and it does not support to create filters for them.
     val primitiveFields =
     
schema.getFields.asScala.filter(_.isPrimitive).map(_.asPrimitiveType()).map { f 
=>
-      f.getName -> ParquetField(f.getName,
+      import org.apache.spark.sql.connector.catalog.CatalogV2Implicits._
+      quote(f.getName) -> ParquetField(f.getName,
         ParquetSchemaType(f.getOriginalType,
           f.getPrimitiveTypeName, f.getTypeLength, f.getDecimalMetadata))
     }
+    val b = 10
 
 Review comment:
   Maybe, a test left-over? Shall we remove this?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to