Ethereum Schema
Blocks
CREATE EXTERNAL TABLE `eth.blocks`(
`timestamp` timestamp,
`number` bigint,
`hash` string,
`parent_hash` string,
`nonce` string,
`sha3_uncles` string,
`logs_bloom` string,
`transactions_root` string,
`state_root` string,
`receipts_root` string,
`miner` string,
`difficulty` double,
`total_difficulty` double,
`size` bigint,
`extra_data` string,
`gas_limit` bigint,
`gas_used` bigint,
`transaction_count` bigint,
`base_fee_per_gas` bigint)
PARTITIONED BY (
`date` string)
ROW FORMAT SERDE
'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe'
STORED AS INPUTFORMAT
'org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat'
OUTPUTFORMAT
'org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat'
LOCATION
's3://aws-public-blockchain/v1.0/eth/blocks'
TBLPROPERTIES (
)Transactions
Contracts
Logs
Token_transfers
Traces
Last updated