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

view delta rewrite failed #43788

Closed
ABingHuang opened this issue Apr 9, 2024 · 0 comments · Fixed by #43861
Closed

view delta rewrite failed #43788

ABingHuang opened this issue Apr 9, 2024 · 0 comments · Fixed by #43861
Labels
type/bug Something isn't working

Comments

@ABingHuang
Copy link
Contributor

Steps to reproduce the behavior (Required)

create materialized view mv_1
refresh manual
PROPERTIES (
"unique_constraints" = "customer.c_custkey;part.p_partkey",
"foreign_key_constraints" = "lineorder(lo_custkey) REFERENCES customer(c_custkey);lineorder(lo_partkey) REFERENCES part(p_partkey)"
)
as
select lo_orderkey, lo_linenumber, lo_custkey, lo_revenue, c_name,p_name
from
lineorder left outer join customer on lo_custkey = c_custkey
left outer join part on lo_partkey = p_partkey;

select lo_orderkey, lo_linenumber, lo_custkey, lo_revenue, p_name from lineorder left outer join part on lo_partkey = p_partkey where p_name='sky deep';

Expected behavior (Required)

query should be rewritten by mv_1

Real behavior (Required)

query is not rewritten by mv_1

StarRocks version (Required)

  • You can get the StarRocks version by executing SQL select current_version()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant