-
Notifications
You must be signed in to change notification settings - Fork 594
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
feat(nimtable): nimtable make drop table more robust #18422
feat(nimtable): nimtable make drop table more robust #18422
Conversation
let s3_region = if let Ok(region) = std::env::var("AWS_REGION") { | ||
region | ||
} else { | ||
"us-east-1".to_string() | ||
}; |
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.
Should this be a required field without default value?
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.
You are right. Currently, the default value is used in local development. We can make all of them required.
"us-east-1".to_string() | ||
}; | ||
|
||
let s3_endpoint = if let Ok(endpoint) = std::env::var("AWS_ENDPOINT_URL") { |
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.
ditto
endpoint | ||
} else { | ||
"http://127.0.0.1:9301".to_string() | ||
}; | ||
|
||
let s3_region = if let Ok(region) = std::env::var("AWS_REGION") { | ||
region | ||
let s3_bucket = if let Ok(bucket) = std::env::var("AWS_BUCKET") { |
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.
ditto
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.
Rest LGTM
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.
LGTM
I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
Checklist
./risedev check
(or alias,./risedev c
)Documentation
Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.