Skip to content

GH-55356: [C++] Compare mtime at second precision in GetFileInfoSelector test - #55433

Draft
tadeja wants to merge 4 commits into
apache:mainfrom
tadeja:GetFileInfoSelector-ms
Draft

tadeja wants to merge 4 commits into
apache:mainfrom
tadeja:GetFileInfoSelector-ms

Conversation

@tadeja

@tadeja tadeja commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

Rationale for this change

#55356 - TestS3FSGeneric.GetFileInfoSelector fails with AWS SDK 1.11.900 and newer.
See aws/aws-sdk-cpp#3934
ListObjectsV2 results keep milliseconds while HeadObject's Last-Modified header only has seconds.

What changes are included in this PR?

Floor the listing mtime from milliseconds to seconds in GetFileInfoSelector test when the single file mtime has only seconds.

Are these changes tested?

Locally on macOS arm64 with AWS SDK 1.11.900 and MinIO.

Are there any user-facing changes?

No.

Was AI used for this PR?

PR code and description written by:

  • Human
  • AI

Reviewed before submission by:

  • Human
  • AI
  • Not reviewed

@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown

⚠️ GitHub issue #55356 has been automatically assigned in GitHub to PR creator.

@tadeja tadeja changed the title GH-55356: Truncate S3 mtimes to seconds GH-55356: [C++] Compare mtime at second precision in GetFileInfoSelector test Nov 6, 2026
@tadeja tadeja changed the title GH-55356: [C++] Compare mtime at second precision in GetFileInfoSelector test GH-55356: [C++] Compare mtime at s precision in GetFileInfoSelector test Nov 6, 2026
@tadeja tadeja changed the title GH-55356: [C++] Compare mtime at s precision in GetFileInfoSelector test GH-55356: [C++] Compare mtime at second precision in GetFileInfoSelector test Nov 6, 2026
Comment thread cpp/src/arrow/filesystem/test_util.cc Resolved
@github-actions github-actions Bot added awaiting changes Awaiting changes and removed awaiting committer review Awaiting committer review labels Nov 7, 2026
Co-authored-by: Rok Mihevc <rok@mihevc.org>
@github-actions github-actions Bot added awaiting change review Awaiting change review and removed awaiting changes Awaiting changes labels Nov 7, 2026
@github-actions github-actions Bot added awaiting merge Awaiting merge and removed awaiting change review Awaiting change review labels Nov 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants