ccaominh commented on a change in pull request #9536: Web console: Clean up
spec before reopening in data loader
URL: https://github.com/apache/druid/pull/9536#discussion_r394760329
##########
File path: web-console/src/views/load-data-view/load-data-view.tsx
##########
@@ -2967,7 +2968,7 @@ export class LoadDataView extends
React.PureComponent<LoadDataViewProps, LoadDat
try {
const resp = await axios.get(`/druid/indexer/v1/task/${initTaskId}`);
- this.updateSpec(resp.data.payload);
+ this.updateSpec(cleanSpec(resp.data.payload));
Review comment:
What do you think about adding a test for the data loader to verify a
reopened spec can be resubmitted?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]