ldwnt commented on issue #4802:
URL: https://github.com/apache/iceberg/issues/4802#issuecomment-1136678474

   > The target size property in Iceberg is write.target-file-size-bytes
   
   tried but it seems not working. the actual size of data file is beyond the 
value of parameter 'write.target-file-size-bytes'
   
   ddl:
   ```
   CREATE TABLE ...  (
   ...
   ) PARTITIONED BY (`dataset`) WITH (
       'format-version'='2',
       'engine.hive.enabled'='true',
       'write.metadata.delete-after-commit.enabled'='true',
       'write.metadata.previous-versions-max'='5',
       'write.target-file-size-bytes'='1024'
   );
   ```
   
   metadata file:
   ```
   {
   ...
        "data_file": {
                "file_format": "PARQUET",
                "partition": {
                        "dataset": {
                                "string": "test.aa"
                        }
                },
                "record_count": 1124,
                "file_size_in_bytes": 8663,
   ...
   }
   ```


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