ibis
ibis copied to clipboard
feat(api): time travel query
Description of changes
Aims to address https://github.com/ibis-project/ibis/issues/8203.
This PR
- Adds
time_travel()forTable. - Adds
ibis.expr.types.temporal.TimeTravelTableandops.TimeTravelDatabaseTable. - Adds
visit_TimeTravelDatabaseTable()in the compiler for BigQuery and Flink, andtime_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.