Skip to content
This repository was archived by the owner on Mar 29, 2023. It is now read-only.
This repository was archived by the owner on Mar 29, 2023. It is now read-only.

Casting date to timestamp fails #114

@seibs

Description

@seibs

Casting from date to timestamp results in TypeError: BigQuery does not support timestamps with timezones.

It looks like Ibis defaults to casting a date to UTC:

>>> ibis.table(ibis.schema([('date', 'date')]))['date'].cast('timestamp')
UnboundTable[r0, name=unbound_table_2]
  date date

cast(date, timestamp('UTC')): timestamp('UTC') = Cast
  date: date = r0.date
  to:
    timestamp('UTC')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions