Skip to content

[Feature request] Set decimal precision for outputs #26

@agaurav

Description

@agaurav

Firstly, my thanks for the best clickhouse command line client out there. Its syntax highlighting, auto-completes and multi-line editing make things so much easier than the clickhouse-client.

One of the main pain points in current output formats is arbitrary long floats, which makes the column width way larger than they should be and much less readable.
An option to set precision to fix number of decimals will be really very big improvement in my opinion. Something similar to numpy's set_printoptions(precision=4) .

Is it something that can be implemented easily in the current flow ?
Will be happy to help out if its something that won't need a lot of refactoring.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions