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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]