RussellSpitzer commented on issue #2068:
URL: https://github.com/apache/iceberg/issues/2068#issuecomment-758704781


   I was thinking something like
   
   **add_files**.(**table** => "db.sample", **directory** => 
"/some/dir/files/", **reader** => "parquet")
   
   **Table **= "The iceberg table we are adding files to"
   **Directory** = "The source directory where the files are located"
   **Format** = "The reader used with these files (parquet, orc, avro ...)
   
   I believe the output should be something like
   
   | Partition | Files Added |
   | --------------  | ------------|
   | "Foo", "1"          | 5                 |
   | "Foo", "2"         |  6               |
   
   This command would basically go through all of the files under the provided 
directory, and add them all directly to the table. The files would not be read 
of scanned so it would be up to the user to only add files with correct columns 
or to adjust the table column mapping to match. 
   
   


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

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to