wForget commented on code in PR #2425:
URL: https://github.com/apache/datafusion-comet/pull/2425#discussion_r2422837552
##########
spark/src/test/scala/org/apache/comet/CometCastSuite.scala:
##########
@@ -1046,6 +1046,29 @@ class CometCastSuite extends CometTestBase with
AdaptiveSparkPlanHelper {
castTest(generateDecimalsPrecision10Scale2(),
DataTypes.createDecimalType(10, 0))
}
+ test("cast ArrayType to StringType") {
+ val scanImpl = sys.env
+ .getOrElse(
+ "COMET_PARQUET_SCAN_IMPL",
+ conf.getConfString(CometConf.COMET_NATIVE_SCAN_IMPL.key,
"native_comet"))
+ val isNativeCometScan = scanImpl == "native_comet"
Review Comment:
This appears to always be true, because `COMET_NATIVE_SCAN_IMPL` is never
set in SQLConf (the default value of COMET_NATIVE_SCAN_IMPL is changed in GHA
via environment variable).
--
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]