exyi / pg2parquet

Export PostgreSQL table or query into Parquet file
Apache License 2.0
57 stars 11 forks source link

GH workflows aren't uploading all artifacts #6

Closed piraka9011 closed 1 year ago

piraka9011 commented 1 year ago

See any of the runs and notice only one system artifact is created. The logs for the upload-artifact action show

No files were found with the provided path: output_dir/pg2parquet. No artifacts will be uploaded.

I also can't install this from cargo:

$ cargo install pg2parquet

    Updating crates.io index
error: could not find `pg2parquet` in registry `crates-io` with version `*`
exyi commented 1 year ago

Thanks for reporting, I think I fixed it here https://github.com/exyi/pg2parquet/actions/runs/5558341715

I published it as a beta version and apparently cargo requires to explicitly specify the version to install a preview:

cargo install pg2parquet@0.1.0-beta.3
piraka9011 commented 1 year ago

Nice, thanks for the quick turn around!

I had to run sudo apt install build-essential on an Ubuntu 22.04 machine to run the cargo install (libm and other packages had to be compiled).

Will test this package out since it seems to solve for some post-processing work we'd like to do on our postgres tables.