vogievetsky commented on a change in pull request #7421: Add time taken by last
query in SQL view
URL: https://github.com/apache/incubator-druid/pull/7421#discussion_r273270504
##########
File path: web-console/src/components/sql-control.tsx
##########
@@ -218,6 +219,9 @@ export class SqlControl extends
React.Component<SqlControlProps, SqlControlState
{isRune ? 'Rune' : 'Run'}
</Button>
{!isRune ? SqlControlPopover : null}
+ <span className={"query-elapsed"}>
+ Last query took {queryElapsed / 1000} seconds
Review comment:
only show this element if `queryElapsed` is defined also add a `.toFixed(2)`
to format it as `4.53` right now if `queryElapsed` is 3000 this will say `Last
query took 3 seconds` instead it should say `Last query took 3.00 seconds`
----------------------------------------------------------------
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]