From 8108206c1234f9d1e09203d294f4e8649fdd3273 Mon Sep 17 00:00:00 2001 From: Adam Binford Date: Sat, 30 Nov 2024 07:50:37 -0500 Subject: [PATCH] Add comment --- .../main/scala/org/apache/spark/sql/comet/CometScanExec.scala | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spark/src/main/scala/org/apache/spark/sql/comet/CometScanExec.scala b/spark/src/main/scala/org/apache/spark/sql/comet/CometScanExec.scala index 7b6ab9d6a..eb9d5cb31 100644 --- a/spark/src/main/scala/org/apache/spark/sql/comet/CometScanExec.scala +++ b/spark/src/main/scala/org/apache/spark/sql/comet/CometScanExec.scala @@ -505,6 +505,8 @@ object CometScanExec extends DataTypeSupport { } def isFileFormatSupported(fileFormat: FileFormat): Boolean = { + // Only support Spark's built-in Parquet scans, not others such as Delta which use a subclass + // of ParquetFileFormat. fileFormat.getClass().equals(classOf[ParquetFileFormat]) } }