LinSimon-901101 commented on code in PR #7155:
URL: https://github.com/apache/datafusion-comet/pull/7155#discussion_r4771779098


##########
spark/src/main/scala/org/apache/spark/sql/comet/CometSparkToColumnarExec.scala:
##########
@@ -132,6 +135,73 @@ case class CometSparkToColumnarExec(child: SparkPlan)
 
 object CometSparkToColumnarExec extends CometSink[SparkPlan] with 
DataTypeSupport {
 
+  private object RowTypeSupport extends DataTypeSupport with CometTypeShim
+
+  // RowArrowReader recursively writes the collection types supported by 
DataTypeSupport.
+  def isRowSchemaSupported(schema: StructType, fallbackReasons: 
ListBuffer[String]): Boolean =
+    RowTypeSupport.isSchemaSupported(schema, fallbackReasons)

Review Comment:
   I removed the dedicated check and switched to `isSchemaSupported`, keeping 
the `CalendarIntervalType` override.



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

Reply via email to