Z1Wu commented on issue #6673:
URL: 
https://github.com/apache/incubator-gluten/issues/6673#issuecomment-2264389926

   > ```
   > SELECT if(user_type <> -1 ,user_id ,null) as a
   > from table
   > where partition_date='2024-07-01' order by a desc limit 10; 
   > ```
   > 
   > Gluten Result:
   > 
   > ```
   > gluten
   > NULL
   > NULL
   > NULL
   > NULL
   > NULL
   > NULL
   > NULL
   > NULL
   > NULL
   > NULL
   > ```
   > 
   > Vanilla Result
   > 
   > ```
   > vanilla
   > dp_765265243
   > dp_71942892
   > dp_71942892
   > dp_71942892
   > dp_71942892
   > dp_71942892
   > dp_3779112707
   > dp_3778736486
   > dp_3778655687
   > dp_3778588244
   > ```
   
   If the the old table's orc files lack of column name, it may be the same 
problem as https://github.com/apache/incubator-gluten/issues/5638
   
   You can set `spark.gluten.sql.columnar.backend.velox.orc.scan.enabled=true` 
to fallback to vanilla orc scan operator as a  workaround , but it may cause 
performance degradation.


-- 
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]

Reply via email to