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

replay function supports specified column #690

Conversation

lizhou1111
Copy link
Collaborator

Replay function supports specified column.
For example:

drop stream if exists test_rep;
create stream if not exists test_rep(id int, time_col datetime64(3));
insert into test_rep(id, time_col) values (1, '2020-02-02 20:01:14')(2, '2020-02-02 20:01:15')(3, '2020-02-02 20:01:17')(4, '2020-02-02 20:01:20');
select *, from test_rep where _tp_time > earliest_timestamp() settings replay_speed=1, replay_time_column='time_col'

You have to specify the replay time column in the query through the replay_time_column settings

@lizhou1111 lizhou1111 self-assigned this May 8, 2024
@lizhou1111 lizhou1111 requested a review from yl-lisen May 8, 2024 03:12
@lizhou1111 lizhou1111 force-pushed the enhancement/issue-467-replay-function-supports-specified-column branch from e10b6e3 to 44d32f2 Compare May 8, 2024 05:08
@lizhou1111 lizhou1111 marked this pull request as ready for review May 8, 2024 05:08
@lizhou1111 lizhou1111 added the enhancement New feature or request label May 9, 2024
@lizhou1111 lizhou1111 force-pushed the enhancement/issue-467-replay-function-supports-specified-column branch 3 times, most recently from bad0a8b to a9acdae Compare May 14, 2024 09:00
@lizhou1111 lizhou1111 force-pushed the enhancement/issue-467-replay-function-supports-specified-column branch from fc72638 to 9bc337a Compare May 15, 2024 01:38
@lizhou1111 lizhou1111 merged commit 2cbc658 into develop May 15, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants