Skip to content

Use a pager for query results in datafusion-cli #15596

Open
@djellemah

Description

@djellemah

Is your feature request related to a problem or challenge?

In datafusion-cli, query output is often longer or wider than a terminal.

In unixes, the usual approach to handling this problem is to use a pager program like less or more

For example, psql for postgres uses that approach.

Describe the solution you'd like

Where a pager is specified, output query results to the pager using whatever settings are applicable.

Allow the user to specify a pager of their choice, and to switch off the pager.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions