vmware-archive / quickstep

Quickstep Project
Apache License 2.0
27 stars 13 forks source link

Quickstep print catalog #222

Closed rogersjeffreyl closed 8 years ago

rogersjeffreyl commented 8 years ago

This PR prints the number of blocks and the number of tuples for each relation in the \d and \dt commands

quickstep> \d List of relations

Name | Type | Blocks | Rows +-------------------------------------------------------+--------+----------+-------+ foo | table | 1 | 5
foo2 | table | 1 | 2
foo3 | table | 1 | 1
foo4 | table | 0 | 0
averylongtablenamethatseemstoneverend | table | 1 | 3

hbdeshmukh commented 8 years ago

Hi @rogersjeffreyl

Made one pass, the comments should be easy to address. Thanks for the feature, it should be helpful in the experiments!

hbdeshmukh commented 8 years ago

LGTM, merging.