We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Summary
Calculates the difference between successive row values in the data block.
Like a table repo_stars:
repo_stars
SELECT date, runningDifference(start) as delta FROM repo_stars
The text was updated successfully, but these errors were encountered:
/assignme
Sorry, something went wrong.
It seems runningDifference function should consider null value condition, and the behavior in clickhouse looks like:
if row[i] is null, then the result is null. if row[i] is not null, and row[i-1] is null, then the result is 0.
is this the expected logic?
ygf11
Successfully merging a pull request may close this issue.
Summary
Calculates the difference between successive row values in the data block.
Like a table
repo_stars
:The text was updated successfully, but these errors were encountered: