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/03/25 04:43:09 UTC

[GitHub] [arrow-datafusion] Ted-Jiang opened a new issue #2083: Error occurs when using union in query

Ted-Jiang opened a new issue #2083:
URL: https://github.com/apache/arrow-datafusion/issues/2083


   **Describe the bug**
   in pg
   ```
   postgres=# select 1 union select 2;
    ?column?
   ----------
           1
           2
   (2 rows)
   ```
   in df
   ```
   ❯ select 1;
   +----------+
   | Int64(1) |
   +----------+
   | 1        |
   +----------+
   1 row in set. Query took 0.002 seconds.
   ❯ select 2;
   +----------+
   | Int64(2) |
   +----------+
   | 2        |
   +----------+
   1 row in set. Query took 0.001 seconds.
   ❯ select 1 union select 2;
   Plan("UNION ALL schemas are expected to be the same")
   
   ```
   I think there two problems:
   1. can not get result.
   2. use `union` but get `UNION ALL`: i think they are totaly different 
   
   related to #2032 
   **To Reproduce**
   Steps to reproduce the behavior:
   
   **Expected behavior**
   A clear and concise description of what you expected to happen.
   
   **Additional context**
   Add any other context about the problem here.
   


-- 
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



[GitHub] [arrow-datafusion] Ted-Jiang commented on issue #2083: Error occurs when using union in query

Posted by GitBox <gi...@apache.org>.
Ted-Jiang commented on issue #2083:
URL: https://github.com/apache/arrow-datafusion/issues/2083#issuecomment-1078651896


   I will try to fix this😊


-- 
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



[GitHub] [arrow-datafusion] xudong963 commented on issue #2083: Error occurs when using union in query

Posted by GitBox <gi...@apache.org>.
xudong963 commented on issue #2083:
URL: https://github.com/apache/arrow-datafusion/issues/2083#issuecomment-1078728831


   @Ted-Jiang I think there is a duplicate issue: https://github.com/apache/arrow-datafusion/issues/1818


-- 
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



[GitHub] [arrow-datafusion] Ted-Jiang commented on issue #2083: Error occurs when using union in query

Posted by GitBox <gi...@apache.org>.
Ted-Jiang commented on issue #2083:
URL: https://github.com/apache/arrow-datafusion/issues/2083#issuecomment-1078758843


   > @Ted-Jiang I think there is a duplicate issue: #1818
   
   Thanks for your info❤️


-- 
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