Not exactly a duplicate of googleapis/python-bigquery-sqlalchemy#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 googleapis/python-bigquery-sqlalchemy#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 googleapis/python-bigquery-sqlalchemy#1113
Not exactly a duplicate of googleapis/python-bigquery-sqlalchemy#1056! The fix for that issue copied the standard that was present of checking vs DATE, but
sa.Dateshould also be valid and weirdly enough changing that is enough to break things, with the same error as googleapis/python-bigquery-sqlalchemy#1056 regardingDATE_TRUNC(since theifblock that was added does not catchsa.Date, justsa.DATE).cc @chalmerlowe this seems potentially relevant to your work in googleapis/python-bigquery-sqlalchemy#1113