You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tajo.apache.org by jh...@apache.org on 2015/09/08 11:23:30 UTC
tajo git commit: TAJO-1729: No handling of default case in
DDLExecutor. (Contributed by Dongkyu Hwangbo, committed by Jinho)
Repository: tajo
Updated Branches:
refs/heads/master b3a65b5eb -> a460978d9
TAJO-1729: No handling of default case in DDLExecutor. (Contributed by Dongkyu Hwangbo, committed by Jinho)
closes #742
Signed-off-by: Jinho Kim <jh...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/tajo/repo
Commit: http://git-wip-us.apache.org/repos/asf/tajo/commit/a460978d
Tree: http://git-wip-us.apache.org/repos/asf/tajo/tree/a460978d
Diff: http://git-wip-us.apache.org/repos/asf/tajo/diff/a460978d
Branch: refs/heads/master
Commit: a460978d996f95259b2935d479ccfc676b141e05
Parents: b3a65b5
Author: Dongkyu Hwangbo <dkhwangbo>
Authored: Tue Sep 8 18:16:28 2015 +0900
Committer: Jinho Kim <jh...@apache.org>
Committed: Tue Sep 8 18:22:24 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/a460978d/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index a22d67b..8303b72 100644
--- a/CHANGES
+++ b/CHANGES
@@ -36,6 +36,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/a460978d/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());
}
}