Skip to content

Conversation

@fresh-borzoni
Copy link
Contributor

Purpose

Linked issue: close #153

Add a poll() method to Python LogScanner for incremental, timeout-based record reading.

Brief change log

  • Add LogScanner.poll(timeout_ms) method to Python bindings
  • Implement input validation for timeout parameter (rejects negative values)
  • Return empty PyArrow table (with correct schema) on timeout instead of error
  • Add example usage demonstrating poll-based consumption pattern

API and Format

  • New public API: LogScanner.poll(timeout_ms: int) -> pyarrow.Table
  • No storage format changes

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.

Add blocking poll similar to C++ bindings into python bindings

1 participant