[ https://issues.apache.org/jira/browse/SPARK-51514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shreyas updated SPARK-51514: ---------------------------- Description: *unionByName* is in the Scala API since Spark 2.3 (SPARK-21043) It would be nice to have this feature supported in pure SQL as well. For e.g. {code:sql} select a, b from t1 union by name select b, a from t2 {code} was: *unionByName* is in the Scala API in Spark 2.3 It would be nice to have this feature supported in pure SQL as well. For e.g. {code:sql} select a, b from t1 union by name select b, a from t2 {code} > Bring unionByName to SQL > ------------------------ > > Key: SPARK-51514 > URL: https://issues.apache.org/jira/browse/SPARK-51514 > Project: Spark > Issue Type: Improvement > Components: SQL > Affects Versions: 3.5.5 > Reporter: Shreyas > Priority: Major > > *unionByName* is in the Scala API since Spark 2.3 (SPARK-21043) > It would be nice to have this feature supported in pure SQL as well. For e.g. > {code:sql} > select a, b from t1 > union by name > select b, a from t2 > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org