Skip to content

Conversation

@delamarch3
Copy link
Contributor

@delamarch3 delamarch3 commented Nov 8, 2024

Which issue does this PR close?

Closes #13271

Rationale for this change

As mentioned on the issue, the implementations for information_schema.routines and information_schema.parameters will need to be able to list all possible combinations of argument types.

What changes are included in this PR?

  • Implement get_possible_types for Uniform, Coercible, Variadic, Numeric and String.

Are these changes tested?

Yes

Are there any user-facing changes?

No

@delamarch3 delamarch3 marked this pull request as ready for review November 8, 2024 16:30
@alamb
Copy link
Contributor

alamb commented Nov 8, 2024

FYI @goldmedal

Copy link
Contributor

@goldmedal goldmedal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @delamarch3 for working on this. Overall looks good to me but some suggestions.

@delamarch3
Copy link
Contributor Author

@goldmedal Thanks for the review, I've committed your suggestions

Copy link
Contributor

@goldmedal goldmedal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @delamarch3 👍

@goldmedal goldmedal merged commit ee56d6a into apache:main Nov 10, 2024
jayzhan211 pushed a commit to jayzhan211/datafusion that referenced this pull request Nov 12, 2024
…c and String (apache#13313)

* implement get_possible_types for Uniform, Coercible, Variadic, Numeric and String

* fix possible types for variadic

* use cloned

* add Utf8View to STRINGS

* add todo to support other native types

Co-authored-by: Jax Liu <liugs963@gmail.com>

---------

Co-authored-by: Jax Liu <liugs963@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inferring the possible types from the TypeSignature

3 participants