Skip to content

[Backport] various fixes and improvements to vectorization fallback#17142

Merged
clintropolis merged 1 commit intoapache:31.0.0from
clintropolis:backport-17098-to-31.0.0
Sep 24, 2024
Merged

[Backport] various fixes and improvements to vectorization fallback#17142
clintropolis merged 1 commit intoapache:31.0.0from
clintropolis:backport-17098-to-31.0.0

Conversation

@clintropolis
Copy link
Copy Markdown
Member

Backport of #17098 to 31.0.0.

changes:
* add `ApplyFunction` support to vectorization fallback, allowing many of the remaining expressions to be vectorized
* add `CastToObjectVectorProcessor` so that vector engine can correctly cast any type
* add support for array and complex vector constants
* reduce number of cases which can block vectorization in expression planner to be unknown inputs (such as unknown multi-valuedness)
* fix array constructor expression, apply map expression to make actual evaluated type match the output type inference
* fix bug in array_contains where something like array_contains([null], 'hello') would return true if the array was a numeric array since the non-null string value would cast to a null numeric
* fix isNull/isNotNull to correctly handle any type of input argument
@clintropolis clintropolis added this to the 31.0.0 milestone Sep 24, 2024
@clintropolis clintropolis merged commit cf00b4c into apache:31.0.0 Sep 24, 2024
@clintropolis clintropolis deleted the backport-17098-to-31.0.0 branch September 24, 2024 23:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant