cloud-fan commented on code in PR #42099:
URL: https://github.com/apache/spark/pull/42099#discussion_r1270668613


##########
sql/core/src/test/scala/org/apache/spark/sql/connector/DataSourceV2Suite.scala:
##########
@@ -686,6 +708,26 @@ class SimpleSinglePartitionSource extends TestingV2Source {
   }
 }
 
+class ScanDefinedColumnarSupport extends TestingV2Source {
+
+  class MyScanBuilder(st: Scan.ColumnarSupportType) extends SimpleScanBuilder {
+    override def planInputPartitions(): Array[InputPartition] = {
+      throw new IllegalArgumentException("planInputPartitions must not be 
called")
+    }
+
+    override def supportsColumnar()
+        : Scan.ColumnarSupportType = st

Review Comment:
   ```suggestion
       override def supportsColumnar(): Scan.ColumnarSupportType = st
   ```



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