This is an automated email from the ASF dual-hosted git repository.

zabetak pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/calcite-avatica.git


The following commit(s) were added to refs/heads/master by this push:
     new e070185  Improve exception message in AbstractService
e070185 is described below

commit e070185f0b5fcd5ea52d9bc50d79b3e94ae84059
Author: leesf <490081...@qq.com>
AuthorDate: Wed Mar 27 09:09:47 2019 +0800

    Improve exception message in AbstractService
---
 .../main/java/org/apache/calcite/avatica/remote/AbstractService.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/core/src/main/java/org/apache/calcite/avatica/remote/AbstractService.java 
b/core/src/main/java/org/apache/calcite/avatica/remote/AbstractService.java
index ffaa360..a082f43 100644
--- a/core/src/main/java/org/apache/calcite/avatica/remote/AbstractService.java
+++ b/core/src/main/java/org/apache/calcite/avatica/remote/AbstractService.java
@@ -89,7 +89,8 @@ public abstract class AbstractService implements Service {
       case PROTOBUF:
         return column;
       default:
-        throw new IllegalStateException("Unhadled case statement");
+        throw new IllegalStateException("Unhandled case statement with 
serializationType: "
+                + getSerializationType());
       }
     case Types.DECIMAL:
     case Types.NUMERIC:

Reply via email to