ibis icon indicating copy to clipboard operation
ibis copied to clipboard

feat(api): time travel query

Open mfatihaktas opened this issue 1 year ago • 0 comments

Description of changes

Aims to address https://github.com/ibis-project/ibis/issues/8203.

This PR

  • Adds time_travel() for Table.
  • Adds ibis.expr.types.temporal.TimeTravelTable and ops.TimeTravelDatabaseTable.
  • Adds visit_TimeTravelDatabaseTable() in the compiler for BigQuery and Flink, and time_travel_table_sql() in the SQL generator for Flink.
  • Adds tests for time travel in BigQuery and Flink backends.

Notes:

  • Could not add a functional test for BigQuery as I do not have access to a GCP env to run the functional tests.
  • Will add more unit and functional tests.
    • Especially, for timestamp expressions and timestamps with time zones.

Issues closed

mfatihaktas avatar Mar 01 '24 21:03 mfatihaktas