zabetak commented on a change in pull request #88: [hotfix] fix typo in 
AbstractService
URL: https://github.com/apache/calcite-avatica/pull/88#discussion_r268902217
 
 

 ##########
 File path: 
core/src/main/java/org/apache/calcite/avatica/remote/AbstractService.java
 ##########
 @@ -89,7 +89,7 @@ ColumnMetaData finagle(ColumnMetaData column) {
       case PROTOBUF:
         return column;
       default:
 
 Review comment:
   I am not a big fan of default + exception pattern for the same reasons 
mentioned in [Don't default that 
switch](https://www.youtube.com/watch?v=SpMIYtl_A98). All IDEs (for sure 
Elciplse and Intellij) are capable of detecting easily such cases and return an 
error or warning depending on the configuration. How about killing it 
completely? 

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to