parthchandra commented on code in PR #1376: URL: https://github.com/apache/datafusion-comet/pull/1376#discussion_r1953768242
########## spark/src/test/scala/org/apache/comet/CometCastSuite.scala: ########## @@ -145,88 +145,134 @@ class CometCastSuite extends CometTestBase with AdaptiveSparkPlanHelper { // CAST from ByteType test("cast ByteType to BooleanType") { - castTest(generateBytes(), DataTypes.BooleanType) + val hasIncompatibleType = CometSparkSessionExtensions.isComplexTypeReaderEnabled( + conf) && !CometConf.COMET_SCAN_ALLOW_INCOMPATIBLE.get() Review Comment: Done -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org