westonpace commented on issue #35424:
URL: https://github.com/apache/arrow/issues/35424#issuecomment-1538967610
AFAIK, there is no way for Arrow to consistently determine the correct
order. In Arrow, columns are allowed to have duplicate names so something like
this would be allowed:
```
tab1 = pa.Table.from_pydict({
"col": [1,2,3,4,5],
"col": [6, 7, 8, 9, 10],
})
tab2 = pa.Table.from_pydict({
"col": [6, 7, 8, 9,10],
"col": [1,2,3,4,5],
})
```
Two tables with different schemas can't be combined. You will need to
normalize the schema in your code (or perhaps pandas) before providing it to
Arrow.
--
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]