Description
What language are you using?
Python
What version are you using?
0.3.1
What database are you using?
PostgreSQL
The docstring for read_sql says the supported values for return_type are "arrow", "pandas", "modin", "dask" or "polars", but if I use anything other than "arrow2" or "pandas" I get the error
thread '' panicked at 'not implemented', /__w/connector-x/connector-x/connectorx/src/destinations/arrow/arrow_assoc.rs:170:9
File .venv/lib/python3.10/site-packages/connectorx/init.py:257, in read_sql(conn, query, return_type, protocol, partition_on, partition_range, partition_num, index_col)
254 except ModuleNotFoundError:
255 raise ValueError("You need to install pyarrow first")
--> 257 result = _read_sql(
258 conn,
259 "arrow" if return_type in {"arrow", "polars"} else "arrow2",
260 queries=queries,
261 protocol=protocol,
262 partition_query=partition_query,
263 )
264 df = reconstruct_arrow(result)
265 if return_type in {"polars", "polars2"}:
PanicException: not implemented