Skip to content

Commit

Permalink
style fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
gatorsmile committed Mar 18, 2016
1 parent 3342798 commit 240aeb3
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -640,8 +640,7 @@ class Analyzer(
failAnalysis(
"Integer in the Order/Sort By clause is not allowed " +
"when spark.sql.orderByOrdinal is set to false")
}
else {
} else {
throw new UnresolvedException(s,
s"""Order/Sort By position: $index does not exist \n
|The Select List is indexed from 1 to ${child.output.size}""".stripMargin)
Expand Down

0 comments on commit 240aeb3

Please sign in to comment.