-
Notifications
You must be signed in to change notification settings - Fork 201
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What are you using?
Python 3.9, cx 0.3.1, PostgrSQL (Greenplum)
Can you describe your bug?
Cannot query the pg_catalog system table for database information.
What are the steps to reproduce the behavior?
import connectorx as cx
conn = f"postgresql://{user}:{pw}1@{server}:{port}/{database}"
# this query errors in cx, not in pandas or via other SQL clients
result = cx.read_sql(conn.conn, "SELECT * FROM pg_catalog.pg_tables")thread '<unnamed>' panicked at 'not implemented: name', D:\a\connector-x\connector-x\connectorx\src\sources\postgres\typesystem.rs:100:22
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Traceback (most recent call last):
df = cx.read_sql(conn.conn, "SELECT * FROM pg_catalog.pg_tables")
File "C:\Projects\python-toolbox\.venv_toolbox\lib\site-packages\connectorx\__init__.py", line 224, in read_sql
result = _read_sql(
pyo3_runtime.PanicException: not implemented: name
roee88 and heyuqi1970
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working