You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It wouldn't be necessary to create a separate module/client for a TimescaleDB container since TimescaleDB is just an extension on top of PostgreSQL (see here). Users of the TimescaleDB container can make use of PostgresDB container client.
Example:
timescaled_container=PostgresContainer('timescale/timescaledb:latest-pg12')
withtimescaled_containerastimescaled:
e=sqlalchemy.create_engine(timescaled.get_connection_url())
e.execute(''' CREATE TABLE stocks_real_time ( time TIMESTAMPTZ NOT NULL, symbol TEXT NOT NULL, price DOUBLE PRECISION NULL, day_volume INT NULL ); ''')
e.execute(''' SELECT create_hypertable('stocks_real_time','time'); ''')
Activity
tillahoffmann commentedon Dec 22, 2020
Not planned at the moment, but PRs are welcome.
vikrambosevibrent commentedon Dec 22, 2020
sure.. Will do that..
pffijt commentedon Nov 21, 2022
It wouldn't be necessary to create a separate module/client for a TimescaleDB container since TimescaleDB is just an extension on top of PostgreSQL (see here). Users of the TimescaleDB container can make use of PostgresDB container client.
Example:
pffijt commentedon Nov 22, 2022
I think we can close this issue :)