Created
July 13, 2025 21:11
-
-
Save apcamargo/7511a4a89b224ccaa6e4e349de0f768a to your computer and use it in GitHub Desktop.
Query SRA metadata stored as Parquet files in S3 using DuckDB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
duckdb -c " | |
INSTALL httpfs; | |
LOAD httpfs; | |
INSTALL parquet; | |
LOAD parquet; | |
COPY ( | |
SELECT * | |
FROM read_parquet('s3://sra-pub-metadata-us-east-1/sra/metadata/*') | |
) TO STDOUT WITH (FORMAT CSV, DELIMITER E'\t', HEADER);" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment