-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Format data sizes across UI #2867
Conversation
feec563
to
7705cdf
Compare
7705cdf
to
3ba790e
Compare
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.
Could you share screenshot?
presto-main/src/main/java/io/prestosql/server/DataSizeSerializer.java
Outdated
Show resolved
Hide resolved
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.
The purpose of the DataSize
change was to make the JSON representation exact. Adding this custom serializer effectively reverts that change. Instead, we should change the UI to format the values appropriately.
9afae4c
to
f4e57ac
Compare
@electrum done :) |
f4e57ac
to
36e377f
Compare
Rebased :) |
36e377f
to
1861c85
Compare
1861c85
to
eb26743
Compare
Merged, thanks! |
Fixes: #2810
Regression introduced in: airlift/units@f97daed#diff-9e26e64688b68bf016727ae432f099d3R209 (
@JsonValue
moved to other method)