Quick sight SPICE Refresh error

Hi team,

We are getting the below error (and attached) in a visual that contains a periodOverPeriodPercentDifference function for a YoY calculation. Previously, this has worked without any issue and we have not made any changes.

Dataset is a custom SQL, limiting the data resolves it on one refresh, but issue reappears in next refreshes.

“something went wrong during publishing or querying SPICE dataset. Please check the dataset is published successfully and try again. If you continue to get this error, contact AWS support.”

Is this a known issue? How can we root-cause or troubleshoot, are there logs?

Best regards,

Arjan

Hi @Arjan and welcome to the Quick Community!

At first glance, my initial guess is that this error is being caused by a timeout issue or something is happening that is causing your load time to be too much for the system. But with that said, it is weird that the worked before and now you are experiencing problems with it even after no changes have been made.

What data prep experience are you using? There have been a couple community instances where using the new data prep experience compared to the legacy data prep experience resulted in higher ingestion times.

One other workaround is limiting your data which as you said resolves the issue but then set it to incremental refresh. That way the dataset is not doing a full ingestion every time it refreshes and that could help.

Hi @Arjan Checking in. We have not heard back from you regarding your question. We’d still like to help. If we do not hear back in the next 3 days, we will archive the question

Hi Jacob,

Thank you for your reply. Indeed, this only started recently, has there been an update?

Limiting the data loaded does not structurally solve the issue as it happens sporadically.

Using a custom SQL query, with about 100-150m rows per full refresh, which takes up to 30 minutes.

Are there any logs I can look into too root-cause the issue? The mentioned visual is using periodOverPeriodPercentDifferencefunctions, which is the only common denominator among all the broken visuals.

Best regards,

Arjan

Hi @Arjan ,

Another idea I can think of, if the periodOverPeriodPercentDifference function is what seems to be what is causing this problem, is to perform this calculation outside of your sql and ideally in the analysis level. I am unsure why this error is happening sporadically, but I think the function is most likely putting too much strain to run the query in quick; moreover, a period over period calculation is very doable to achieve on the analysis level. Let me know if you need any additional help on how to formulate this calculation in quicksight.

To your logs question, there is unfortunately not a way to view logs to get a different look into what the root-cause of this issue is. In some cases, I have used the web browser console and that can give further insight into the errors as they happen but that is pretty much it.

Hope this helps!