-
Notifications
You must be signed in to change notification settings - Fork 33
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
[BUG] Materailized View / Covering Index gets stuck in refreshing state #764
Comments
@penghuo @noCharger can you please take a look ? |
What is the problem, and what is the expected behavior? Both components in this issue are identical. |
@noCharger Updated the statement. Sorry I thought |
Could you provide more info, such as your create MV/CV statement or Spark log? The context currently provided makes troubleshoot impossible ... |
Sure thing. Sorry I should've included that in the first place. The reason why I didn't include any specific example was because this issue happens regardless of what's inside the MV/CI statement. In addition, manual refresh works fine for the same statement.
|
@A-Gray-Cat Thanks for the info! QQ: is Meanwhile, could you help quick check the following things:
|
Thanks for your prompt response @dai-chen Yes. That's an iceberg table, and I suspect that's probably one of the root causes. It's a good reminder that the issue you linked could also impact this. I tried different statements and found the Another observation: The same statement (see below) I used to create manual and auto-refresh materialized view ingested different amount of documents, and after the first run, I haven't seen the auto-refresh materialized view added any more documents, and it's stuck in One question: If I omit the where clause for the timestamp field, will the materialized view ingest all the data from the table every 15 minutes?
|
@A-Gray-Cat I see. Just to confirm my understanding:
For your question, yes, MV will start from the very beginning of the source dataset if we remove the timestamp filtering condition. Thanks! |
|
Quick update @dai-chen I created an auto-refresh MV today, and it actually kept refreshing as expected, and even the The statement I put their tries to retrieve all the logs in past 1 day, but it doesn't go back long enough to collect all the logs. I will open another issue for it. I think we can close this one since it somehow got resolved, not sure if you already implemented some fixes for this. Thanks again for the help! |
@A-Gray-Cat Great to hear it’s finally working! :) Feel free to track the new issue separately. Thanks! |
What is the bug?
After creating an
auto refresh
materialized view or covering index, the created acceleration would stay inRefreshing
state forever, with no data gets ingested.How can one reproduce the bug?
Steps to reproduce the behavior:
auto_refresh=true
.Data sources
-> Click the flint data source -> ClickAccelerations
to monitor the state of the acceleration that was just created.What is the expected behavior?
The status should reflect the correct state, e.g. failed, succeeded, or it's actually refreshing the index.
What is your host/environment?
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.
The text was updated successfully, but these errors were encountered: