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 huaxin_gao@apple.com
Signed-off-by: Dongjoon Hyun dongjoon@apache.org

Signed-off-by: Dongjoon Hyun dongjoon@apache.org
Co-authored-by: huaxingao huaxin_gao@apple.com

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 <huaxin_gao@apple.com>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>

Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
Co-authored-by: huaxingao <huaxin_gao@apple.com>
@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