-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Update lookup model in console #15472
Conversation
f928f70
to
59c1821
Compare
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.
Thank you
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.
Wait, what does 30 (optional), default is 0
mean?
30 is placeholder value which is recommended to set to starts with. May be placeholder string needs to be amended to depict it correctly. Let me know if you have suggestions., |
c74c7d3
to
c6406c2
Compare
@@ -464,30 +464,30 @@ export const LOOKUP_FIELDS: Field<LookupSpec>[] = [ | |||
{ | |||
name: 'extractionNamespace.jitterSeconds', | |||
type: 'number', | |||
placeholder: '30 (optional), default is 0', | |||
placeholder: '30 (optional) ', |
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.
instead of setting the placeholder this you could just add defaultValue: 30
this basically sets the placeholder to 30
. The (optional)
label is not needed because visually when you open the form and there is a default value filled in as the placeholder it visually conveys "optional". The placeholder is really there for when you need to override the default behavior that I don't think you need to do 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.
thank you for address in the various feedbacks! |
Description
Adding optional jitterSeconds, loadTimeoutSeconds,maxHeapPercentage to jdbc lookup add/edit forms. We had added first 2 params recently https://github.com/apache/druid/blob/master/docs/development/extensions-core/lookups-cached-global.md#jdbc-lookup specifically for jdbc.
This PR has: