Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad naming of leftjoin #5009

Open
jievince opened this issue Dec 6, 2022 · 0 comments
Open

Bad naming of leftjoin #5009

jievince opened this issue Dec 6, 2022 · 0 comments
Labels
type/enhancement Type: make the code neat or more efficient

Comments

@jievince
Copy link
Contributor

jievince commented Dec 6, 2022

Introduction

  HashLeftJoin(QueryContext* qctx,
               PlanNode* left,
               PlanNode* right,
               std::vector<Expression*> hashKeys,
               std::vector<Expression*> probeKeys)
      : HashJoin(
            qctx, Kind::kHashLeftJoin, left, right, std::move(hashKeys), std::move(probeKeys)) {}

hashKeys are probeKeys indeed, and probeKeys are hashKeys.
We'd better to cal them leftExprs/rightExprs.

Contents

Related work

@jievince jievince added the type/enhancement Type: make the code neat or more efficient label Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement Type: make the code neat or more efficient
Projects
None yet
Development

No branches or pull requests

1 participant