diff --git src/java/org/apache/hcatalog/cli/SemanticAnalysis/HCatSemanticAnalyzer.java src/java/org/apache/hcatalog/cli/SemanticAnalysis/HCatSemanticAnalyzer.java index b5151d0..1bd561d 100644 --- src/java/org/apache/hcatalog/cli/SemanticAnalysis/HCatSemanticAnalyzer.java +++ src/java/org/apache/hcatalog/cli/SemanticAnalysis/HCatSemanticAnalyzer.java @@ -147,7 +147,7 @@ public class HCatSemanticAnalyzer extends HCatSemanticAnalyzerBase { // In all other cases, throw an exception. Its a white-list of allowed operations. default: - throw new SemanticException("Operation not supported."); + throw new SemanticException("Operation not supported. AST token " + ast.getToken()); } }