Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when intermedia data type is not a struct type #5840

Closed
liujp opened this issue May 22, 2024 · 3 comments · Fixed by #5876
Closed

Error when intermedia data type is not a struct type #5840

liujp opened this issue May 22, 2024 · 3 comments · Fixed by #5876
Labels
bug Something isn't working triage

Comments

@liujp
Copy link
Contributor

liujp commented May 22, 2024

Backend

VL (Velox)

Bug description

when define an intermediate type of the uadf without Row as:
image

and register a UDAF signature:
image
image

but an error occurs:
image

image

Spark version

None

Spark configurations

No response

System information

No response

Relevant logs

No response

@liujp liujp added bug Something isn't working triage labels May 22, 2024
@liujp
Copy link
Contributor Author

liujp commented May 22, 2024

@marin-ma

@FelixYBW
Copy link
Contributor

Is the root cause that UDF doesn't support struct?

@liujp
Copy link
Contributor Author

liujp commented May 25, 2024

Is the root cause that UDF doesn't support struct?

Multi-parameters in intermediate can be set in this way, but it is wried for users, when they want only to use a single type.
by the way, if the intermediate type is struct<XX_type>, the aggregate planNode can be transformed error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants