Skip to content

Commit

Permalink
feat(show): print the number of rows and columns at show cmd (#529)
Browse files Browse the repository at this point in the history
  • Loading branch information
dakimura authored Dec 7, 2021
1 parent 5f9ad98 commit 71a4005
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/connect/session/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ func printResult(queryText string, cs *dbio.ColumnSeries, optionalFile ...string
}
if writer == nil {
printHeaderLine(cs)
fmt.Printf("(%d rows * %d columns)\n", len(epoch), len(cs.GetColumnNames()))
} else {
writer.Flush()
}
Expand Down

0 comments on commit 71a4005

Please sign in to comment.