Skip to content

Commit

Permalink
Fix Unrecognized GetInfoType value: CLI_ODBC_KEYWORDS
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyum committed Nov 24, 2020
1 parent 17deafb commit 98e80e8
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -104,6 +104,7 @@ private[hive] class SparkSQLCLIService(hiveServer: HiveServer2, sqlContext: SQLC
case GetInfoType.CLI_SERVER_NAME => new GetInfoValue("Spark SQL")
case GetInfoType.CLI_DBMS_NAME => new GetInfoValue("Spark SQL")
case GetInfoType.CLI_DBMS_VER => new GetInfoValue(sqlContext.sparkContext.version)
case GetInfoType.CLI_ODBC_KEYWORDS => new GetInfoValue("Unimplemented")
case _ => super.getInfo(sessionHandle, getInfoType)
}
}
Expand Down

0 comments on commit 98e80e8

Please sign in to comment.