sundapeng opened a new pull request, #10307:
URL: https://github.com/apache/paimon/pull/10307

   ### Purpose
   
   pypaimon's Jindo path hard-codes `fs.oss.user.agent.features=pypaimon`, 
which overwrites any features the user sets, and drops the DLF access tracking 
info (`dlf.access-tracking.extended-info`) that Java's `JindoFileIO` appends to 
the User-Agent. The PyArrow S3 fallback sends only the AWS SDK's default 
User-Agent, so its OSS requests can't be attributed to Paimon at all.
   
   This aligns pypaimon with Jindo's `module(transport;features) extended` 
layout and with the Java OSS change (#10306):
   - Jindo keeps its own module. Features become `pypaimon/<version>` followed 
by the user's features.
   - The access tracking info is appended after any user-set 
`fs.oss.user.agent.extended`.
   - The PyArrow S3 fallback sets `AWS_SDK_UA_APP_ID` when it is unset, which 
adds `app/pypaimon/<version>` to the AWS SDK User-Agent.
   
   For example: `JindoSDK/6.15.504-nextarch(coro_http;pypaimon/2.2.dev0;Flink) 
user/ext acs/xxx`.
   
   ### Tests
   
   `oss_user_agent_test.py`: 10 new cases; `jindo_file_system_test.py`: 2 new 
cases. 17 tests passed in these two files.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to