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

Query staging data #448

Merged
merged 13 commits into from
Jul 13, 2023
Merged

Query staging data #448

merged 13 commits into from
Jul 13, 2023

Conversation

trueleo
Copy link
Contributor

@trueleo trueleo commented Jun 30, 2023

Fixes #445.

Description

Implements and makes use of a custom query table provider which combines ListingTable and MemTable for querying remote data and staging data together.

UnionExec is used to combine two inputs together. This can be switched out for SortPreservingMergeExec if output is interleaving staging and remote data together on something like select * from table


This PR has:

  • been tested to ensure log ingestion and log query works.
  • added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
  • added documentation for new or modified features or behaviors.

@trueleo trueleo changed the title Arrow stream Add local query Jun 30, 2023
@trueleo trueleo marked this pull request as ready for review June 30, 2023 15:33
@trueleo trueleo changed the title Add local query Query staging data Jul 4, 2023
server/src/event/writer.rs Outdated Show resolved Hide resolved
@nitisht nitisht merged commit ec66d08 into parseablehq:main Jul 13, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Jul 13, 2023
@trueleo trueleo deleted the arrow_stream branch July 13, 2023 08:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Query staging data by reading .arrows files
2 participants