Skip to content

[Proposal]: Add --output-columns option to read CLI command #1786

@norberttech

Description

@norberttech

Describe the Proposal

Sometime's when analyzing datasets we need to focus on specific columns only, for example when dealing with deeply nested structures.

To make experience better we should add --output-columns option that would be an array input and that would pretty much be the same as $df->select(...$columns)

When columns are not set command should return all of them.

API Adjustments

src/cli/src/Flow/CLI/Command/FileReadCommand.php should get new options:

--output-columns= of type array that by default is empty.

Are you intenting to also work on proposed change?

Yes

Are you interested in sponsoring this change?

None

Integration & Dependencies

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions