yiguolei commented on a change in pull request #8808:
URL: https://github.com/apache/incubator-doris/pull/8808#discussion_r840509190



##########
File path: fe/fe-core/src/main/java/org/apache/doris/catalog/DataProperty.java
##########
@@ -75,11 +94,20 @@ public static DataProperty read(DataInput in) throws 
IOException {
     public void write(DataOutput out) throws IOException {

Review comment:
       ....
   for read method, you could use 
   if (meta version > 108)
   {
   gson.readxxx
   }
   else 
   {
   read field
   read filed
   ...
   }
   
   for write method, you could use
   if (meta version > 108)
   {
   gson.writexxx
   }
   else 
   {
   write field
   write field
   ....
   }




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