Skip to content

Commit 0ee4ec8

Browse files
committed
Integrate changes from #4251.
1 parent 7cd2eec commit 0ee4ec8

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

spark/src/main/scala/org/apache/comet/planner/gates/V2ScanClassifier.scala

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,7 @@ object V2ScanClassifier extends Logging with ShimSubqueryBroadcast {
8080
case scan: CSVScan if COMET_CSV_V2_NATIVE_ENABLED.get(conf) =>
8181
classifyCsv(scan, scanExec)
8282

83-
case _
84-
if scanExec.scan.getClass.getName ==
85-
"org.apache.iceberg.spark.source.SparkBatchQueryScan" =>
83+
case _ if IcebergReflection.isIcebergScanClass(scanExec.scan.getClass.getName) =>
8684
classifyIceberg(scanExec, conf)
8785

8886
case other =>

0 commit comments

Comments
 (0)