Execute a query against the Working DuckLake filtering by ingestion timestamp. This provides "time travel" capability to see data as it existed at a past time.
Arguments
- con
DuckDB connection from
get_working_ducklake()- query
SQL query string. The query can reference the
_ingested_atcolumn, but this function adds a filter automatically.- timestamp
Timestamp for time travel (character "YYYY-MM-DD HH:MM:SS" or POSIXct). Filters to rows where
_ingested_at <= timestamp.- table
Optional table name. If provided and query is NULL, queries all columns.