Time travel support
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
Direzione di ricerca
Nell'issue non sono identificati file del repository, test o punti di ingresso. Inizia confrontando la sintassi di Databricks, Snowflake, Cockroach e DuckLake e stabilisci se le query temporali storiche e quelle sulle versioni debbano condividere la semantica o rimanere specifiche del dialetto. Il completamento dovrebbe includere un ambito concordato per la sintassi e il comportamento supportati.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Several databases and data lakes support time travel which allows historical versions of a table to be queried. Regrettably, syntax and capabilities do not seem to be terribly consistent across the various implementations.
Querying Historical Times
This option lets a database be queried as it existed at a certain point in time. (Question: Is this "last version prior to the given time"? or is it an error if no snapshot exists with that exact time?)
Databricks
SELECT * FROM people10m TIMESTAMP AS OF '2018-10-18T22:15:12.013Z';
Snowflake
SELECT * FROM my_table AT(TIMESTAMP => 'Wed, 26 Jun 2024 09:20:00 -0700'::TIMESTAMP_LTZ);
Cockroach
SELECT * FROM t AS OF SYSTEM TIME '2016-06-15 12:45:00'
DuckLake
SELECT * FROM tbl AT (TIMESTAMP => now() - INTERVAL '1 week');
Querying Specific versions
This options lets a specific "version" of a database to be queried. What exactly this means seems to depend on the database implementation in question.
Databricks
SELECT * FROM people10m VERSION AS OF 123;
Snowflake
Note: unclear if this is the same thing (specific versions) or different
SELECT * FROM my_table BEFORE(STATEMENT => '8e5d0ca9-005e-44e6-b858-a8f5b37c5726');
Cockroach
Unsupported
DuckLake
SELECT * FROM tbl AT (VERSION => 3);
- Lingua principale
- Rust
- Stelle
- 3.5k
- Fork
- 774
- Merge medio
- 3g 4h
- PR unite (30g)
- 19
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di apache/datafusion-sqlparser-rs
-
Difficoltà 2/5 1-2 giorni Idoneità per principianti 72/100
apache/datafusion-sqlparser-rs#2495 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
apache/datafusion-sqlparser-rs#2461 · 2 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
apache/datafusion-sqlparser-rs#2407 ·
-
Add SQL/PGQ keywords Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
apache/datafusion-sqlparser-rs#2393 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
apache/datafusion-sqlparser-rs#2390 · 1 commento ·
Tutte le issue di apache/datafusion-sqlparser-rs
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
ontola/atomic-server#1625 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
VirusTotal/yara-x#777 ·
-
has_tail_capacity wraps and get_writable_raw_unchecked commits raw_len before the bounds check Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
stratum-mining/stratum#2404 ·
-
bug ci good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100