[ https://issues.apache.org/jira/browse/SPARK-27160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen updated SPARK-27160: ------------------------------ Priority: Major (was: Blocker) > Incorrect Literal Casting of DecimalType in OrcFilters > ------------------------------------------------------ > > Key: SPARK-27160 > URL: https://issues.apache.org/jira/browse/SPARK-27160 > Project: Spark > Issue Type: Bug > Components: SQL > Affects Versions: 2.4.0 > Reporter: Darcy Shen > Priority: Major > Labels: correctness > > DecimalType Literal should not be casted to Long. > eg. For `df.filter("x < 3.14")`, assuming df (x in DecimalType) reads from a > ORC table and uses the native ORC reader with predicate push down enabled, we > will push down the `x < 3.14` predicate to the ORC reader via a > SearchArgument. > OrcFilters will construct the SearchArgument, but not handle the DecimalType > correctly. > The previous impl will construct `x < 3` from `x < 3.14`. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org