[ https://issues.apache.org/jira/browse/CASSANDRA-15194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16878013#comment-16878013 ]
Chris Lohfink commented on CASSANDRA-15194: ------------------------------------------- My intent was to set rounding mode to UP so we never underreport so it would stick at 0.001 for 2.2375e-16. If we just round down though yeah that would be sufficient and wouldnt need a threshold. capitalization in cql is kinda painful since its case sensitive yet auto-uncapitalizes unquoted things. Also since everything else is in lower snake case (likely because of that sensitivity) it _looks weird_. I do agree that its ambiguous though, not sure best approach... could use mb and report in 1,000,000 of bytes or just stick with reporting bytes and punting > Improve readability of Table metrics Virtual tables units > --------------------------------------------------------- > > Key: CASSANDRA-15194 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15194 > Project: Cassandra > Issue Type: Bug > Components: Feature/Virtual Tables > Reporter: Jon Haddad > Assignee: Chris Lohfink > Priority: Normal > > I just noticed this strange output in the coordinator_reads output:: > {code} > cqlsh:system_views> select * from coordinator_reads ; > count | keyspace_name | table_name | 99th | max | > median | per_second > -------+--------------------+--------------------------------+------+-----+--------+------------ > 7573 | tlp_stress | keyvalue | 0 | 0 | > 0 | 2.2375e-16 > 6076 | tlp_stress | random_access | 0 | 0 | > 0 | 7.4126e-12 > 390 | tlp_stress | sensor_data_udt | 0 | 0 | > 0 | 1.7721e-64 > 30 | system | local | 0 | 0 | > 0 | 0.006406 > 11 | system_schema | columns | 0 | 0 | > 0 | 1.1192e-16 > 11 | system_schema | indexes | 0 | 0 | > 0 | 1.1192e-16 > 11 | system_schema | tables | 0 | 0 | > 0 | 1.1192e-16 > 11 | system_schema | views | 0 | 0 | > 0 | 1.1192e-16 > {code} > cc [~cnlwsu] > btw I realize the output is technically correct, but it's not very readable. > For practical purposes this should just say 0. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org