connector-x icon indicating copy to clipboard operation
connector-x copied to clipboard

Support array type for arrow destination on postgres

Open IgorDenisenko opened this issue 3 years ago • 5 comments

Hello, I'm trying to upload a table from GreenPlum. Several columns contain arrays. The following error occurs:RuntimeError: No conversion rule from Int4Array(true) to connectorx::destinations::arrow::typesystem::ArrowTypeSystem.

How can I download this data?

Thanks!

IgorDenisenko avatar Jul 21 '22 11:07 IgorDenisenko

Hi @IgorDenisenko , sorry that currently we don't support array type on arrow destination.

A temporary workaround might be getting data to pandas first and convert to arrow.

wangxiaoying avatar Jul 28 '22 18:07 wangxiaoying

@wangxiaoying, thank u!

IgorDenisenko avatar Aug 04 '22 11:08 IgorDenisenko

I also etl greeplun table to arrow,but have jsonb column in greeenplum,also not support,raise error: I RuntimeError: No conversion rule from JSONB(true) to connectorx::destinations::arrow::typesystem::ArrowTypeSystem.

wonb168 avatar Aug 23 '22 08:08 wonb168

I also etl greeplun table to arrow,but have jsonb column in greeenplum,also not support,raise error: I RuntimeError: No conversion rule from JSONB(true) to connectorx::destinations::arrow::typesystem::ArrowTypeSystem.

Redirect to https://github.com/sfu-db/connector-x/issues/331 for jsonb

wangxiaoying avatar Aug 25 '22 20:08 wangxiaoying

greenplum array column etl to arrow raise error: RuntimeError: No conversion rule from Int4Array(true) to connectorx::destinations::arrow::typesystem::ArrowTypeSystem.

wonb168 avatar Sep 02 '22 09:09 wonb168

Looks like this is fixed when using arrow2 in the upcoming 0.3.1 release (I just compiled the latest source, tested against postgres, and was happy to see that it appeared to work ;)

alexander-beedie avatar Oct 26 '22 09:10 alexander-beedie