questdb / questdb/py-questdb-client
support datetime[us]
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 71
- Forks
- 14
- Avg merge
- 1h 7m
- Merged PRs (30d)
- 1
Description
Repro:
https://github.com/questdb/py-questdb-client/tree/nw_datetime_us
from questdb.ingress import Sender, TimestampNanos
import pandas as pd
df = pd.DataFrame({'x': [1,2,3]})
df['timestamp'] = pd.Timestamp.now()
with Sender.from_conf("http::addr=localhost:9000;") as sender:
sender.dataframe(df, table_name='abcd', at='timestamp')
questdb.ingress.IngressError: Unsupported dtype datetime64[us] for column 'timestamp'. Raise an issue if you think it should be supported
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Sender.dataframe entry point and reproduce the example using pandas datetime64[us] data, consulting the nw_datetime_us branch linked in the issue. Trace the dtype handling that raises the unsupported-dtype error; done means the example ingests successfully without that error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- pandas, python
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100