You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempted to convert simple csv using simplest invocation as I want all rows and columns
> csv2parquet a.csv
Traceback (most recent call last):
File "/home/xxx/.local/share/virtualenvs/csv2parquet-tyfa8dfH/bin/csv2parquet", line 8, in <module>
sys.exit(main())
File "/home/xxx/.local/share/virtualenvs/csv2parquet-tyfa8dfH/lib/python3.6/site-packages/csv2parquet/csv2parquet.py", line 247, in main
main_with_args(convert, sys.argv[1:])
File "/home/xxx/.local/share/virtualenvs/csv2parquet-tyfa8dfH/lib/python3.6/site-packages/csv2parquet/csv2parquet.py", line 244, in main_with_args
args.type)
File "/home/xxx/.local/share/virtualenvs/csv2parquet-tyfa8dfH/lib/python3.6/site-packages/csv2parquet/csv2parquet.py", line 157, in convert
for x in range(len(fields)) if keep[x]]
File "/home/xxx/.local/share/virtualenvs/csv2parquet-tyfa8dfH/lib/python3.6/site-packages/csv2parquet/csv2parquet.py", line 157, in <listcomp>
for x in range(len(fields)) if keep[x]]
AttributeError: module 'pyarrow' has no attribute 'Column'
I might have time to look at patching this to use the new interfaces this weekend, or failing that, the next. Someone submitted a PR for another project of mine to upgrade it, and it doesn't look too big of a change.
If you need to get unblocked in the interim, you could clone the repo and patch the Pipfile to use a specific, older version of pyarrow.
Thanks for this useful tool!
Not sure if this an error or I am doing something wrong?
Created an new virualenv
pipenv shell
Installed requirements
pipenv install --skip-lock pyarrow csv2parquet
Attempted to convert simple csv using simplest invocation as I want all rows and columns
python --version Python 3.6.8
more Pipfile
The text was updated successfully, but these errors were encountered: