Code Monkey home page Code Monkey logo

Comments (4)

kfaraz avatar kfaraz commented on August 19, 2024

@FrankChen021 , the first column Total Rows denotes the total number of rows in the datasource, not the total size. Do you mean it should be displayed as 5 million, 63 billion, etc? I think the current approach of showing the exact total number of rows is better.

from druid.

FrankChen021 avatar FrankChen021 commented on August 19, 2024

Yes, i mean show the number as 5M, 63B.

from druid.

vogievetsky avatar vogievetsky commented on August 19, 2024

Those columns are human readable (that is what the ,s are for) the term you are looking for is "abbreviated".

There is a reason why I chose to show those column unabbreviated. Let me explain here and then if we can decide if it still applies.

The main issue with abbreviation is that it can make numbers that are very different visually appear very similar or even opposite in size. You can see it in the Total data size column in your screenshot. What is bigger 5.12 PB or 15.53 MB? what if you squint or take off your glasses (see blurry screenshot attached)? One way to solve this is to abbreviate the entire column to the same unit but that looses a lot of resolution on the small things.

The Total rows column is very special it can vary from 63 billion to 2 as it does in your screenshot. It is also common that people care about the exact number like if you are importing data from somewhere where you know you have 63,267,111,852 rows you want to see that 63,267,111,852 exactly made it into Druid. By leaving it unabbreviated it easily shows the relative size of the datasource even from afar (again see my blurred screenshot). Lastly it is just cool to see a big number.

The Avg row size is unabbreviated because it simply no likely to have a lot of range. Rows in Druid rarely exceed a couple of kilobytes in size. If your rows are getting close to megabytes you would very much want to know it very prominently.

image

from druid.

FrankChen021 avatar FrankChen021 commented on August 19, 2024

I think you're right, sometimes users might care about the exact number of rows. it's complex if we support both formats.
let me close this proposal.

from druid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.