Skip to content

SNOW-2499292: Support for Serializable Arrow Batches #1602

@joellubi

Description

@joellubi

What is the current behavior?

The current implementation of ArrowBatch is not serializable due to members such as snowflakeChunkDownloader, preventing distribution of reads across multiple workers.

What is the desired behavior?

An implementation of ArrowBatch that can be serialized/deserialized. It would be nice if this could be done via implementing json.Marshaler and json.Unmarshaler interfaces.

How would this improve gosnowflake?

End users will have more flexibility when consuming result sets, and distributing the reads can yield significant performance benefits. Concretely this has also been blocking implementation of the ExecutePartitions method in the Snowflake ADBC driver.

References, Other Background

Metadata

Metadata

Labels

enhancementThe issue is a request for improvement or a new featurestatus-triage_doneInitial triage done, will be further handled by the driver team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions