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

オープン
#55,356 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@Maha-ait がすでに取り組んでいます。

2026年11月1日 から。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
aws, cpp
領域
backend, cloud

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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++

主要言語
C++
スター
17.3k
フォーク
4.4k
平均マージ
2日 23時間
マージ済み PR(30日)
69

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

apache/arrow のほかの issue

apache/arrow の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。