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

random stream data generating speed is inconsistent with given eps #456

Closed
lizhou1111 opened this issue Dec 30, 2023 · 0 comments · Fixed by #457
Closed

random stream data generating speed is inconsistent with given eps #456

lizhou1111 opened this issue Dec 30, 2023 · 0 comments · Fixed by #457
Assignees
Labels
bug Something isn't working

Comments

@lizhou1111
Copy link
Contributor

drop stream if exists ip_rand;
create random stream if not exists ip_rand(ip ipv4) settings eps=10e5;
select count(*) from tumble(ip_rand,1s) group by window_start settings eps=100000;

oupput:

LAPTOP-7GEID028. :) select count(*) from tumble(ip_rand,1s) group by window_start settings eps=100000

SELECT
  count(*)
FROM
  tumble(ip_rand, 1s)
GROUP BY
  window_start
SETTINGS
  eps = 100000

Query id: a74594fe-46e0-4d9f-91f4-2b272f1b0152

Connecting to localhost:8463 as user default.
Connected to proton server version 1.3.29 revision 54459.

┌─count()─┐
│  527863 │
└─────────┘
┌─count()─┐
│  754090 │
└─────────┘
┌─count()─┐
│  754090 │
└─────────┘

it is way out of given eps,pls fix it

@lizhou1111 lizhou1111 added the bug Something isn't working label Dec 30, 2023
@lizhou1111 lizhou1111 self-assigned this Dec 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant