Skip to content

Add an option to display column types in the table #15442

@blaginin

Description

@blaginin

Is your feature request related to a problem or challenge?

Suggested by @Omega359 and @jayzhan211 in #15395 (comment)

We want to improve how tables are displayed in datafusion - removing unnecessary details and focusing on genuinely useful information. One key aspect of "useful" is displaying column types.

Describe the solution you'd like

We want to have an option to display column type when rendeing table. For example:

"+---------------+----------------+",
"| my_int32_name | my_string_name |",
"| Int32         | Utf8           |",
"+---------------+----------------+",
"| 1             | foo            |",
"| 2             | bar            |",
"| null          | null           |",
"| 3             | baz            |",
"| 4             | null           |",
"+---------------+----------------+",

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

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