You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2021/07/05 07:41:22 UTC

[GitHub] [incubator-doris] Stephen-Robin opened a new pull request #6153: basic property related classes supports create, query, read, write, etc.

Stephen-Robin opened a new pull request #6153:
URL: https://github.com/apache/incubator-doris/pull/6153


   Provides basic property related classes supports create, query, read, write, etc.
   Currently, Doris FE mostly uses `if` statement to check properties in SQL. There is a log of redundancy in the code.
   The `PropertySet` class can be used in the analysis phase of `Statement`. The validity and correctness of the input properties are agile verified. It can simplify the code and improve the readability of the code.
   
   Usage:
   1. Create a custom class that implements `SchemaGroup` interface.
   2. Define the properties to be used. If it's a required parameter, there is no need to set the default value.
   3. According th the requirements, in the logic called `readFromStrMap` and other functions to check and obtain parameters.


-- 
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-unsubscribe@doris.apache.org

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



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


[GitHub] [incubator-doris] morningman merged pull request #6153: [Feature] basic property related classes supports create, query, read, write, etc.

Posted by GitBox <gi...@apache.org>.
morningman merged pull request #6153:
URL: https://github.com/apache/incubator-doris/pull/6153


   


-- 
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-unsubscribe@doris.apache.org

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



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