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

Query considered Straddled join during plan, but not during execution #1420

Open
altmannmarcelo opened this issue Jan 14, 2025 · 0 comments
Open
Assignees
Labels
Low priority Created by Linear-GitHub Sync

Comments

@altmannmarcelo
Copy link
Contributor

Description

Check why we are considering the below query as straddled:

This uses mysql employees database - https://github.com/datacharmer/test_db

create cache from SELECT d.dept_name, COUNT(*) AS employee_count FROM dept_emp de JOIN departments d ON de.dept_no = d.dep
t_no WHERE de.to_date = '9999-01-01' GROUP BY de.dept_no;

ERROR 1105 (HY000): Error during RPC (extend_recipe): Failed to plan migration: Operation unsupported: Straddled joins are not supported

However, this is not remapping keys at domain::on_replay_misses nor is considered generated on Ingredient::Join::on_input

Change in user-visible behavior

Requires documentation change

@altmannmarcelo altmannmarcelo added the Low priority Created by Linear-GitHub Sync label Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Low priority Created by Linear-GitHub Sync
Projects
None yet
Development

No branches or pull requests

2 participants