Skip to content
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

Time partitioning on Date column fails with type_="DAY" #1115

Open
bnaul opened this issue Sep 19, 2024 · 2 comments · May be fixed by #1116
Open

Time partitioning on Date column fails with type_="DAY" #1115

bnaul opened this issue Sep 19, 2024 · 2 comments · May be fixed by #1116
Assignees
Labels
api: bigquery Issues related to the googleapis/python-bigquery-sqlalchemy API.

Comments

@bnaul
Copy link
Contributor

bnaul commented Sep 19, 2024

Not exactly a duplicate of #1056! The fix for that issue copied the standard that was present of checking vs DATE, but sa.Date should also be valid and weirdly enough changing that is enough to break things, with the same error as #1056 regarding DATE_TRUNC (since the if block that was added does not catch sa.Date, just sa.DATE).

cc @chalmerlowe this seems potentially relevant to your work in #1113

@product-auto-label product-auto-label bot added the api: bigquery Issues related to the googleapis/python-bigquery-sqlalchemy API. label Sep 19, 2024
@bnaul bnaul linked a pull request Sep 19, 2024 that will close this issue
@chalmerlowe
Copy link
Collaborator

I will take a look at this. May not happen until Monday. Thanks for reaching out.

@chalmerlowe chalmerlowe assigned chalmerlowe and unassigned hongalex Sep 20, 2024
@chalmerlowe
Copy link
Collaborator

I see what you are trying to accomplish.
I would like to finish off my other bucket of work (#1113) and get that merged.
Once that is done, I think we can come back and add this to the mix in the appropriate places.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the googleapis/python-bigquery-sqlalchemy API.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants