-
Notifications
You must be signed in to change notification settings - Fork 47
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
Support TUMBLE function #20
Comments
To add key word "INTERVAL" and support "INTERVAL quantity_expr unit_of_time" grammar. |
It works for me after changed file sqlParser.jison by adding: expr and changed file stringify.js by adding: Sql.prototype.travelIntervalExpression = function (ast) { |
Yes, but SECOND, MINUTE, HOUR.. should better be pack as a "unit_of_time". |
Will support follows https://dev.mysql.com/doc/refman/5.7/en/expressions.html#temporal-intervals |
More and more SQL engines start supporting streaming functions, like
TUMBLE(rowtime, INTERVAL '1' HOUR)
described here https://calcite.apache.org/docs/stream.html#tumbling-windows-improved
Is it possible to support parameter list like "rowtime, INTERVAL '1' HOUR"?
Other functions like:
DATE_ADD(input_value, INTERVAL quantity_expr unit_of_time)
DATE_SUB(input_value, INTERVAL quantity_expr unit_of_time)
The text was updated successfully, but these errors were encountered: