apache / apache/datafusion

More ergnomic way to specify (named) paramters in signature

Open
#18,685 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
9.3k
Forks
2.4k
Avg merge
3d 7h
Merged PRs (30d)
344

Description

would be even nice to refactor such blocks in future so param names and types put together like

```
f.withNames("str", "str_pos").withTpyes("string", "i64")
```

_Originally posted by @comphead in https://github.com/apache/datafusion/pull/18653#discussion_r2524324458_

Contributor guide

Open the contributing guide

Research direction

Start with the signature-building code discussed in PR #18653 and review the current APIs for specifying parameter names and types. Compare them with the proposed withNames and withTypes form, then define the supported ergonomic interface and update its tests so the combined names and types are verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend-api-design
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.