-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reduce UI response data size for cluster overview page #8892
Conversation
core/trino-main/src/main/java/io/trino/server/ui/UiBasicQueryInfo.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/server/ui/UiQueryResource.java
Outdated
Show resolved
Hide resolved
@posulliv we have done something similar internally. Looking forward to have this change merged. Could you update and rebase the pull request! Thanks! |
99d3238
to
2ce03c0
Compare
core/trino-main/src/main/java/io/trino/server/ui/UiBasicQueryInfo.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/server/ui/UiBasicQueryInfo.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/server/ui/UiBasicQueryInfo.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/server/ui/UiBasicQueryInfo.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/server/ui/UiBasicQueryInfo.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/server/ui/UiBasicQueryInfo.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/server/ui/UiBasicQueryInfo.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/server/ui/UiQueryResource.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/resources/webapp/src/components/QueryList.jsx
Outdated
Show resolved
Hide resolved
if (query.principal) { | ||
user = ( | ||
<span>{query.session.user}<span className="glyphicon glyphicon-lock-inverse" style={GLYPHICON_DEFAULT}/></span> | ||
<span>{query.user}<span className="glyphicon glyphicon-lock-inverse" style={GLYPHICON_DEFAULT}/></span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pre-existing, but why we have condition on principal
if we output user
field only?
seems like condition should be on user
and then principal
field could be removed from the response.
@raghavsethi do you remember?
@dedep @aalbu do you know?
9a7bb3e
to
ff58c92
Compare
@findepi thank you for the many comments! I updated based on your review. |
ff58c92
to
bd881e3
Compare
core/trino-main/src/main/java/io/trino/server/ui/TrimmedBasicQueryInfo.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/server/ui/TrimmedBasicQueryInfo.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/server/ui/TrimmedBasicQueryInfo.java
Outdated
Show resolved
Hide resolved
bd881e3
to
f7f069b
Compare
Resolves #5929