Skip to content

feat: interval& None value for prev&`next #252

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

Merged
merged 28 commits into from
Sep 14, 2022
Merged

feat: interval& None value for prev&`next #252

merged 28 commits into from
Sep 14, 2022

Conversation

discord9
Copy link
Contributor

@discord9 discord9 commented Sep 13, 2022

merge #231 to correct branch(develop) instead

@discord9 discord9 marked this pull request as ready for review September 13, 2022 12:59
@killme2008
Copy link
Contributor

It's already reviewed in #231 , but merged into wrong branch.

So i merge this PR directly.

@killme2008 killme2008 merged commit 20dcaa6 into develop Sep 14, 2022
@killme2008 killme2008 deleted the feat/py_timer branch September 14, 2022 02:48
paomian pushed a commit to paomian/greptimedb that referenced this pull request Oct 19, 2023
* test: for builtin functions

* test: expect fail for `datetime()`

* feat: add `interval()` fn(WIP)

* feat: `interval()` fn in builtin(UNTEST)

* refactor: move `py_vec_obj_to_array` to util.rs

* style: fmt

* test: simple `interval()` cases

* test: `interval()` with `last()`&`first()`

* doc: `ts` param of `interval()`

* log: common_telemetry for logging in script crate

* doc: corrsponding test fn for each .ron file

* feat: change to`mpsc` for schedule_job

* test: schedule_job

* dep: rm rustpython dep in common-function

* refactor: mv `schedule_job` into `Script` trait

* test: change to use `interval` to sample datapoint

* feat: add gen_none_array for generate None Array

* feat: impl Missing value for `prev`&`next`

* test: `sum(prev(values))`

* doc: add comment for why not support Float16 in `prev()`

* feat: add `interval` in py side mock module

* style: cargo fmt

* refactor: according to comments

* refactor: extract `apply_interval_function`

* style: cargo fmt

* refactor: remove `schedule()`

* style: cargo fmt
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

Successfully merging this pull request may close these issues.

2 participants