We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83594fb commit c1d2635Copy full SHA for c1d2635
1 file changed
gluten-substrait/src/main/scala/org/apache/gluten/config/GlutenConfig.scala
@@ -584,7 +584,9 @@ object GlutenConfig extends ConfigRegistry {
584
// reads columns back as null/empty. Override the (Velox) orcUseColumnNames session conf
585
// so native reads ORC by position too. Harmless for backends that ignore this key.
586
// String literal is used because gluten-substrait cannot depend on backends-velox.
587
- if (conf.getOrElse(SPARK_ORC_FORCE_POSITIONAL_EVOLUTION, "false").toBoolean) {
+ if (
588
+ backendName == "velox" &&
589
+ conf.getOrElse(SPARK_ORC_FORCE_POSITIONAL_EVOLUTION, "false").toBoolean) {
590
nativeConfMap.put("spark.gluten.sql.columnar.backend.velox.orcUseColumnNames", "false")
591
}
592
0 commit comments