Github user hyunsik commented on a diff in the pull request:
https://github.com/apache/tajo/pull/673#discussion_r36169035
--- Diff:
tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/CatalogServer.java
---
@@ -97,19 +103,17 @@
public CatalogServer() throws IOException {
super(CatalogServer.class.getName());
this.handler = new CatalogProtocolHandler();
+ this.linkedMetadataManager = new
LinkedMetadataManager(Collections.EMPTY_LIST);
this.builtingFuncs = new ArrayList<FunctionDesc>();
}
- public CatalogServer(Collection<FunctionDesc> sqlFuncs) throws
IOException {
- this();
+ public CatalogServer(Set<MetadataProvider> metadataProviders,
Collection<FunctionDesc> sqlFuncs) throws IOException {
--- End diff --
It is because the constructor is unnecessary.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---