-
Notifications
You must be signed in to change notification settings - Fork 58
[WIP] Proof of concept columnar query-engine #1342
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
Draft
albertlockett
wants to merge
68
commits into
open-telemetry:main
Choose a base branch
from
albertlockett:albert/kql-df-2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1342 +/- ##
==========================================
- Coverage 82.84% 79.08% -3.77%
==========================================
Files 392 307 -85
Lines 106402 70808 -35594
==========================================
- Hits 88153 56000 -32153
+ Misses 17715 14274 -3441
Partials 534 534
🚀 New features to boost your workflow:
|
Member
Author
|
for my immediate next step, I plan to do some performance analysis/testing on this |
ba0b8b7 to
976cfb1
Compare
This was referenced Nov 5, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proof of concept for a columnar query engine that processes OTAP batches using DataFusion.
The "engine" is the
data_engine_columnar::engine::OtapBatchEnginestruct. It'sprocesstakes adata_engine_expressions::PipelineExpressionapplies the specified transformations to a batch ofOtapArrowRecords. This method first builds adatafusion::logical_plan::LogicalPlanfrom the pipeline'sDataExpressions, then applies the plan to the root batch, then updates the child record batches.This work is still very much proof of concept. Functionality is quite limited and there are some known issues. I'll probably continue to work on this and update the list below as fixes/features are added:
Supported Functionality:
Payload Types
Filtering
<left> <operator> <right>==,>and>=leftsupport includes:severity_type,event_name)resource.schema_url,scope.name)attributes["X"], `resource.attributes["Y"])rightmust be a literal (putting the column on the right is not yet supported)or,andandnotare supportedto call out some known filtering gaps:
log.bodyis not yet supportedTransforms
extendto set the value of a column is supportedConditional Logic
Adds a
ConditionalDataExpressionmeant to represent a hypotheticalif/else if/elsetype of expression for conditionally applying transforms to certain rows in the batch. This could be hypothetically thought of asExamples
TL;DR examples of currently supported pipelines: