ad1happy2go commented on issue #12169:
URL: https://github.com/apache/hudi/issues/12169#issuecomment-2441168692

   @soumilshah1995 Did you used try to see the compression on this files?
   They should be gzip. you can use parquet-tools or try like below - 
   ```
   import pyarrow.parquet as pq
   
   # Specify the path to your Parquet file
   parquet_file = 'your_file.parquet'
   
   # Read the metadata
   metadata = pq.read_metadata(parquet_file)
   
   # Print overall metadata
   print(metadata)
   
   # Iterate through the row groups and print compression information
   for i in range(metadata.num_row_groups):
       row_group_metadata = metadata.row_group(i)
       print(f'Row Group {i}:')
       for j in range(row_group_metadata.num_columns):
           column_metadata = row_group_metadata.column(j)
           print(f'  Column {j}:')
           print(f'    Compression: {column_metadata.compression}')
   
   ```
   


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