Track type metadata and timezone-aware values

Offen
#39 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
55/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
postgresql, rust
Bereich
databases

Rechercherichtung

Start by locating the catalog code that reads and stores PostgreSQL column metadata, then trace how the engine builds time-filter literals or parameters. Add coverage for retained type OIDs and collations, integer and timestamp type distinctions, and timestamptz filters under different session time zones. Done means all acceptance criteria pass; the issue does not name specific files or tests, so expect to read around the Rust codebase first.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Preserve PostgreSQL type OIDs, collations, and timestamp semantics in the catalog

Problem

The catalog does not retain PostgreSQL type OIDs or collations. As a result, the engine cannot distinguish types such as int2/int4/int8 or timestamp/timestamptz, and cannot determine which text columns use bytewise comparison.

Additionally, time filters sent to PostgreSQL use TIMESTAMP '…' literals. Comparisons against timestamptz columns can therefore depend on the PostgreSQL session’s TimeZone.

Expected behavior

The catalog should retain the PostgreSQL metadata needed to interpret and compare values correctly. Time filters should use semantics that are explicit and consistent with the column type and intended timezone.

Acceptance criteria

  • Catalog entries retain type OIDs and collation metadata.
  • The engine can distinguish relevant PostgreSQL types, including integer widths and timestamp types.
  • Time-filter literals or parameters avoid unintended dependence on the session TimeZone.
  • Tests cover metadata retention and timestamptz filters under different session time zones.
Vorherrschende Sprache
Rust
Sterne
129
Forks
7
Ø Merge
1 T. 19 Std.
Gemergte PRs (30 T.)
5

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus juspay/streamgres

Alle Issues in juspay/streamgres

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.