pixie-io / pixie

Instant Kubernetes-Native Application Observability
https://px.dev
Apache License 2.0
5.58k stars 427 forks source link

Streaming queries with positive start time will run forever. #515

Open sync-by-unito[bot] opened 2 years ago

sync-by-unito[bot] commented 2 years ago

This is due to the way memory_source_node.cc handles not finding the start time. Any streaming query with a start time in the future, will run forever outputting Zero row row batches.

┆Issue is synchronized with this Jira Bug by Unito

sync-by-unito[bot] commented 2 years ago

➤ James Bartlett commented:

Actually looking at the code a bit closer, it might be hanging for some other reason, because it should set eos if it doesn’t find the start time.

sync-by-unito[bot] commented 2 years ago

➤ James Bartlett commented:

import px

df = px.DataFrame('http_events', start_time='+5m') df = df.stream()

px.display(df)