-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Configurable metrics reporter by catalog properties #6410
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 5 commits
4b69265
f1d60b5
ec02965
ec0d162
bea52f7
1f5e9e6
43bc9b9
d217b42
8eb8d93
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -89,7 +89,7 @@ public void initialize(String name, Map<String, String> properties) { | |
| "Cannot initialize JDBCCatalog because warehousePath must not be null or empty"); | ||
|
|
||
| this.warehouseLocation = LocationUtil.stripTrailingSlash(inputWarehouseLocation); | ||
| this.catalogProperties = properties; | ||
| this.catalogProperties = ImmutableMap.copyOf(properties); | ||
|
|
||
| if (name != null) { | ||
| this.catalogName = name; | ||
|
|
@@ -464,6 +464,11 @@ public boolean namespaceExists(Namespace namespace) { | |
| return JdbcUtil.namespaceExists(catalogName, connections, namespace); | ||
| } | ||
|
|
||
| @Override | ||
| protected Map<String, String> properties() { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm confused, because the changes in this file should be gone after a rebase
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sorry, I didn't build locally. |
||
| return catalogProperties == null ? ImmutableMap.of() : catalogProperties; | ||
| } | ||
|
|
||
| private int execute(String sql, String... args) { | ||
| return execute(err -> {}, sql, args); | ||
| } | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.