Skip to content

Commit

Permalink
[FLINK-29188][sql-gateway][hive] Make option "sql-gateway.endpint.hiv…
Browse files Browse the repository at this point in the history
…eserver2.catalog.hive-conf-dir" required
  • Loading branch information
fsk119 authored and wuchong committed Sep 19, 2022
1 parent b37a815 commit c2305d0
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public String factoryIdentifier() {

@Override
public Set<ConfigOption<?>> requiredOptions() {
return Collections.emptySet();
return Collections.singleton(CATALOG_HIVE_CONF_DIR);
}

@Override
Expand All @@ -95,7 +95,6 @@ public Set<ConfigOption<?>> optionalOptions() {
THRIFT_WORKER_THREADS_MAX,
THRIFT_WORKER_KEEPALIVE_TIME,
CATALOG_NAME,
CATALOG_HIVE_CONF_DIR,
CATALOG_DEFAULT_DATABASE,
MODULE_NAME));
}
Expand Down

0 comments on commit c2305d0

Please sign in to comment.