-
Notifications
You must be signed in to change notification settings - Fork 407
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
[#3966] feat(core): add cloud and region property for catalog #3967
Conversation
@@ -15,6 +15,9 @@ | |||
@Evolving | |||
public abstract class BaseCatalogPropertiesMetadata extends BasePropertiesMetadata { | |||
|
|||
public static final String CLOUD_NAME = "cloud.name"; | |||
public static final String CLOUD_REGION_CODE = "cloud.region-code"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is better to define these two reserved properties in Catalog interface. So users will know how to use it. Also don't forget to update the doc.
b580687
to
8928e01
Compare
| Property Name | Description | Default Value | Required | Since Version | | ||
|---------------------|-----------------------------------------------------------------------------------------------------------------------------------------|---------------|----------|---------------| | ||
| `cloud.name` | The property to specify the cloud that the catalog is running on. The valid values are `aws`, `azure`, `gcp`, `on_premise` and `other`. | (none) | No | 0.6.0 | | ||
| `cloud.region-code` | The property to specify the region code of the cloud that the caatlog is running on. | (none) | No | 0.6.0 | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe you can also move to here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
What changes were proposed in this pull request?
add
cloud.name
andcloud.region-code
property for catalogWhy are the changes needed?
Fix: #3966
Does this PR introduce any user-facing change?
yes, introduce some limitations of
cloud.name
propertyHow was this patch tested?
tests added