wgtmac commented on issue #34262:
URL: https://github.com/apache/arrow/issues/34262#issuecomment-1458208652

   > @wgtmac I get no errors on `writer.write()` call as seen previously. Also, 
readback of the written data looks as expected to me:
   > 
   > ```
   > >>> table = orc.read_table('union1.orc')
   > >>> table
   > pyarrow.Table
   > name: string
   > timestamp: timestamp[ns]
   > value: sparse_union<_union_0: int64=0, _union_1: double=1, _union_2: 
string=2>
   >   child 0, _union_0: int64
   >   child 1, _union_1: double
   >   child 2, _union_2: string
   > ----
   > name: [["row1","row2","row3","row4","row5","row6"]]
   > timestamp: [[2022-07-15 12:40:13.439549952,2022-07-15 
12:40:13.439546880,2023-02-08 09:13:32.287076352,2023-02-08 
09:13:32.587076352,2022-07-07 14:23:10.092787968,2022-07-15 12:40:13.839546624]]
   > value: [  -- is_valid: all not null  -- type_ids: [1,1,0,0,2,1]
   >   -- child 0 type: int64
   > [null,null,5,53,null,null]
   >   -- child 1 type: double
   > [0.011021,-32580,null,null,null,-33580]
   >   -- child 2 type: string
   > [null,null,null,null,"3.10.0",null]]
   > ```
   > 
   > Great job! Thank you for such a quick resolution of this issue.
   
   Thanks for your confirmation! Good to know it works.


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

Reply via email to