apache / apache/doris

[Bug] Paimon Native Scanner returns FORBIDDEN (403) on specific tables when using private S3-compatible storage, JNI scanner works fine

Open
#64,393 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
15.9k
Forks
3.9k
Avg merge
2d 23h
Merged PRs (30d)
520

Description

### Search before asking

- [x] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues.

### Version

doris-4.0.5

### What's Wrong?

When querying Paimon tables via an External Catalog backed by a private S3-compatible storage, some tables consistently return AccessDenied / FORBIDDEN when read by the Paimon Native Scanner. Switching to the JNI scanner resolves the issue immediately.

The problem is table-specific within the same catalog and schema: tables pay_manager, relation, term succeed with native scanner, while ods_pxf_db_cm_contract_pay_info_fd always fails.

### What You Expected?

fix it in next version

### How to Reproduce?

_No response_

### Anything Else?

_No response_

### Are you willing to submit PR?

- [ ] Yes I am willing to submit a PR!

### Code of Conduct

- [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.