BePPPower commented on code in PR #23635:
URL: https://github.com/apache/doris/pull/23635#discussion_r1315311776
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/ExportCommand.java:
##########
@@ -49,35 +100,248 @@ public class ExportCommand extends Command implements
ForwardWithSync {
public ExportCommand(List<String> nameParts, List<String> partitions,
String whereSql, String path,
Map<String, String> fileProperties, BrokerDesc brokerDesc) {
super(PlanType.EXPORT_COMMAND);
- this.nameParts = nameParts;
+ this.nameParts =
ImmutableList.copyOf(Objects.requireNonNull(nameParts, "nameParts should not be
null"));
+ this.path = Objects.requireNonNull(path.trim(), "export path should
not be null");
this.partitionsNameList = partitions;
this.whereSql = whereSql;
- this.path = path.trim();
this.fileProperties = fileProperties;
- this.brokerDesc = brokerDesc;
+ if (brokerDesc == null) {
Review Comment:
done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]