vogievetsky 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_r395766681
##########
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:
I ideally we would have a Druid endpoint that can output the same spec that
was given to it: https://github.com/apache/druid/issues/7631
The console calling `cleanSpec` is really a workaround around not having ☝️
----------------------------------------------------------------
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]