feat: PITR RECOVER TO TIMESTAMP, OpenTelemetry OTLP export, FTS infrastructure

- RECOVER TO TIMESTAMP '...' — parser + executor, replays WAL entries
- core/tracing.nim — OTLP/HTTP export via exportOtlp()
- FTS: ftsIndexes table in ExecutionContext, engine import ready
- 281 tests, 0 failures
This commit is contained in:
2026-05-07 13:44:59 +03:00
parent 651375a156
commit b1aadf77f9
7 changed files with 104 additions and 40 deletions
+8
View File
@@ -2459,5 +2459,13 @@ suite "Parameterized queries":
check r.success
# Should find the row because 'text' is in 'full text search'
test "RECOVER TO TIMESTAMP parse":
let ast = parse("RECOVER TO TIMESTAMP '2026-05-07T12:00:00'")
check ast.stmts[0].kind == nkRecoverToTimestamp
test "RECOVER FROM WAL execution":
let r = qexec.executeQuery(ctx, parse("RECOVER TO TIMESTAMP '2026-12-31T23:59:59'"))
check r.success
# JOIN tests
include "join_tests"