記事:
brew install parquet-cli
例: AWS CUR(Cost Usage Report) のファイルを見る
parq monthly-00001.snappy.parquet # Metadata <pyarrow._parquet.FileMetaData object at 0x***> created_by: parquet-mr version 1.12.3 (build 0010f783b028d48bf3250e2ca7f0e882e30c06a9) num_columns: *** num_rows: *** num_row_groups: * format_version: 1.0 serialized_size: *
parq monthly-00001.snappy.parquet --schema # Schema <pyarrow._parquet.ParquetSchema object at 0x***> required group field_id=-1 spark_schema { optional binary field_id=-1 identity_line_item_id (String); required binary field_id=-1 identity_time_interval (String); optional binary field_id=-1 bill_invoice_id (String); ...
parq monthly-00001.snappy.parquet --tail 10 ... resource_tags_aws_created_by \ 12313 IAMUser:***:*** 12314 AssumedRole:***:*** ...
PukiWiki 1.5.3 © 2001-2020 PukiWiki Development Team. Powered by PHP 7.4.33. HTML convert time: 0.093 sec.