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