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

Feature Request: Support Sparklyr #109

Closed
harryprince opened this issue Apr 7, 2019 · 4 comments
Closed

Feature Request: Support Sparklyr #109

harryprince opened this issue Apr 7, 2019 · 4 comments

Comments

@harryprince
Copy link

harryprince commented Apr 7, 2019

Hi tidyverts team:
tsibble looks so great in handling time series data. In production, most of the common feature engineering is windowing, such as the sliding window, fixed window and so on.

I am manually make sliding window by pretty complicated Spark SQL instead of tidyverts style, because tsibble currently not support spark like dplyr.

Wish to discuss more tsibble on sparklyr in production.

The sparklyr struct streaming is also a good candidate to integrate with tsibble.

@earowang
Copy link
Member

earowang commented Apr 7, 2019

I'd actually like tsibble to support SQL databases #49 .

But the tsibble's APIs will take a while to get stable. I'd probably wait to implement other heavy features until the maturity of tsibble. It will be developed in a new package because tsibble is relatively a heavy package.

@harryprince
Copy link
Author

harryprince commented Apr 15, 2019

@earowang I totally agree with you, wish to start the new package development in the near future.

When it comes to real-time time series problem, spark streaming is a candidate framework that we need to notice, and wish it could be a reference when we start next construction. Here are the common windowing models that we need to implement.

  • fiexed window
  • sliding window
  • session window
  • decay
  • last value window

@ellisvalentiner
Copy link

@harryprince you might also be interested in the Flint issue over on the sparklyr repo. I haven't worked with Flint yet but it looks promising. Perhaps there is even a way of integrating tsibble with sparklyr/Flint down the road.

@earowang
Copy link
Member

Closing this, since the window functions are deprecated in favour of the {slider} package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants