-
Notifications
You must be signed in to change notification settings - Fork 98
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
[fateure](stream-load) Added direct load via BENODE #168
Conversation
@@ -98,6 +98,8 @@ public class DorisStreamLoad implements Serializable { | |||
private static final long cacheExpireTimeout = 4 * 60; | |||
private final LoadingCache<String, List<BackendV2.BackendRowV2>> cache; | |||
private final String fenodes; | |||
//添加BENODES |
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.
English comments
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.
Ok , let me delete that
if (autoRedirect && null == beNodes) { | ||
return RestService.randomEndpoint(fenodes, LOG); |
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.
Is it possible to use autoRedirect directly to judge here? There is no need to add benodes=null logic, otherwise the configuration will be confusing.
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.
ok let me think about this one
import static org.apache.doris.spark.cfg.ConfigurationOptions.DORIS_TABLET_SIZE_DEFAULT; | ||
import static org.apache.doris.spark.cfg.ConfigurationOptions.DORIS_TABLET_SIZE_MIN; | ||
import static org.apache.doris.spark.cfg.ConfigurationOptions.DORIS_TABLE_IDENTIFIER; | ||
import static org.apache.doris.spark.cfg.ConfigurationOptions.*; |
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.
Remove useless imports
5588b7a
to
3c723a5
Compare
changes