morningman commented on PR #9786:
URL: https://github.com/apache/incubator-doris/pull/9786#issuecomment-1140136621

   Currently, Doris has row policy and storage policy.
   But they all apply to the table granularity, actually they can both called 
table policy.
   So I think it is not suitable to use `TablePolicy` for row policy.
   
   We can just use an abstract class `Policy` as base class, and `RowPolicy` 
and `StoragePolicy` as derived classes.
   And in `Policy` class, there is `id`, `name`,  `type` fields. and an 
abstract `matchPolicy()` method which should be implemented in derived class. 
   
   


-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to