jerqi commented on code in PR #5882:
URL: https://github.com/apache/gravitino/pull/5882#discussion_r1888215257
##########
integration-test-common/src/test/java/org/apache/gravitino/integration/test/container/ContainerSuite.java:
##########
@@ -509,6 +538,10 @@ public HiveContainer getKerberosHiveContainer() {
return kerberosHiveContainer;
}
+ public HiveContainer getJdbcHiveContainer() {
Review Comment:
Renamed.
##########
integration-test-common/src/test/java/org/apache/gravitino/integration/test/container/ContainerSuite.java:
##########
@@ -231,6 +232,34 @@ public void startKerberosHiveContainer() {
}
}
+ public void startJdbcHiveContainer(Map<String, String> envVars) {
+ // If you want to enable SQL based authorization, you need both set the
+ // `ENABLE_JDBC_AUTHORIZATION` environment.
+ if (envVars == null
+ || (!Objects.equals(envVars.get(HiveContainer.HIVE_RUNTIME_VERSION),
HiveContainer.HIVE3))
+ || (!envVars.containsKey(HiveContainer.ENABLE_AUTHORIZATION))) {
Review Comment:
Renamed.
--
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]