mshauneu commented on issue #1239: URL: https://github.com/apache/datafusion-ballista/issues/1239#issuecomment-2802926137
Data is big to attache. You can generate it locally by: 1. Download: ``` seq -w 01 12 | xargs -I {} wget "https://d37ci6vzurychx.cloudfront.net/trip-data/yellow_tripdata_2011-{}.parquet" seq -w 01 12 | xargs -I {} wget "https://d37ci6vzurychx.cloudfront.net/trip-data/yellow_tripdata_2012-{}.parquet" ``` 2. Convert using `duckdb`: ``` COPY (SELECT VendorID, tpep_pickup_datetime, tpep_dropoff_datetime, passenger_count, trip_distance, RatecodeID, store_and_fwd_flag, PULocationID, DOLocationID, payment_type, fare_amount, extra, mta_tax, tip_amount, tolls_amount, improvement_surcharge, total_amount, year(tpep_pickup_datetime) as year, month(tpep_pickup_datetime) as month FROM 'btaxi/*.parquet') TO 'bhive' (FORMAT parquet, COMPRESSION zstd, PARTITION_BY (year, month), OVERWRITE_OR_IGNORE, FILENAME_PATTERN 'trips_{i}'); ```` -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org