Skip to content

Commit 13c8e27

Browse files
committed
Updated parser to support add cache table command
1 parent 4e858d8 commit 13c8e27

File tree

1 file changed

+1
-1
lines changed
  • sql/hive/src/main/scala/org/apache/spark/sql/hive

1 file changed

+1
-1
lines changed

sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveQl.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ private[hive] object HiveQl {
216216

217217

218218
/** Returns a LogicalPlan for a given HiveQL string. */
219-
def parseSql(sql : String) = {
219+
def parseSql(sql : String): LogicalPlan = {
220220
try {
221221
if (sql.trim.toLowerCase.startsWith("set")) {
222222
// Split in two parts since we treat the part before the first "="

0 commit comments

Comments
 (0)