suheng.cloud created SPARK-36706:
------------------------------------

             Summary: OverwriteByExpression conversion in DataSourceV2Strategy 
use wrong deleteExpr translation
                 Key: SPARK-36706
                 URL: https://issues.apache.org/jira/browse/SPARK-36706
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 3.1.2
            Reporter: suheng.cloud


spark version release-3.1.2

we develop a hive datasource v2 plugin to support join among multiple hive 
clusters.
find that there maybe a bug in OverwriteByExpression conversion

code debug at 
https://github.com/apache/spark/blob/de351e30a90dd988b133b3d00fa6218bfcaba8b8/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/v2/DataSourceV2Strategy.scala#L216

where wrong param `deletExpr` used, which will result in duplicate filters



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to