-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python type of Timestamp and Boolean schema fields #42
Comments
could you share the schema YAML or table config YAML of your Pinot table? i can quickly try to reproduce |
Something like this:
|
thanks I will try to reproduce and create a fix |
Thanks @walterddr. Any estimate on the timeline? It will help me plan better. |
it seems a bit tricky. had to restructure the data type system in order for it to be reusable in both sqlalchemy and regular connection. will try to get this in by next week |
@walterddr In the PR, I see |
@xiangfu0 do we always return datetime column in ISO8601 format (with the 2 extra double quote)? |
Bumping ^ @walterddr @xiangfu0 |
My Pinot table schema has fields of type
Timestamp
andBoolean
(I believe these types were introduced after Pinot v0.7.1).When querying them using this Python client, the returned values for both of them are of the Python type
str
. More intuitive Python datatype IMO for them would have beendatetime
andbool
. Can this be supported by this client?The text was updated successfully, but these errors were encountered: