Skip to content

[Bug] Fix the exception when building in predicate if the value is empty #6899

@Stefanietry

Description

@Stefanietry

Search before asking

  • I searched in the issues and found nothing similar.

Paimon version

1.1

Compute Engine

spark engine

Minimal reproduce step

  1. call PredicateBuilder#in(int, java.util.List<java.lang.Object>) and pass an empty list to the second parameter

What doesn't meet your expectations?

When executing join query by spark and optimized by dynamic filter, the value on filter becomes empty, ultimately leading to the exception

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions