-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
Predictive analytics not working out of the box when using docker. #24357
Comments
AFAIK Predictive forecasting is an optional feature introduced with #10324. So at the moment your current workaround is the actual intended way to enable this feature. To me this does not look like a bug, but I see two issues here:
Unfortunately, the integration tests for this feature are currently failing (at least for me). #24406 |
If this is an optional feature, there should be a feature flag that enables it. |
In the UI, when enabling this feature it should cleanly prompt the information "missing requirement 'prophet'". Maybe your issue is related with caching activated which it is not by default. Can you test the same without caching? |
Any ready to go docker images available? like the one you have for |
bump |
@Razikus what version of Superset are you running? The rest of the thread is from the 2.x era. I wouldn't think we're seeing this in 3.1, and we should close this issue if not. |
In prod version in 3.11 it's the same |
Ahh... this PR is the reason (and provides context). From Updating.md:
I think with that, we probably ought to close this out, since it's not a bug, but I'll leave it open for now for further discussion, or in hopes that someone might have some cycles to improve the documentation so others don't get tripped up on this. |
The issue ís that,since it is not installed by default, when users try to
use the feature in a chart, the get an obscure error message.
I propose that either the chart should disabled the UI for the predication,
or should show a user friendly error message.
…On Wed, Feb 28, 2024, 23:17 Evan Rusackas ***@***.***> wrote:
Ahh... this PR <#10324> is the
reason (and provides context).
From Updating.md:
Facebook Prophet has been introduced as an optional dependency to add
support for timeseries forecasting in the chart data API. To enable this
feature, install Superset with the optional dependency prophet or
directly pip install fbprophet
I think with that, we probably ought to close this out, since it's not a
bug, but I'll leave it open for now for further discussion, or in hopes
that someone might have some cycles to improve the documentation so others
don't get tripped up on this.
—
Reply to this email directly, view it on GitHub
<#24357 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACJQ646VRUBYIWTMYV6QITDYV6UHNAVCNFSM6AAAAAAZDMIW3GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZQGAYTGMZQGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
No disagreement, I think that's the right thing to do. We can call that a bug for now. I'd encourage anyone interested in this thread to open a PR though, as I don't think any of the core committers have this high on their list. |
Awesome guys thanks for quick answer |
Hey all. It's been another 6 months since this thread was touched, so I'll go ahead and close it out as... uh... explained? Sounds like folks get the idea of the optionality. If there's a cool way to hide the control when the dependency is not present, we'd be open to that sort of "dynamic controls" PR. |
When deploying Superset using the official docker image, the predictive analytics functionality does not work.
This is due to missing dependencies.
How to reproduce the bug
apache/superset:2.1.0
image.Expected results
The chart to show predictions.
Actual results
Update the chart and receive an error message: 'Error loading data from cache' and the log contains:
Workaround / Fix
In order to remove the error, you need to build a new docker image with the following lines:
Can these missing dependencies not be included in the docker image, so that the functionality will work out of the box?
Checklist
Make sure to follow these steps before submitting your issue - thank you!
The text was updated successfully, but these errors were encountered: