-
Notifications
You must be signed in to change notification settings - Fork 198
Closed
Milestone
Description
Hi,
I tried to use ConnectorX to load dataframe from a postgreSQL database with the following code:
import connectorx as cx
tableName = "semantic_search"
dataFrame = cx.read_sql('postgresql://postgres:postgres@localhost:5432/embeddings_sts_tf', "select * from " + tableName)
but got the following error:
thread '<unnamed>' panicked at 'not implemented: _float8', connectorx/src/sources/postgres/typesystem.rs:78:22
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Traceback (most recent call last):
File "/home/matthieu/Code/Python/postgreSQL_creation.py", line 142, in <module>
dataFrame = cx.read_sql('postgresql://{user}:{pw}@{host}:5432/{db}'.format(host=conn_info["host"], db=conn_info["database"], user=conn_info["user"], pw=conn_info["password"]), "select * from " + tableName)
File "/home/matthieu/anaconda3/envs/sts-transformers-gpu-fresh/lib/python3.8/site-packages/connectorx/__init__.py", line 99, in read_sql
result = _read_sql(
pyo3_runtime.PanicException: not implemented: _float8
Thanks for helping!
Metadata
Metadata
Assignees
Labels
No labels