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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]