sql=`CREATE TABLE IF NOT EXISTS '_query_trace' (ts TIMESTAMP, query_text VARCHAR, execution_micros LONG, principal VARCHAR) TIMESTAMP(ts) PARTITION BY HOUR TTL 1 DAY BYPASS WAL`, principal=admin, cache=false, ji
At the end of the function, as the last step, we open a connection to QuestDB and insert the new quote. Congratulations! The worker is ready for use; let's try it out! Execute the command below in a new terminal window within the virtualenv, and wait some seconds to let Celery kick...
Explore the GitHub Discussions forum for questdb questdb. Discuss code, ask questions & collaborate with the developer community.
Using the Finnhubclient, we get a quote for the given symbol. After the quote is retrieved successfully, we prepare a SQL query to insert the quote into the database. At the end of the function, as the last step, we open a connection to QuestDB and insert the new quote. ...