File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
spark/src/test/scala/org/apache/comet Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -776,11 +776,12 @@ class CometArrayExpressionSuite extends CometTestBase with AdaptiveSparkPlanHelp
776776
777777 // https://github.com/apache/datafusion-comet/issues/2612
778778 test(" array_reverse - fallback for binary array" ) {
779- val fallbackReason = if (CometConf .COMET_NATIVE_SCAN_IMPL .key == " native_scan" ) {
780- " Unsupported schema"
781- } else {
782- CometArrayReverse .unsupportedReason
783- }
779+ val fallbackReason =
780+ if (CometConf .COMET_NATIVE_SCAN_IMPL .key == CometConf .SCAN_NATIVE_COMET ) {
781+ " Unsupported schema"
782+ } else {
783+ CometArrayReverse .unsupportedReason
784+ }
784785 withTable(" t1" ) {
785786 sql(""" create table t1 using parquet as
786787 select cast(null as array<binary>) c1, cast(array() as array<binary>) c2
You can’t perform that action at this time.
0 commit comments