Re: [Discuss] Print un-pretty metadata JSON files without whitespace

2025-02-17 Thread Ian Streeter
ould be an easy optimization, and I agree that making them easily > consumable by humans afterward is trivial. FWIW, PyIceberg also produces > unpretty JSON. > > Kind regards, > Fokko > > > Op ma 17 feb 2025 om 16:48 schreef Ian Streeter : > >> Currently, metadata files a

[Discuss] Print un-pretty metadata JSON files without whitespace

2025-02-17 Thread Ian Streeter
Currently, metadata files are pretty-printed, with lots of new-lines and whitespace indentations. This is the relevant line of code, which uses the Jackson default pretty printer: https://github.com/apache/iceberg/blob/abb47830e7df7dc2ae93c74b0ad97f06cdd37aad/core/src/main/java/org/apache/iceberg