zliucd opened a new issue, #41858:
URL: https://github.com/apache/arrow/issues/41858

   ### Describe the usage question you have. Please include as many useful 
details as  possible.
   
   
   Hi,
   
   It's possible to write multiple tables in a single parquet by appending each 
rows from individual parquet?  All tables read from parquets have same columns. 
  This functionality is similar to Python ```dataframe.concat([df1, df2])```.
   
   
   For example:
   ```
   table1
   Name   Age
   Jim     36
   Bill      30
   
   table2
   Name   Age
   Sam    28
   Joe     30
   ```
   
   The concatenated table and parquet file should be:
   ```
   Name   Age
   Jim       36
   Bill        30
   Sam      28
   Joe       30
   ```
   
   We can concatenate tables using ```auto con_tables = 
arrow::ConcatenateTables```, but it's not possible to write ```con_tables``` 
using ```parquet::arrow::WriteTable()```.    The first param of WriteTable()  
is a single ```arrow::Table```.
   
   This post shows how to merge tables by appending columns, but my context is 
appending rows. 
   https://stackoverflow.com/questions/71183352/merging-tables-in-apache-arrow
   
   Thanks.
   
   ### Component(s)
   
   C++


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