You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/04/25 11:05:33 UTC

[GitHub] [arrow-datafusion] gandronchik commented on a diff in pull request #2334: fix: union schema

gandronchik commented on code in PR #2334:
URL: https://github.com/apache/arrow-datafusion/pull/2334#discussion_r857509283


##########
datafusion/core/src/execution/context.rs:
##########
@@ -3243,7 +3243,7 @@ mod tests {
             "SELECT cat, SUM(i) AS total FROM (
                     SELECT i, 'a' AS cat FROM catalog_a.schema_a.table_a
                     UNION ALL
-                    SELECT i, 'b' AS cat FROM catalog_b.schema_b.table_b

Review Comment:
   to cover case when columns names in union inputs are not the same.
   
   example:
   SELECT 1 a UNION ALL SELECT 2;



-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org