the-other-tim-brown commented on code in PR #17904:
URL: https://github.com/apache/hudi/pull/17904#discussion_r2736590344


##########
hudi-client/hudi-spark-client/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/HoodieParquetFileFormatHelper.scala:
##########
@@ -174,24 +175,55 @@ object HoodieParquetFileFormatHelper {
       }
     }
 
-    if (typeChangeInfos.isEmpty) {
-      GenerateUnsafeProjection.generate(fullSchema, fullSchema)
+    def generateProjectionWithPadding(): UnsafeProjection = {

Review Comment:
   The padding is only required in Lance right now so why not make this part of 
the lance reader and leave this method to only perform the type promotion?



-- 
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]

Reply via email to