-
-
Notifications
You must be signed in to change notification settings - Fork 317
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
Handle INTERVAL
type in the backend
#430
Comments
Marking as blocked until backend work in #250 is completed because they're related and we want to make sure implementations are consistent. |
@kgodey Since the backend issues that block this issue have a PR, can I work on this or should I wait till the blocking frontend issues are sorted out. |
@silentninja I think it's fine to start work on this, it was blocked by backend work. |
@kgodey I don't think we should add any parsing in python for this, since the libraries you mentioned are less featureful than the native PostgreSQL parsing. Both understand fewer strings. For output and viewing, I think we should actually use strings rather than the default python |
@mathemancer and I discussed this during our check-in today and it sounds fine to me. The plan is to create a custom SQLAlchemy type to handle |
This issue is to ensure that Mathesar can handle the Postgres
INTERVAL
data type.As part of this issue, we need to ensure that:
INTERVAL
if it's possible to do so (this should already be complete).precision
andfields
of a givenINTERVAL
column via atype_options
field in the API.INTERVAL
when it makes sense to do so.Additional Context
v0/databases/
's types list to show both Mathesar and DB type information. #368 for code that calculates which types are allowed for a column.The text was updated successfully, but these errors were encountered: