Track type metadata and timezone-aware values

Abierto
#39 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
55/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
postgresql, rust
Área
databases

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.
Lenguaje dominante
Rust
Estrellas
129
Forks
7
Merge medio
1 d 19 h
PR fusionados (30 d)
5

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de juspay/streamgres

Todos los issues de juspay/streamgres

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.