Track type metadata and timezone-aware values

Aberta
#39 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
55/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
postgresql, rust
Domínio
databases

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.
Linguagem predominante
Rust
Estrelas
129
Forks
7
Merge médio
1d 19h
PRs com merge (30d)
5

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de juspay/streamgres

Todas as issues de juspay/streamgres

Issues semelhantes

Mais issues de Rust

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.