apache / apache/datafusion

Return `NativeType` instead of `DataType` for `get_example_types`

Open
#14,761 2 comments 0 reactions 1 assignee Claimed by @theirix View on GitHub
enhancement
Dominant language
Rust
Stars
9.3k
Forks
2.4k
Avg merge
3d 7h
Merged PRs (30d)
344

Description

### Is your feature request related to a problem or challenge?

`get_example_types` is used to list possible types for a function in information schema

Instead of DataType, NativeType is enough, we don't need to care about the exact DataType.

### Describe the solution you'd like

_No response_

### Describe alternatives you've considered

Maybe we need TypeClass to represent set of NativeType similar to TypeSignatureClass?

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.