comphead commented on code in PR #4758:
URL: https://github.com/apache/datafusion-comet/pull/4758#discussion_r3494294397
##########
spark/src/main/scala/org/apache/comet/rules/CometScanRule.scala:
##########
@@ -127,8 +127,10 @@ case class CometScanRule(session: SparkSession)
case scan if !CometConf.COMET_NATIVE_SCAN_ENABLED.get(conf) =>
withFallbackReason(scan, "Comet Scan is not enabled")
- case scan if hasMetadataCol(scan) =>
- withFallbackReason(scan, "Metadata column is not supported")
+ case scan if hasMetadataCol(scan).nonEmpty =>
+ withFallbackReason(
+ scan,
+ s"Metadata column ${hasMetadataCol(scan).mkString(", ")} is not
supported")
Review Comment:
```suggestion
s"Metadata column(s) ${hasMetadataCol(scan).mkString(", ")} is not
supported")
```
--
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]