amoro icon indicating copy to clipboard operation
amoro copied to clipboard

[Feature]: Provide ability to impersonate to the owner of each table when optimizing

Open byungnam opened this issue 1 year ago • 2 comments

Description

Currently, Amoro uses the specified UGI - typically, superuser for the optimization tasks. This results in the output files of the optimization task being owned by the superuser instead of the actual owner of the table.

Use case/motivation

No response

Describe the solution

Make an option on catalog which enables impersonation to the owner of each table. If this option is enabled, optimize task will be run with impersonation to the owner of each table.

Subtasks

No response

Related issues

No response

Are you willing to submit a PR?

  • [X] Yes I am willing to submit a PR!

Code of Conduct

byungnam avatar Sep 12 '24 05:09 byungnam

The feature seems reasonable.

I wonder whether properties on catalog could solve this situation. Could each table be owned by different owner?

majin1102 avatar Sep 18 '24 11:09 majin1102

I wonder whether properties on catalog could solve this situation. Could each table be owned by different owner?

It should be a boolean parameter whether you want to create files with the owner of each table or not. It should not specify any user in catalog property.

byungnam avatar Sep 19 '24 05:09 byungnam

This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.

github-actions[bot] avatar Mar 19 '25 00:03 github-actions[bot]

This issue has been closed because it has not received any activity in the last 14 days since being marked as 'stale'

github-actions[bot] avatar Apr 03 '25 00:04 github-actions[bot]