viirya commented on code in PR #1106: URL: https://github.com/apache/datafusion-comet/pull/1106#discussion_r1850879528
########## spark/src/main/scala/org/apache/comet/serde/QueryPlanSerde.scala: ########## @@ -2521,9 +2524,12 @@ object QueryPlanSerde extends Logging with ShimQueryPlanSerde with CometExprShim new SparkToParquetSchemaConverter(conf).convert(scan.requiredSchema) val dataSchemaParquet = new SparkToParquetSchemaConverter(conf).convert(scan.relation.dataSchema) + val partitionSchemaParquet = + new SparkToParquetSchemaConverter(conf).convert(scan.relation.partitionSchema) Review Comment: This copies from existing code. Actually, I can just convert the Spark schema to Arrow types in JVM and serialize it to native side. I did similar thing in shuffle writer. Then we won't lose any information. -- 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. To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org