SteNicholas commented on a change in pull request #1921:
URL: https://github.com/apache/incubator-kyuubi/pull/1921#discussion_r810473115
##########
File path:
kyuubi-server/src/test/scala/org/apache/kyuubi/operation/PlanOnlyOperationSuite.scala
##########
@@ -79,6 +79,19 @@ class PlanOnlyOperationSuite extends WithKyuubiServer with
HiveJDBCTestHelper {
}
}
+ test("KYUUBI #1920: Plan only operations with skip Usestatement or
SetNamespaceCommand") {
+ val createDatabaseStatement = "create database test_database"
+ val useStatement = "use test_database"
+ withSessionConf()(Map(KyuubiConf.OPERATION_PLAN_ONLY.key ->
NONE.toString))(Map.empty) {
+ withDatabases("test_database") { statement =>
+ statement.execute(createDatabaseStatement)
Review comment:
```suggestion
statement.execute("create database test_database")
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]