hililiwei commented on PR #7638:
URL: https://github.com/apache/iceberg/pull/7638#issuecomment-1554378252

   > where are those success files stored? How do downstream consumers find 
them?
   
   This file is stored under the partition directory, such as 
/path/iceberg_table/data/dt=20220101/_SUCCESS
   
   >How does work with entropy enabled?
   https://iceberg.apache.org/docs/latest/aws/#object-store-file-layout
   
   The same way as HDFS, We use the following method to create this file:
   ```
       String successFileCommitPath =
           table.locationProvider().newDataLocation(table.spec(), partitionKey, 
successFileName);
   
       try (FileIO io = table.io()) {
         io.newOutputFile(successFileCommitPath).createOrOverwrite().close();
       } catch (IOException e) {
         throw new RuntimeException(e);
       }
   ```
   I may not have fully understood what you mean.
   
   
   


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


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

Reply via email to