yihua commented on code in PR #13223:
URL: https://github.com/apache/hudi/pull/13223#discussion_r2076463582


##########
hudi-client/hudi-spark-client/src/main/scala/org/apache/hudi/SparkFileFormatInternalRowReaderContext.scala:
##########
@@ -245,6 +241,8 @@ class 
SparkFileFormatInternalRowReaderContext(parquetFileReader: SparkParquetRea
         override def next(): Any = {
           (skeletonFileIterator.next(), dataFileIterator.next()) match {
             case (s: ColumnarBatch, d: ColumnarBatch) =>
+              ValidationUtils.checkState(partitionFieldAndValues.isEmpty,
+                "Columnar reads do not support bootstrap partitioning")

Review Comment:
   After a second thought, this is incurred per column batch, so it will add 
more overhead.  If we couldn't make the validation once per instantiation of 
the iterator, let's remove this check here.



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