You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2020/09/29 15:53:48 UTC

[GitHub] [incubator-superset] kkalyan opened a new issue #11106: Issue while using Forecasting

kkalyan opened a new issue #11106:
URL: https://github.com/apache/incubator-superset/issues/11106


   I'm trying to use Prophet forecasting on Druid datasource and it throws the following exception 
   Unexpected Error
   Error: Column ds has timezone specified, which is not supported. Remove timezone.
   
   ### Expected results
   Forecast as illustrated in https://github.com/apache/incubator-superset/pull/10752
   
   ### Actual results
   ValueError: Column ds has timezone specified, which is not supported. Remove timezone.
   ERROR:superset.common.query_context:Column ds has timezone specified, which is not supported. Remove timezone.
   Traceback (most recent call last):
     File "/local/home/kkanuri/env/lib/python3.6/site-packages/superset/common/query_context.py", line 251, in get_df_payload
       query_result = self.get_query_result(query_obj)
     File "/local/home/kkanuri/env/lib/python3.6/site-packages/superset/common/query_context.py", line 117, in get_query_result
       df = query_object.exec_post_processing(df)
     File "/local/home/kkanuri/env/lib/python3.6/site-packages/superset/common/query_object.py", line 262, in exec_post_processing
       df = getattr(pandas_postprocessing, operation)(df, **options)
     File "/local/home/kkanuri/env/lib/python3.6/site-packages/superset/utils/pandas_postprocessing.py", line 672, in prophet
       freq=freq,
     File "/local/home/kkanuri/env/lib/python3.6/site-packages/superset/utils/pandas_postprocessing.py", line 602, in _prophet_fit_and_predict
       model.fit(df)
     File "/local/home/kkanuri/env/lib/python3.6/site-packages/fbprophet/forecaster.py", line 1111, in fit
       history = self.setup_dataframe(history, initialize_scales=True)
     File "/local/home/kkanuri/env/lib/python3.6/site-packages/fbprophet/forecaster.py", line 265, in setup_dataframe
       'Column ds has timezone specified, which is not supported. '
   ValueError: Column ds has timezone specified, which is not supported. Remove timezone.
   
   #### Screenshots
   
   
   
   
   
   #### How to reproduce the bug
   
   1. Go to '...'
   2. Click on '....'
   3. Scroll down to '....'
   4. See error
   
   ### Environment
   
   (please complete the following information):
   
   - superset version: `superset version` - 0.37.2 
   - python version: `python --version` 3.6.9
   - node.js version: `node -v`
   - npm version: `npm -v`
   
   ### Checklist
   
   Make sure these boxes are checked before submitting your issue - thank you!
   
   - [x ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
   - [x ] I have reproduced the issue with at least the latest released version of superset.
   - [x ] I have checked the issue tracker for the same issue and I haven't found one similar.
   
   ### Additional context
   
   @villebro 
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] kkalyan closed issue #11106: Issue while using Forecasting

Posted by GitBox <gi...@apache.org>.
kkalyan closed issue #11106:
URL: https://github.com/apache/incubator-superset/issues/11106


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] issue-label-bot[bot] commented on issue #11106: Issue while using Forecasting

Posted by GitBox <gi...@apache.org>.
issue-label-bot[bot] commented on issue #11106:
URL: https://github.com/apache/incubator-superset/issues/11106#issuecomment-700799920


   Issue-Label Bot is automatically applying the label `#bug` to this issue, with a confidence of 0.88. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback! 
   
    Links: [app homepage](https://github.com/marketplace/issue-label-bot), [dashboard](https://mlbot.net/data/apache/incubator-superset) and [code](https://github.com/hamelsmu/MLapp) for this bot.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] junlincc commented on issue #11106: Issue while using Forecasting

Posted by GitBox <gi...@apache.org>.
junlincc commented on issue #11106:
URL: https://github.com/apache/incubator-superset/issues/11106#issuecomment-700812155


   @kkalyan Thanks for reporting and contributing!!! 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org