You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have exactly the same problem. It seems like clock mixes seconds with milliseconds. A workaround ("hack") is to use ms instead of s in the code, in your case for a 1s interval: from ts.flint import clocks clock = clocks.uniform(sqlContext, frequency="1ms", offset="0ns") clock.show()
or for one day interval: from ts.flint import clocks clock = clocks.uniform(sqlContext, frequency="86400ms", offset="0ns") clock.show()
@icexelloss
The clocks function for Flint in python is returning incorrect intervals.
The time intervals appear far too large than what I am specifying into the function.
For example:
returns
It should be 1 second intervals but returns intervals of 16 min 40 seconds.
Similarly, an interval of 1 day returns intervals of 2 years.
Also when I supply custom start and end times, the years returned are way out of range.
The text was updated successfully, but these errors were encountered: