mongo360 opened a new pull request, #42911:
URL: https://github.com/apache/doris/pull/42911

   ## Proposed changes
   
   - Background
   Currently, the LightSchemaChange feature in Doris only supports adding value 
columns, not supports the regular key column adding. If we add a regular key 
column to a simple table that not in the short key columns, it will do with 
HardLinkedSchemaChange; But for the cooldown tablets that save on remote system 
like S3, it will degrade to DirectSchemaChange, The schema change time is very 
slow. This modification is intended to replace HardLinkedSchemaChange with 
LightSchemaChange for normal key column adding.
   
   - Modification
   modify LightSchemaChange check logic in FE, adding key column adding scene.
   1. Table property light_schema_change is True
   2. new key column pos not in short key columns
   3. new key column is not add to materialize view
   4. Table property enable_unique_key_merge_on_write is False
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to