zhengshengjun opened a new issue, #15723:
URL: https://github.com/apache/doris/issues/15723

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Description
   
   Currently we have to use Doris in 
[Lambda_architecture](https://en.wikipedia.org/wiki/Lambda_architecture), where 
historical data was loaded from ETL Jobs and realtime data was ingested by 
stream application into Doris. 
   
   In most Lambda_architecture scenarios, historical data is not allowed to be 
modified because its accuracy. We need way to set historical partition to be 
immutable to prevent data from being modified by stream application which may 
produce old/expired data.
   
   The ideal solution in our case maybe:
   1. create partition TEMP_T-1;
   2. load HDFS data into TEMP_T-1
   3. set TEMP_T-1 to be immutable
   4. replace partition T-1 with  TEMP_T-1, and now the T-1 partition will be 
immutable unless it's changed to mutable
   
   The above procedure requires the ability to set an partition to be immutable 
in Doris. I wonder if there is a better solution, thanks.
   
   
   
   ### Use case
   
   _No response_
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] 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)
   


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