Skip to content

Failed to hit the sub table field “LEFT JOIN” bug #36109

@NoodLiu

Description

@NoodLiu

tableA contains 1000 records

Query: SELECT * FROM tableA a LEFT JOIN tableB b ON a.id = b.id
Returns 1000 records

However, when using partitioned tables:

Query: SELECT * FROM tableA a LEFT JOIN tableB_2021 b ON a.id = b.id
Returns 1000 records

Query: SELECT * FROM tableA a LEFT JOIN tableB_2022 b ON a.id = b.id
Returns 1000 records

The final combined result becomes 2000 records. How can we make the partitioned query results match the original query result?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions