File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
sql/hive/src/main/scala/org/apache/spark/sql/hive Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ private[hive] object HiveQl {
205205 extends Exception (s " Failed to parse: $sql" , cause)
206206
207207 class SemanticException (msg : String )
208- extends Exception (msg)
208+ extends Exception (s " Error in semantic analysis: $ msg" )
209209
210210 /**
211211 * Returns the AST for the given SQL string.
@@ -584,7 +584,7 @@ private[hive] object HiveQl {
584584 val withHaving = havingClause.map { h =>
585585
586586 if (groupByClause == None ) {
587- throw new SemanticException (" Error in semantic analysis: HAVING specified without GROUP BY" )
587+ throw new SemanticException (" HAVING specified without GROUP BY" )
588588 }
589589
590590 val Seq (havingExpr) = h.getChildren.toSeq
You can’t perform that action at this time.
0 commit comments