[C++] TST: TestS3FSGeneric.GetFileInfoSelector due to milliseconds with new aws bindings

Aperta
#55,356 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@Maha-ait ci sta già lavorando.

Dal 1/11/2026.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
aws, cpp
Ambito
backend, cloud

Direzione di ricerca

The failing assertion is in cpp/src/arrow/filesystem/test_util.cc around line 159, where the mtime from the S3 listing is compared against an expected value truncated to seconds. Start by reading that comparison and how the S3 test fixture sets its timestamps, then run TestS3FSGeneric.GetFileInfoSelector against the newer AWS SDK. Done means the test passes with both the old and new AWS bindings, with the timestamp comparison handling sub-second precision consistently.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Component: C++ Type: bug
Describe the bug, including details regarding any error messages, version, and platform.

Seeing test failures in https://github.com/conda-forge/arrow-cpp-feedstock/pull/2062 against newer aws bindings; looks like timestamps either gained or lost millisecond accuracy, where the tests expect only seconds

[ RUN      ] TestS3FSGeneric.GetFileInfoSelector
$SRC_DIR/cpp/src/arrow/filesystem/test_util.cc:159: Failure
Expected equality of these values:
  info.mtime()
    Which is: 2026-10-25 10:56:50.000000000
  mtime
    Which is: 2026-10-25 10:56:50.791000000
For path 'AB/CD/ghi'

[  FAILED  ] TestS3FSGeneric.GetFileInfoSelector (102 ms)
Component(s)

C++

Lingua principale
C++
Stelle
17.3k
Fork
4.4k
Merge medio
2g 23h
PR unite (30g)
69

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di apache/arrow

Tutte le issue di apache/arrow

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.