vogievetsky commented on a change in pull request #8724: Web console: Button to 
pretty print Druid JSON query
URL: https://github.com/apache/incubator-druid/pull/8724#discussion_r338198466
 
 

 ##########
 File path: web-console/src/views/query-view/query-view.tsx
 ##########
 @@ -354,6 +354,11 @@ export class QueryView extends 
React.PureComponent<QueryViewProps, QueryViewStat
     this.explainQueryManager.terminate();
   }
 
+  prettyPrintJson(): void {
+    console.log(Hjson.stringify(Hjson.parse(this.state.queryString)));
 
 Review comment:
   don't log

----------------------------------------------------------------
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]

Reply via email to