Repository: tajo
Updated Branches:
  refs/heads/branch-0.11.0 1e1792700 -> cae8e56f0


TAJO-1729: No handling of default case in DDLExecutor. (Contributed by Dongkyu 
Hwangbo. Committed by jinho)

Signed-off-by: Jinho Kim <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/tajo/repo
Commit: http://git-wip-us.apache.org/repos/asf/tajo/commit/cae8e56f
Tree: http://git-wip-us.apache.org/repos/asf/tajo/tree/cae8e56f
Diff: http://git-wip-us.apache.org/repos/asf/tajo/diff/cae8e56f

Branch: refs/heads/branch-0.11.0
Commit: cae8e56f05bf55e438f6d253ca130bb85c5da945
Parents: 1e17927
Author: Dongkyu Hwangbo <dkhwangbo>
Authored: Tue Sep 8 18:28:18 2015 +0900
Committer: Jinho Kim <[email protected]>
Committed: Tue Sep 8 18:28:18 2015 +0900

----------------------------------------------------------------------
 CHANGES                                                           | 3 +++
 .../src/main/java/org/apache/tajo/master/exec/DDLExecutor.java    | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tajo/blob/cae8e56f/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index d7f0bd4..2ea1a95 100644
--- a/CHANGES
+++ b/CHANGES
@@ -34,6 +34,9 @@ Release 0.11.0 - unreleased
 
   IMPROVEMENT
 
+    TAJO-1729: No handling of default case in DDLExecutor.
+    (Contributed by Dongkyu Hwangbo. Committed by jinho)
+
     TAJO-1818: Separate sql parser into an independent maven module.
     (hyunsik) 
 

http://git-wip-us.apache.org/repos/asf/tajo/blob/cae8e56f/tajo-core/src/main/java/org/apache/tajo/master/exec/DDLExecutor.java
----------------------------------------------------------------------
diff --git 
a/tajo-core/src/main/java/org/apache/tajo/master/exec/DDLExecutor.java 
b/tajo-core/src/main/java/org/apache/tajo/master/exec/DDLExecutor.java
index a0f9adc..abbab50 100644
--- a/tajo-core/src/main/java/org/apache/tajo/master/exec/DDLExecutor.java
+++ b/tajo-core/src/main/java/org/apache/tajo/master/exec/DDLExecutor.java
@@ -552,7 +552,7 @@ public class DDLExecutor {
 
       break;
     default:
-      //TODO
+      throw new InternalError("alterTable cannot handle such query: \n" + 
alterTable.toJson());
     }
   }
 

Reply via email to