{"push_id":2893480882,"size":2,"distinct_size":2,"ref":"refs/heads/branch-2.4","head":"78dd1d859b6b9976653bb33413a5c58906c9b627","before":"e07042a3593199f5045e1476b6b324f7f0901143","commits":[{"sha":"b3bdfd7f102eb79d111e096baa923926f6ccf7a2","author":{"name":"Liang-Chi Hsieh","email":"d24118b4297e1ecf0c990d6935f5f9e6e4fd7701@gmail.com"},"message":"Revert [SPARK-19355][SPARK-25352]\n\n## What changes were proposed in this pull request?\n\nThis goes to revert sequential PRs based on some discussion and comments at https://github.com/apache/spark/pull/16677#issuecomment-422650759.\n\n#22344\n#22330\n#22239\n#16677\n\n## How was this patch tested?\n\nExisting tests.\n\nCloses #22481 from viirya/revert-SPARK-19355-1.\n\nAuthored-by: Liang-Chi Hsieh <viirya@gmail.com>\nSigned-off-by: Wenchen Fan <wenchen@databricks.com>\n(cherry picked from commit 89671a27e783d77d4bfaec3d422cc8dd468ef04c)\nSigned-off-by: Wenchen Fan <wenchen@databricks.com>","distinct":true,"url":"https://api.github.com/repos/ueshin/apache-spark/commits/b3bdfd7f102eb79d111e096baa923926f6ccf7a2"},{"sha":"78dd1d859b6b9976653bb33413a5c58906c9b627","author":{"name":"Dilip Biswal","email":"ee7669731148a67ed053406d4e2088f2bc2c2de0@us.ibm.com"},"message":"[SPARK-25417][SQL] ArrayContains function may return incorrect result when right expression is implicitly down casted\n\n## What changes were proposed in this pull request?\nIn ArrayContains, we currently cast the right hand side expression to match the element type of the left hand side Array. This may result in down casting and may return wrong result or questionable result.\n\nExample :\n```SQL\nspark-sql> select array_contains(array(1), 1.34);\ntrue\n```\n```SQL\nspark-sql> select array_contains(array(1), 'foo');\nnull\n```\n\nWe should safely coerce both left and right hand side expressions.\n## How was this patch tested?\nAdded tests in DataFrameFunctionsSuite\n\nCloses #22408 from dilipbiswal/SPARK-25417.\n\nAuthored-by: Dilip Biswal <dbiswal@us.ibm.com>\nSigned-off-by: Wenchen Fan <wenchen@databricks.com>\n(cherry picked from commit 67f2c6a55425d0f38e26caaf7e0b665d978d0a68)\nSigned-off-by: Wenchen Fan <wenchen@databricks.com>","distinct":true,"url":"https://api.github.com/repos/ueshin/apache-spark/commits/78dd1d859b6b9976653bb33413a5c58906c9b627"}]}
{"actor":{"display_login":"ueshin"}}