xuzifu666 commented on PR #4047:
URL: https://github.com/apache/paimon/pull/4047#issuecomment-2306698969

   > > Just curious,in real scene Paimon should not support alter 
pk,partitionkey? @herefree
   > 
   > Yes, if you have some history paimon table which was not syn pk or 
partitionkey to hive meta, you can use repair table.It also need to add some 
code to support it, just like this. 
![image](https://private-user-images.githubusercontent.com/15827141/360864021-6c52c44d-45bc-4c9a-92a5-7c3776424290.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ0MDU5NDgsIm5iZiI6MTcyNDQwNTY0OCwicGF0aCI6Ii8xNTgyNzE0MS8zNjA4NjQwMjEtNmM1MmM0NGQtNDViYy00YzlhLTkyYTUtN2MzNzc2NDI0MjkwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODIzVDA5MzQwOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM5YTNkOWFjOWFkYWY3NmM5MDljMzg3N2YzZWQzZGNhYjQyODMwYmQ2OGU1ODA1ZGFkMzM5ODcwZmQzYzZmNmQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.osTDpmHDF_uoYa_OXx0ieMV7elITT
 C2nUyda-un4sDM)
   
   Get,but the title maybe not fitable,alter primary-key can take a look at 
SparkSchemaEvolutionITCase##testSetAndRemoveOption which can not support.


-- 
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