Jorge
01/01/2024, 11:06 PMp
01/03/2024, 6:31 PMp
01/03/2024, 6:32 PMtype: ["null","double"] represent? I mean, why null and doublep
01/03/2024, 6:32 PMJorge
01/03/2024, 7:21 PMJorge
01/03/2024, 7:22 PMparquet {
schemas{
catalog {
field "X" type "double" defaultValue null
field "Y" type "double", "null" defaultValue null
field "Z" type "double", "null" defaultValue null
}
schema "full"
schema "onlyX" fields "X"
schema "XAndY" fields "X", "Y"
}p
01/03/2024, 7:23 PMJorge
01/03/2024, 7:25 PMJorge
01/03/2024, 10:15 PMJorge
01/06/2024, 8:00 PMinclude { fromParquetFile } from 'plugin/nf-parquet'
url = "<s3a://aws-public-blockchain/v1.0/btc/blocks/date=2024-01-06/824538.snappy.parquet>"
Channel.fromParquetFile(url)
| view {"""
Hash: $it.hash
bits: $it.bits
size: $it.size
coinbase param: $it.coinbase_param
number: $it.number
transaction count: $it.transaction_count
date: $it.date
""".stripIndent()
}
(I haven't any idea about what every field means)
nextflow run <http://bitcoin.nf|bitcoin.nf>
N E X T F L O W ~ version 23.10.0
Launching `<http://bitcoin.nf|bitcoin.nf>` [desperate_raman] DSL2 - revision: 8755b8d98a
Hash: 00000000000000000001fa3246b27e63c6aa9ee666c6b1009f6399db945eedf2
bits: 1703e8b3
size: 2075635
coinbase param: 03da940c194d696e656420627920416e74506f6f6c207a001306fa016061fabe6d6d2bb8ef668ab3cf9a781f76488c6c8d87ce7c45607825b3599266e0fd0b089efa10000000000000000000d7c4e967010000000000
number: 824538
transaction count: 2814
date: 2024-01-06
Main problem is hadoop library I'm using for s3 has a lot of dependencies so I need to review all of them and exclude not required libs