pitrou commented on issue #47252: URL: https://github.com/apache/arrow/issues/47252#issuecomment-3266773591
I have a debug build of git main and I can't reproduce: ```python >>> import pyarrow as pa ...: from datetime import datetime ...: ...: tables = [ ...: pa.Table.from_pydict( ...: { ...: "date": [datetime(2020, 1, 1)], ...: "variable": ["aapl"], ...: "price": [110], ...: } ...: ), ...: pa.Table.from_pydict( ...: { ...: "date": [datetime(2020, 1, 1)], ...: "variable": ["tlsa"], ...: "price": [220], ...: } ...: ), ...: ] >>> unpivoted = pa.concat_tables(tables) >>> unpivoted pyarrow.Table date: timestamp[us] variable: string price: int64 ---- date: [[2020-01-01 00:00:00.000000],[2020-01-01 00:00:00.000000]] variable: [["aapl"],["tlsa"]] price: [[110],[220]] >>> unpivoted.sort_by([("date", "ascending"), ("variable", "ascending")]) pyarrow.Table date: timestamp[us] variable: string price: int64 ---- date: [[2020-01-01 00:00:00.000000,2020-01-01 00:00:00.000000]] variable: [["aapl","tlsa"]] price: [[110,220]] ``` -- 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-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org