You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2020/01/05 07:52:49 UTC

[GitHub] [incubator-hudi] hmatu commented on issue #1185: [HUDI-500] Use enum method to replace switch case

hmatu commented on issue #1185: [HUDI-500] Use enum method to replace switch case
URL: https://github.com/apache/incubator-hudi/pull/1185#issuecomment-570887051
 
 
   > I prefer to keep the code as-is and have this be in the TableMetaClient file.
   
   Hi @vinothchandar
   
   In fact, this is a good programming skill. Enums can have constant-specific method implementations which simply means they can have abstract methods and they can override it.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services