You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@arrow.apache.org by Olo Sawyerr <os...@outlook.com> on 2022/12/19 20:28:34 UTC

[RUST] get error when trying to use zstd

Hi there,

I'm trying to use zstd compression for compressing my RecordBatches. Code compiles fine but I'm getting this error when it runs

ERROR:  Invalid argument error: zstd IPC compression requires the zstd feature

How do I enable this feature please?

Regards,

Olo

Sent from Outlook for iOS<https://aka.ms/o0ukef>

Re: [RUST] get error when trying to use zstd

Posted by Olo Sawyerr <os...@outlook.com>.
Hi,

I think I've figured this out. I added this to my toml file.


[dependencies.arrow]
version = "29.0.0"
features = ["ipc_compression"]

Thanks.

Olo
________________________________
From: Olo Sawyerr <os...@outlook.com>
Sent: 19 December 2022 20:28
To: user@arrow.apache.org <us...@arrow.apache.org>
Subject: [RUST] get error when trying to use zstd

Hi there,

I'm trying to use zstd compression for compressing my RecordBatches. Code compiles fine but I'm getting this error when it runs

ERROR:  Invalid argument error: zstd IPC compression requires the zstd feature

How do I enable this feature please?

Regards,

Olo

Sent from Outlook for iOS<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Faka.ms%2Fo0ukef&data=05%7C01%7C%7C3831c74b58fa42a4e57108dae1ffa424%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638070785337309722%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=daLp6LXY5yevN4S%2FedQaYEaNzz9cU1GGpw0IDAtK8O0%3D&reserved=0>