Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to use 4mc/4mz when write to json or parquet #42

Open
zjzzjz1979 opened this issue Jun 12, 2019 · 1 comment
Open

how to use 4mc/4mz when write to json or parquet #42

zjzzjz1979 opened this issue Jun 12, 2019 · 1 comment

Comments

@zjzzjz1979
Copy link

I am able to load json files compressed by 4mz/c into spark. But writing does not work. Is this expected?

In [53]: df.write.mode('overwrite').option("codec","com.hadoop.compression.fourmc.ZstdCodec").csv('foo')

IllegalArgumentException: 'Codec [com.hadoop.compression.fourmc.ZstdCodec] is not available. Known codecs are bzip2, deflate, uncompressed, lz4, gzip, snappy, none.'
@machielg
Copy link

Would be nice to see some comments or documentation on this, this project seems very promising.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants