Skip to content

Add SortBuilder for SortOptions#9436

Open
Banyc wants to merge 1 commit intoapache:mainfrom
Banyc:master
Open

Add SortBuilder for SortOptions#9436
Banyc wants to merge 1 commit intoapache:mainfrom
Banyc:master

Conversation

@Banyc
Copy link

@Banyc Banyc commented Feb 18, 2026

Which issue does this PR close?

Rationale for this change

want to solve the obscure API problem described in apache/datafusion#20227

What changes are included in this PR?

the change added a new builder for the existing SortOptions

Are these changes tested?

yes and everything passes

Are there any user-facing changes?

yes.

there are new struct SortBuilder and its pub methods introduced

@github-actions github-actions bot added the arrow Changes to the arrow crate label Feb 18, 2026
@Banyc
Copy link
Author

Banyc commented Feb 18, 2026

Risk

should we add a builder pattern if we already have the

SortOptions { a: true, b: false }

construtor pattern?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arrow Changes to the arrow crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments