Skip to content

[Bug] [Vectorized] Full join get error result #9687

@HappenLee

Description

@HappenLee

Search before asking

  • I had searched in the issues and found no similar issues.

Version

master

What's Wrong?

CREATE TABLE nt1 (x String);
INSERT INTO nt1 (x) VALUES (NULL);
SELECT 'n fj n', t1.x, t2.x FROM nt1 AS t1 FULL JOIN nt1 AS t2 ON t1.x = t2.x ORDER BY t1.x;

result:

+----------+------+------+
| 'n fj n' | x    | x    |
+----------+------+------+
| n fj n   | NULL | NULL |

What You Expected?

right result:

+----------+------+------+
| 'n fj n' | x    | x    |
+----------+------+------+
| n fj n   | NULL | NULL |
| n fj n   | NULL | NULL |
+----------+------+------+

How to Reproduce?

No response

Anything Else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions