-
Notifications
You must be signed in to change notification settings - Fork 234
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
pretty-print: add pretty print #469
Conversation
this branch/PR will be rebased after this PR #468 |
61eba28
to
34f7a5a
Compare
|
just noticed the commit msg pattern you guys use. let me quickly update that |
34f7a5a
to
523b50a
Compare
Since we included many |
by binary you mean just the |
0d03a51
to
5397dd1
Compare
rust/src/bin/lq.rs
Outdated
let mut total_num_of_cols: usize = 0; | ||
for b in batch.iter() { | ||
total_num_of_rows += b.num_rows(); | ||
total_num_of_cols += b.num_columns(); |
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 columns could be the same amount batches. We could just print num of columns from the first batch.
For the number of rows, let's wait for #495 to get in?
The rest LGTM
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.
done
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.
you are right the cols would be same from the 1st batch
688d88e
to
3c4b260
Compare
@changhiskhan @eddyxu plz merge this pr |
Thanks @AsadullahFarooqi for your contribution. |
haven't tested these prints because I haven't seen any query example