Skip to content

Conversation

@chenzhx
Copy link

@chenzhx chenzhx commented Sep 5, 2022

…ta type for In predicate (#535)

When building V2 In Predicate in V2ExpressionBuilder, InSet.dataType (which is BooleanType) is used to build the LiteralValue, InSet.child.dataType should be used instead.

bug fix

no

new test

Closes apache#37271 from huaxingao/inset.

Authored-by: huaxingao [email protected]
Signed-off-by: Dongjoon Hyun [email protected]

Signed-off-by: Dongjoon Hyun [email protected]
Co-authored-by: huaxingao [email protected]

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

…ta type for In predicate (Kyligence#535)

When building V2 `In` Predicate in `V2ExpressionBuilder`, `InSet.dataType` (which is `BooleanType`) is used to build the `LiteralValue`, `InSet.child.dataType` should be used instead.

bug fix

no

new test

Closes apache#37271 from huaxingao/inset.

Authored-by: huaxingao <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>

Signed-off-by: Dongjoon Hyun <[email protected]>
Co-authored-by: huaxingao <[email protected]>
@github-actions github-actions bot added the SQL label Sep 5, 2022
@chenzhx chenzhx merged commit cf7188b into Kyligence:kyspark-3.2.x-4.x-sp-qa Sep 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants