Skip to content

[Bug] JindoFileIO file status does not return access time and owner #8953

Description

@thswlsqls

Search before asking

  • I searched in the issues and found nothing similar.

Paimon version
master @ 8cd760d

Compute Engine
Engine-agnostic (core) — surfaces on any engine reading file status over OSS.

Minimal reproduce step
Read file status through JindoFileIO on an oss:// path, e.g. fileIO.getFileStatus(path), and inspect getAccessTime() and getOwner().

HadoopCompliantFileIO.HadoopFileStatus (paimon-filesystems/paimon-jindo/.../jindo/HadoopCompliantFileIO.java line 409) overrides only getLen/isDir/getPath/getModificationTime. It does not override getAccessTime()/getOwner(), so the FileStatus interface defaults apply — 0 and null — even though the wrapped org.apache.hadoop.fs.FileStatus carries the real values.

Every other Hadoop-compliant FS impl (s3/oss/obs/cosn/azure/gs) delegates both getters. The gs impl was fixed by #8559; paimon-jindo is the last one left.

What doesn't meet your expectations?
Object table queries expose this directly: ObjectTableImpl.toRow() fills the atime and owner columns from these getters, so both are always 0/NULL over Jindo.

Anything else?
N/A

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions