Canner / wren-engine

🤖 The semantic engine for LLMs, bringing semantic context to AI agents. 🔥
https://getwren.ai/oss
Apache License 2.0
129 stars 34 forks source link

fix(bigquery): fix Interval precision is None and format interval to str #843

Closed grieve54706 closed 3 weeks ago

grieve54706 commented 3 weeks ago

We found an error ibis.common.exceptions.IbisTypeError: Interval precision is None. Because the BigQuery client returns the interval type in the schema, it is not with precision. We found the BigQueryType of the ibis has a field default_interval_precision. We can override the class until the ibis fixes it. We also handle the date offset type of pandas that is not serializable.

grieve54706 commented 3 weeks ago

Follow issue https://github.com/ibis-project/ibis/issues/10357