Skip to content
⌘K

Velox

A composable and fully extensible C++ execution engine library for data management systems.

health 96contrib 844.3k1 contribution opportunity →

Overview & architecture

C++ standard
–
Build systems
cmake
License
Apache-2.0
Languages
C++
Last release
v2026.10.23.00 · Oct 23, 2026

Repository activity

snapshot Nov 23, 2026
GitHub stars
latest
4.3k▲ 54
Merged PRs (30d)
latest
557▲ 483
Contributors (90d)
latest
124▲ 88
Issue first response p50
latest
10h▼ 3d
1290 open issues508 open PRs561 commits (30d)18 good first issues0 help wanted

Recent notable activity

  • RFC / tracking
    [Spark] Proposal: raise Spark error classes (condition + params) from Spark functions

    Description Full design (Gluten side): apache/gluten#13685. This issue covers only the Velox part and asks Velox maintainers for direction before any code is written. Problem Spark 4.x identifies user-facing errors by error class…

    #20483 · by Abhinav-Agarwal021
  • Merged PR
    fix(dwio)!: Align text floating-point parsing

    Accept numeric f/F/d/D suffixes and exact NaN with an optional sign in text REAL and DOUBLE columns. For example, 1.25f now reads as a number instead of NULL. Use one fast_float::from_chars template for decimal and scientific notation,…

    #19589 · by minni31
  • Merged PR
    perf(index)!: Coalesce scan I/O and prefetch stripes (#20297)

    Summary: Align Nimble scan readahead with RocksDB's encoded file I/O budget. A separate stripe count bounds background decoding and KV conversion. This lets scans issue larger coalesced reads while controlling the work prepared ahead of…

    #20297 · by joshkang97
  • Merged PR
    perf(functions): Avoid date parser allocations with min/max tracking

    Replace the day-of-month and day-of-year value lists in DateTimeFormatter with min/max tracking. Validate the ranges against the final year/month without allocating for repeated fields, while preserving the last parsed field as the…

    #19976 · by letian-jiang
  • RFC / tracking
    [Proposal] Optimize prefix ROLLUP via hierarchical partial aggregation

    Description Motivation A prefix ROLLUP over K grouping keys is typically executed as Expand -> [Project] -> Partial Aggregation. The Expand operator produces K+1 rows for each input row, and the partial aggregation processes these expanded…

    #20047 · by hhr293
  • Merged PR
    feat(datetime)!: Unify AT TIME ZONE overloads (#19632)

    Summary: Under session-zone semantics, at_timezone(ts, zone) returned TIMESTAMP WITH TIME ZONE, while the same call after coercion to TIMESTAMP WITH TIME ZONE returned TIMESTAMP. Register the TIMESTAMP and TIMESTAMP WITH TIME ZONE…

    #19632 · by natashasehgal
  • Merged PR
    refactor(dwio)!: Move SortingWriter to the Hive connector (#19930)

    Summary: SortingWriter sorts rows with exec::SortBuffer before passing them to a file writer, and only the Hive connector uses it. Keeping it in velox/dwio/common made the Buck target velox_dwio_common depend on velox_exec_lib. Anything…

    mbasmanova#19930 · by mbasmanova
  • Merged PR
    fix!: CountDistinctAggregate should override initializeNewGroupsInternal

    Currently, CountDistinctAggregate overrides API initializeNewGroups so it doesn't go through the following code from the base API: cpp for (auto index : indices) { groups[index][initializedByte_] = initializedMask_; } Therefore, the…

    #18991 · by zhztheplayer
  • Merged PR
    fix(exec)!: Fail when a convergence plan produces no row

    Summary: A fixed point's convergence plan decides when the loop stops. When each worker evaluated the plan itself, a plan that produced no row stopped the loop. When worker 0 computed one verdict for every worker, the same result failed…

    mbasmanova#19724 · by mbasmanova
  • Merged PR
    feat(exec)!: Simplify fixed point worker addressing (#19688)

    Summary: X-link: A fixed point that runs on several workers asks the application, through FixedPointOptions hooks, where each worker's per-iteration producers live. The application named the peers with one RemoteConnectorSplit each, while…

    mbasmanova#19688 · by mbasmanova
  • Merged PR
    feat(exec)!: Decide fixed point convergence on worker 0 (#19622)

    Summary: X-link: A partitioned fixed point stops when its convergence check passes, and every worker must stop on the same iteration. Before, every worker ran the check itself. A check over all workers' data shuffled the partials…

    mbasmanova#19622 · by mbasmanova
  • Merged PR
    fix(core)!: Check the plans inside a fixed point (#19676)

    Summary: X-link: PlanConsistencyChecker skipped everything inside a fixed point. FixedPointNode and its state nodes had no visit overload, so visitors reached them through the catch-all for custom nodes, which only visits sources, and a…

    mbasmanova#19676 · by mbasmanova

Stories

Major changeFor you

Velox: fix(dwio)!: Align text floating-point parsing

Accept numeric f/F/d/D suffixes and exact NaN with an optional sign in text REAL and DOUBLE columns. For example, 1.25f now reads as a number instead of NULL. Use one fast_float::from_chars template for decimal and scientific notation,…

Why it matters: Velox is in Storage & Databases (one of your focus areas).

Major changeFor you

Velox: perf(index)!: Coalesce scan I/O and prefetch stripes (#20297)

Summary: Align Nimble scan readahead with RocksDB's encoded file I/O budget. A separate stripe count bounds background decoding and KV conversion. This lets scans issue larger coalesced reads while controlling the work prepared ahead of…

Why it matters: Velox is in Storage & Databases (one of your focus areas).

Major changeFor you

Velox: [Proposal] Optimize prefix ROLLUP via hierarchical partial aggregation

Description Motivation A prefix ROLLUP over K grouping keys is typically executed as Expand -> [Project] -> Partial Aggregation. The Expand operator produces K+1 rows for each input row, and the partial aggregation processes these expanded…

Why it matters: An open RFC/proposal that is still up for discussion. Velox is in Storage & Databases (one of your focus areas).

Maintainers & organizations

every claim links to its source

Maintainers

Top contributors

Releases & changelog

Contribution opportunities

1 published
LabelledMatches your profileOLAP & Analytics Engines

Data race: Task::terminate() iterates preloadingSplits_ without holding mutex_

Bug description Task::terminate() walks and clears preloadingSplits_ without holding mutex_, while driver threads insert into and erase from that same folly::F14FastSet under the lock. When an insert crosses the load factor, F14 reallocates and frees the table storage out from under the iterating thread. What should happen is that preloadingSplits_ is only touched under mutex_, or is detached from the task before anyone iterates it. What happens instead is a use-after-free, and the worker dies with SIGSEGV. The unsynchronized access velox/exec/Task.cpp:2859 on main (deca9543f), after both…

57score
concurrencymemorystorage
  • Demand 25% × 0.24 = 61 reactions, 4 comments
  • Technical fit 30% × 0.61 = 18Velox is in Storage & Databases (a focus area); issue needs concurrency, which you listed
  • Maintainer engagement 25% × 1.00 = 25a maintainer commented; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.40 = 8has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the bug on the latest main branch of Velox, reduce it to a minimal example, and post your findings on the issue before opening a PR.

Rule-generated · updated 20h ago
29 more candidates below the publish threshold
LabelleduntouchedcandidateMatches your profileOLAP & Analytics Engines

Per-batch `QueryConfig` read in `Driver` contends on the config lock at high driver counts

Description After every operator output batch, Driver::validateOperatorOutputResult checks a debug option: cpp // velox/exec/Driver.cpp (main 4404091da), line 1439 if (ctx_->queryConfig().validateOutputFromOperators()) { The accessor reads the value through ConfigBase::get, which takes a shared lock on ConfigBase::mutex_ (std::shared_mutex). All drivers of a query share one QueryConfig, so all of them take the same lock once per operator per batch. Taking a shared lock still updates shared state in the lock, which can cause cache-coherence contention at high concurrency. The option is false…

51score
concurrency
  • Demand 25% × 0.00 = 00 reactions, 1 comments (not counted alone)
  • Technical fit 30% × 0.61 = 18Velox is in Storage & Databases (a focus area); issue needs concurrency, which you listed
  • Maintainer engagement 25% × 1.00 = 25a maintainer commented; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.40 = 8has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated 20h ago
LabelleduntouchedcandidateMatches your profileOLAP & Analytics Engines

Optimize Broadcast Hash Join

Description When using Gluten, if the user increases the broadcast threshold, the performance gap with vanilla Spark becomes significant The reason is that Gluten's BroadcastHashJoin uses Velox's ShuffleHashJoin, where each executor needs to rebuild the HashTable during execution. In contrast, Spark's implementation of BroadcastHashJoin collects the small table data on the Driver side, builds a HashTable, and broadcasts it to each executor. This approach avoids the redundant HashTable construction on each executor, thereby improving performance. To address this issue, we plan to optimize…

51score
concurrencyperformance
  • Demand 25% × 0.49 = 129 reactions, 2 comments
  • Technical fit 30% × 0.75 = 22Velox is in Storage & Databases (a focus area); issue needs concurrency, performance, which you listed
  • Maintainer engagement 25% × 0.45 = 11comments not checked; filed by a maintainer; project responsiveness 100%
  • Feasibility 20% × 0.25 = 5clear scope; project onboarding 50%
Evidence
  • #12107 Optimize Broadcast Hash Joinissue
    Description When using Gluten, if the user increases the broadcast threshold, the performance gap with vanilla Spark becomes significant The reason is that Gluten's BroadcastHashJoin uses Velox's ShuffleHashJoin, where each executor needs to rebuild the HashTable during…
Suggested first step

Reproduce the benchmark or slow path, profile it (perf, VTune or Tracy), and share the numbers on the issue before proposing a change.

Rule-generated · updated 20h ago
LabelleduntouchedcandidateMatches your profileOLAP & Analytics Engines

Abandon partial aggregation when its memory grows with the input

Description A partial aggregation pays off when it shrinks the data before the exchange. HashAggregation decides whether it does from row counts alone: the ratio of groups to input rows. An aggregate that collects its inputs, such as array_agg, keeps every input row in its accumulator. A partial step for it reduces nothing, however few groups there are, but the row-count check sees good reduction and keeps it running. For example: SELECT k, array_agg(v) FROM t GROUP BY k with a handful of distinct k values. The partial step finds few groups, so it never abandons. It holds every v until memory…

49score
docsperformance
  • Demand 25% × 0.33 = 80 reactions, 2 comments; labelled as performance/regression/priority
  • Technical fit 30% × 0.61 = 18Velox is in Storage & Databases (a focus area); issue needs performance, which you listed
  • Maintainer engagement 25% × 0.45 = 11no maintainer comment yet; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.55 = 11clear scope; has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the benchmark or slow path, profile it (perf, VTune or Tracy), and share the numbers on the issue before proposing a change.

Rule-generated · updated 20h ago
LabelleduntouchedcandidateMatches your profileOLAP & Analytics Engines

Preserve shared expressions in plan serialization and evaluation

A TypedExpr is a DAG: multiple projection expressions can point to the same subexpression. Velox preserves this sharing in memory, but loses its benefits in two places: Plan serialization expands the DAG into a tree. Expression evaluation does not reuse a multiply referenced ConstantExpr, which holds an already-folded constant vector. This is expensive for generated analytical queries that use a large constant map as a manual broadcast lookup. A representative shape is: sql WITH lookup(m) AS ( SELECT map(keys, map_values) FROM ( VALUES ( sequence(1, 10000), sequence(10001, 20000) ) ) AS…

48score
performancestorage
  • Demand 25% × 0.30 = 80 reactions, 1 comments; labelled as performance/regression/priority
  • Technical fit 30% × 0.61 = 18Velox is in Storage & Databases (a focus area); issue needs performance, which you listed
  • Maintainer engagement 25% × 0.45 = 11no maintainer comment yet; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.55 = 11clear scope; has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the benchmark or slow path, profile it (perf, VTune or Tracy), and share the numbers on the issue before proposing a change.

Rule-generated · updated 20h ago
LabelleduntouchedcandidateMatches your profileOLAP & Analytics Engines

cuDF failure due to integer cast yielding int64

Bug description This comes up in 44 of the first 500 SQLStorm queries. Sometimes when we are doing even an explicit cast to int, cuDF emits and int64. If you then try to compare this to an int32, you get a failure. This does not happen on CPU native Velox. Trivial reproducer: SELECT x, CAST(x AS INTEGER) = 2 AS matches FROM ( VALUES BIGINT '1', BIGINT '2', BIGINT '3' ) AS t(x); leads to: Query 20261106_200522_00544_4fwma failed: Operator::getOutput failed for [operator: CudfFilterProject, plan node ID: 4]: CUDF failure at:…

48score
  • Demand 25% × 0.00 = 00 reactions, 1 comments (not counted alone)
  • Technical fit 30% × 0.40 = 12Velox is in Storage & Databases (a focus area)
  • Maintainer engagement 25% × 1.00 = 25a maintainer commented; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.55 = 11clear scope; has reproduction steps; has code; project onboarding 50%
Evidence
  • #20158 cuDF failure due to integer cast yielding int64issue
    Bug description This comes up in 44 of the first 500 SQLStorm queries. Sometimes when we are doing even an explicit cast to int, cuDF emits and int64. If you then try to compare this to an int32, you get a failure. This does not happen on CPU native Velox. Trivial reproducer…
  • Maintainer commentissue
    Thank you @JohnZed ! This is probably addressed by @shrshi can share details. 💚
Suggested first step

Reproduce the bug on the latest main branch of Velox, reduce it to a minimal example, and post your findings on the issue before opening a PR.

Rule-generated · updated 20h ago
LabelledcandidateMatches your profileOLAP & Analytics Engines

Optimize prefix ROLLUP via hierarchical partial aggregation

Description Motivation A prefix ROLLUP over K grouping keys is typically executed as Expand -> [Project] -> Partial Aggregation. The Expand operator produces K+1 rows for each input row, and the partial aggregation processes these expanded rows independently. However, the grouping levels form a prefix hierarchy, which provides an opportunity to reuse aggregate states across levels. Proposed Approach We have developed a prototype of a fused ROLLUP partial aggregation operator. The implementation: Maintains a prefix tree with one hash table per grouping level, keyed by the parent group and the…

42score
performance
  • Demand 25% × 0.31 = 81 reactions, 12 comments
  • Technical fit 30% × 0.61 = 18Velox is in Storage & Databases (a focus area); issue needs performance, which you listed
  • Maintainer engagement 25% × 0.45 = 11no maintainer comment yet; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.25 = 5clear scope; project onboarding 50%
Evidence
Suggested first step

Reproduce the benchmark or slow path, profile it (perf, VTune or Tracy), and share the numbers on the issue before proposing a change.

Rule-generated · updated 20h ago
Good first issuecandidateMatches your profileOLAP & Analytics Engines

Add MemoryPool to SimpleFunction

Description Enable SimpleFunction to access the query’s MemoryPool for memory allocation. This allows scalar functions to use the query’s tracked memory context, improving memory management and consistency with VectorFunction. E.g - this new function is using VectorFunction instead of SimpleFunction to access Memory Pool because the support does not exist today

41score
memory
  • Demand 25% × 0.23 = 61 reactions, 3 comments
  • Technical fit 30% × 0.40 = 12Velox is in Storage & Databases (a focus area)
  • Maintainer engagement 25% × 0.45 = 11comments not checked; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.60 = 12newcomer label; clear scope; project onboarding 50%
Evidence
  • #14914 Add MemoryPool to SimpleFunctionissue
    Description Enable SimpleFunction to access the query’s MemoryPool for memory allocation. This allows scalar functions to use the query’s tracked memory context, improving memory management and consistency with VectorFunction. E.g - this new function is using VectorFunction…
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated 20h ago
LabelleduntouchedcandidateMatches your profileOLAP & Analytics Engines

Support projecting a DECIMAL or TIMESTAMP constant on the GPU

Description A Project whose expression reduces to a DECIMAL or TIMESTAMP constant cannot run on the GPU. With CPU fallback disabled, the plan fails with: Replacement with cuDF operator failed For example: PlanBuilder() .values({makeRowVector({"a"}, {makeFlatVector ({100, 200, 300}, DECIMAL(10, 2))})}) .project({"coalesce(CAST('5.00' AS DECIMAL(10, 2)), a) AS result"}) Expression optimization runs before the GPU check. It folds the CAST into a constant, and the coalesce reduces to its first non-null argument, so the projection becomes the bare constant 5.00 of type DECIMAL(10, 2). The cuDF…

41score
cudadocsperformance
  • Demand 25% × 0.00 = 00 reactions, 0 comments
  • Technical fit 30% × 0.61 = 18Velox is in Storage & Databases (a focus area); issue needs performance, which you listed
  • Maintainer engagement 25% × 0.45 = 11comments not checked; filed by a maintainer; project responsiveness 100%
  • Feasibility 20% × 0.55 = 11clear scope; has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated 20h ago
LabelleduntouchedcandidateMatches your profileOLAP & Analytics Engines

TableScan OOM caused by incorrect parquet estimated row size

Bug description Velox get estimatedRowSize of parquet by rowGroupUncompressedSize, it could be a serious underestimation and cause reading too many rows in a batch and finally cause OOM. Solution Introduce size statistics of parquet Estimate row size by column types and size statistics System information bash Velox System Info v0.0.2 Commit: 74889f3b35971baab14ceef255a5aecb25ad2dcc CMake Version: 3.28.3 System: Linux-5.4.139-1.el7.elrepo.x86_64 Arch: x86_64 C++ Compiler: /usr/bin/c++ C++ Compiler Version: 11.5.0 C Compiler: /usr/bin/cc C Compiler Version: 11.5.0 CMake Prefix Path:…

41score
cmakelinuxmemory
  • Demand 25% × 0.00 = 00 reactions, 0 comments
  • Technical fit 30% × 0.61 = 18Velox is in Storage & Databases (a focus area); issue needs linux, which you listed
  • Maintainer engagement 25% × 0.45 = 11no maintainer comment yet; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.55 = 11clear scope; has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the bug on the latest main branch of Velox, reduce it to a minimal example, and post your findings on the issue before opening a PR.

Rule-generated · updated 20h ago
LabelleduntouchedcandidateMatches your profileOLAP & Analytics Engines

Velox Flattening Optimization: Re-enable reverted optimization after fixing flattened type storage bug

Bug description Expected behavior: The type flattening optimization in Velox should be active and functioning correctly. It should successfully flatten complex/nested types to improve execution performance without causing runtime errors. Actual behavior: Currently, the flattening optimization is disabled/reverted. This is due to a previous bug (introduced in commit d176894f12dd2ccb6b3d97686dd12c8a2bac3776) where the optimization caused issues because flattened types were not being stored correctly. However, the root cause of this storage bug has been resolved by a recent commit…

41score
performancestorage
  • Demand 25% × 0.00 = 00 reactions, 0 comments
  • Technical fit 30% × 0.61 = 18Velox is in Storage & Databases (a focus area); issue needs performance, which you listed
  • Maintainer engagement 25% × 0.45 = 11no maintainer comment yet; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.55 = 11clear scope; has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the benchmark or slow path, profile it (perf, VTune or Tracy), and share the numbers on the issue before proposing a change.

Rule-generated · updated 20h ago
LabelleduntouchedstaleMatches your profileOLAP & Analytics Engines

cudf: Parallel Batch Processing for Stateless cuDF Operators

Description This proposal is I describe my proposal to AI and AI measure the possibility and implementation, I think this may benefit some real world cases, for the TPCH and TPCDS benchmark, I don't know the GPU utilization ratio, if it is low and have the operator pattern, may also benefit from this, pay attention to the stream dependency and balance the concurrency and memory. Summary Enable concurrent batch processing for stateless cuDF operators (FilterProject, Limit, etc.) using multiple CUDA streams to improve GPU utilization and throughput. Background Currently, cuDF operators in Velox…

40score
concurrencycudaperformance
  • Demand 25% × 0.00 = 00 reactions, 0 comments
  • Technical fit 30% × 0.75 = 22Velox is in Storage & Databases (a focus area); issue needs concurrency, performance, which you listed
  • Maintainer engagement 25% × 0.39 = 10comments not checked; filed by a maintainer; project responsiveness 74%
  • Feasibility 20% × 0.40 = 8has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated Oct 15, 2026
Good first issuestaleMatches your profileOLAP & Analytics Engines

Use abseil for longest_common_prefix function

Description String function longest_common_prefix can be faster with abseil. It is simple and efficient. Consider enhancing this by implementing abseil. Abseil library is not used in Velox as a dependency right now. Original implementation:

40score
  • Demand 25% × 0.23 = 61 reactions, 3 comments
  • Technical fit 30% × 0.40 = 12Velox is in Storage & Databases (a focus area)
  • Maintainer engagement 25% × 0.40 = 10comments not checked; labelled (triaged); project responsiveness 79%
  • Feasibility 20% × 0.60 = 12newcomer label; clear scope; project onboarding 50%
Evidence
  • #15467 Use abseil for longest_common_prefix functionissue
    Description String function longest_common_prefix can be faster with abseil. It is simple and efficient. Consider enhancing this by implementing abseil. Abseil library is not used in Velox as a dependency right now. Original implementation:
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated 5d ago
LabelleduntouchedcandidateMatches your profileOLAP & Analytics Engines

Allow WindowNode to control which input columns are passed through

WindowNode, RowNumberNode, and TopNRowNumberNode unconditionally pass through all input columns to the output. There is no way to specify which input columns should be included in the output alongside the window function result columns. Problem Consider this query: sql SELECT n_name, rank() OVER (PARTITION BY n_regionkey) as rn FROM nation LIMIT 10 The distributed plan is: Scan(nation) → Shuffle(n_regionkey) → Window(rank() PARTITION BY n_regionkey) → partialLimit(10) → localPartition → finalLimit(10) → Gather → finalLimit(10) → Project(n_name, rn) The Window operator outputs all input…

39score
storage
  • Demand 25% × 0.20 = 51 reactions, 2 comments
  • Technical fit 30% × 0.40 = 12Velox is in Storage & Databases (a focus area)
  • Maintainer engagement 25% × 0.45 = 11comments not checked; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.55 = 11clear scope; has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated 20h ago
LabelleduntouchedcandidateMatches your profileOLAP & Analytics Engines

Add Parquet reader fuzzer to catch buffer-reuse bugs across row groups

Description The bug fixed in #17496 occurred when: Row group 1 (3336 rows) left a null bitmap buffer with a logical size smaller than what row group 2 (4096 rows) needs (424 vs 512 bytes). The buffer's physical capacity was large enough to be reused across row groups (672 bytes after pool rounding), so no reallocation occurred. ensureCapacity() updated capacity but ParquetData::setNulls() did not synchronize Buffer::size() to the current batch, causing downstream validation/slicing failures. The current regression test (nullBufferSizeAcrossRowGroups) encodes these constraints explicitly: RG1…

39score
testing
  • Demand 25% × 0.20 = 51 reactions, 2 comments
  • Technical fit 30% × 0.40 = 12Velox is in Storage & Databases (a focus area)
  • Maintainer engagement 25% × 0.45 = 11comments not checked; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.55 = 11clear scope; has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated 20h ago
LabelledstaleMatches your profileOLAP & Analytics Engines

TPC-H benchmark crashes using cache_gb on Aarch64

Bug description I'm try to run TPC-H benchmark using Velox following the the instructions here: The issue is that some queries crashes with the following error when I'm using cache_gb option E20250819 09:20:12.953671 2757245 Exceptions.h:66] Line: /velox/velox/exec/HashTable.cpp:1100, Function:insertForGroupBy, Expression: table_[index] == nullptr , Source: RUNTIME, ErrorCode: INVALID_STATE E20250819 09:20:12.964232 2755928 QueryBenchmarkBase.cpp:254] Query terminated with: Exception: VeloxRuntimeError Error Source: RUNTIME Error Code: INVALID_STATE Retriable: False Expression: table_[index]…

39score
armperformancestorage
  • Demand 25% × 0.00 = 00 reactions, 6 comments (not counted alone)
  • Technical fit 30% × 0.61 = 18Velox is in Storage & Databases (a focus area); issue needs performance, which you listed
  • Maintainer engagement 25% × 0.39 = 10comments not checked; labelled (triaged); project responsiveness 77%
  • Feasibility 20% × 0.55 = 11clear scope; has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the benchmark or slow path, profile it (perf, VTune or Tracy), and share the numbers on the issue before proposing a change.

Rule-generated · updated 13d ago
LabelleduntouchedstaleMatches your profileOLAP & Analytics Engines

DISTINCT aggregation can lose rows when spill files are pre-merged

Bug description introduced pre-merge spill files, the new SpillWriter will generate file ID from 0. For distinct aggregation, the new merged spill file id is smaller than first spilled distinct file number, so all the data in new merged spill file will be thought as already output distinct data, and be ignored. System information Velox System Info v0.0.2 Commit: efadbb2d9b62ac1f56e26f4ee701aaf9a70c14ad CMake Version: 3.28.3 System: Linux-5.4.139-1.el7.elrepo.x86_64 Arch: x86_64 C++ Compiler: /usr/bin/c++ C++ Compiler Version: 11.5.0 C Compiler: /usr/bin/cc C Compiler Version: 11.5.0 CMake…

39score
cmakelinux
  • Demand 25% × 0.00 = 00 reactions, 1 comments (not counted alone)
  • Technical fit 30% × 0.61 = 18Velox is in Storage & Databases (a focus area); issue needs linux, which you listed
  • Maintainer engagement 25% × 0.39 = 10no maintainer comment yet; labelled (triaged); project responsiveness 74%
  • Feasibility 20% × 0.55 = 11clear scope; has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the bug on the latest main branch of Velox, reduce it to a minimal example, and post your findings on the issue before opening a PR.

Rule-generated · updated Oct 23, 2026
LabelledstaleMatches your profileOLAP & Analytics Engines

get_json_object returns wrong results for [*] wildcard paths with simdjson ≥ 4.0

Bug description Failing Test Suite and Test Names Suite: HiveQuerySuite (Spark SQL Hive compatibility tests) get_json_object #4 get_json_object #5 get_json_object #6 get_json_object #7 System information $ scripts/info.sh Velox System Info v0.0.2 Commit: afe0235898453051f576d54d92864cdc3d924590 CMake Version: 3.30.3 System: Linux-5.15.167.4-microsoft-standard-WSL2 Arch: x86_64 C++ Compiler: /usr/bin/c++ C++ Compiler Version: 13.2.0 C Compiler: /usr/bin/cc C Compiler Version: 13.2.0 CMake Prefix Path: /usr/local;/usr;/;/usr;/usr/local;/usr/X11R6;/usr/pkg;/opt Relevant logs bash

39score
cmakelinuxstoragetesting
  • Demand 25% × 0.00 = 00 reactions, 4 comments (not counted alone)
  • Technical fit 30% × 0.61 = 18Velox is in Storage & Databases (a focus area); issue needs linux, which you listed
  • Maintainer engagement 25% × 0.39 = 10comments not checked; labelled (triaged); project responsiveness 74%
  • Feasibility 20% × 0.55 = 11clear scope; has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the bug on the latest main branch of Velox, reduce it to a minimal example, and post your findings on the issue before opening a PR.

Rule-generated · updated Oct 14, 2026
LabelledstaleMatches your profileOLAP & Analytics Engines

approx_percentile has correctness and memory bugs in Spark Aggregation Fuzzer

Summary approx_percentile has two independent bugs causing all Spark Aggregation Fuzzer flakiness over the last 3 weeks — 7 failures out of 98 push-to-main runs (7.1% failure rate). Both approx_percentile and approx_percentile_with_weight share the same base class (ApproxPercentileAggregateBase) and are likely affected. Failure Data (Mar 20 – Apr 10, 2026) Date Run Type Error ------------------------ Apr 10 24225303359 OOM allocate failed with 28.74GB in KllSketch::mergeViews during addIntermediateResults Apr 9 24217602396 Correctness Results don't match Spark (TINYINT, single percentile) Apr…

38score
memorytesting
  • Demand 25% × 0.23 = 61 reactions, 3 comments
  • Technical fit 30% × 0.40 = 12Velox is in Storage & Databases (a focus area)
  • Maintainer engagement 25% × 0.39 = 10comments not checked; labelled (triaged); project responsiveness 74%
  • Feasibility 20% × 0.55 = 11clear scope; has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the bug on the latest main branch of Velox, reduce it to a minimal example, and post your findings on the issue before opening a PR.

Rule-generated · updated Oct 12, 2026
LabelleduntouchedcandidateMatches your profileOLAP & Analytics Engines

cuDF GPU backend yields incorrect number of rows in cross join where some tables' columns not used in output

Bug description [Expected behavior] and [actual behavior].Create two tables, say one with 3 rows and another with 1 row. presto> select * from hive.cudf_nlj_zero_probe_parquet_repro.left_t; unused -------- 1 2 3 (3 rows) Query 20260808_220343_00002_ae3e4, FINISHED, 1 node Splits: 2 total, 2 done (100.00%) [Latency: client-side: 71ms, server-side: 54ms] [3 rows, 533B] [55 rows/s, 9.64KB/s] presto> select * from hive.cudf_nlj_zero_probe_parquet_repro.right_t; payload --------- ok (1 row) Do a cross join like: SELECT r.payload FROM hive.cudf_nlj_zero_probe_parquet_repro.left_t AS l CROSS JOIN…

38score
cudaperformance
  • Demand 25% × 0.00 = 00 reactions, 0 comments
  • Technical fit 30% × 0.61 = 18Velox is in Storage & Databases (a focus area); issue needs performance, which you listed
  • Maintainer engagement 25% × 0.45 = 11no maintainer comment yet; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.40 = 8has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the bug on the latest main branch of Velox, reduce it to a minimal example, and post your findings on the issue before opening a PR.

Rule-generated · updated 20h ago
LabelleduntouchedcandidateMatches your profileOLAP & Analytics Engines

Mono-library fails to link on ARM without LSE atomics

Bug description Summary On AArch64 machines that support LSE atomics, Velox's mono shared-library build can fail during linking with relocation overflow errors from GCC atomic helper symbols. This is due to the size of the Velox mono-library, which exceeds what the linker can handle without LSE atomics enabled. The Velox build currently uses a generic Armv8 target even when the CPU supports hardware atomics from Armv8.1-A. That causes GCC to emit calls to helper functions such as __aarch64_ldadd4_acq_rel. In a very large shared object like libvelox.so, those helper calls can end up out of…

38score
armconcurrency
  • Demand 25% × 0.00 = 00 reactions, 2 comments (not counted alone)
  • Technical fit 30% × 0.61 = 18Velox is in Storage & Databases (a focus area); issue needs concurrency, which you listed
  • Maintainer engagement 25% × 0.45 = 11comments not checked; filed by a maintainer; project responsiveness 100%
  • Feasibility 20% × 0.40 = 8has reproduction steps; has code; project onboarding 50%
Evidence
  • #17726 Mono-library fails to link on ARM without LSE atomicsissue
    Bug description Summary On AArch64 machines that support LSE atomics, Velox's mono shared-library build can fail during linking with relocation overflow errors from GCC atomic helper symbols. This is due to the size of the Velox mono-library, which exceeds what the linker can…
Suggested first step

Reproduce the bug on the latest main branch of Velox, reduce it to a minimal example, and post your findings on the issue before opening a PR.

Rule-generated · updated 20h ago
LabelleduntouchedcandidateMatches your profileOLAP & Analytics Engines

DirectBufferedInput fire-and-forget read-ahead can outlive reader teardown → "Managed memory leak" + MemoryManager pools_.size()!=0 abort

Bug description Summary DirectBufferedInput::readRegions submits prefetch (read-ahead) work to executor_ as fire-and-forget tasks. Each task captures an AsyncLoadHolder that holds a strong shared_ptr to both the CoalescedLoad (which owns the multi-MiB coalesced read buffer) and the MemoryPool: cpp if (prefetch && executor_) { for (auto i = 0; i state() == CoalescedLoad::State::kPlanned) { AsyncLoadHolder loadHolder{ .load = load, .pool = pool_->shared_from_this()}; // STRONG refs executor_->add(asyncLoad = std::move(loadHolder) { VELOX_CHECK_NOT_NULL(asyncLoad.load);…

38score
concurrencymemory
  • Demand 25% × 0.00 = 00 reactions, 0 comments
  • Technical fit 30% × 0.61 = 18Velox is in Storage & Databases (a focus area); issue needs concurrency, which you listed
  • Maintainer engagement 25% × 0.45 = 11no maintainer comment yet; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.40 = 8has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the bug on the latest main branch of Velox, reduce it to a minimal example, and post your findings on the issue before opening a PR.

Rule-generated · updated 20h ago
LabelleduntouchedcandidateMatches your profileOLAP & Analytics Engines

UcxExchangeTest Intermittent OOM in CI

Bug description See THIS CI run. Claude Analysis follows: * The most likely cause is that the test can queue more data than the CI GPU can hold. It sends about 16 GB in total, and the mock producer never waits for the output queue to drain. Whether it crashes depends on how quickly the single consumer keeps up, which is why the failure is intermittent. You don't need a multi-GPU machine to reproduce it: the job (cudf-tests in .github/workflows/linux-build-base.yml) runs on 4-core-ubuntu-gpu-t4, which has one 16 GB T4, and only about 15 GB of that is usable. How much data the failing case…

38score
cudalinuxmemorytesting
  • Demand 25% × 0.00 = 00 reactions, 0 comments
  • Technical fit 30% × 0.61 = 18Velox is in Storage & Databases (a focus area); issue needs linux, which you listed
  • Maintainer engagement 25% × 0.45 = 11comments not checked; filed by a maintainer; project responsiveness 100%
  • Feasibility 20% × 0.40 = 8has reproduction steps; has code; project onboarding 50%
Evidence
  • #20029 UcxExchangeTest Intermittent OOM in CIissue
    Bug description See THIS CI run. Claude Analysis follows: * The most likely cause is that the test can queue more data than the CI GPU can hold. It sends about 16 GB in total, and the mock producer never waits for the output queue to drain. Whether it crashes depends on how…
Suggested first step

Reproduce the build problem in a clean environment (container or CI matrix), then propose the smallest change to the build scripts.

Rule-generated · updated 20h ago
LabelleduntouchedcandidateMatches your profileOLAP & Analytics Engines

Predicate pushdown against column with punctuation in name causes crash

Bug description The BIRD-SQL text-to-sql benchmark has a table "bird_train_retail_complains" with columns named "Submitted via" and "Timely response?". Ugly, yes. Projection works fine: SELECT "Submitted via", "Timely response?" FROM events LIMIT 5; Submitted via Timely response? ---------------+------------------ Email Yes Email Yes Email Yes Email Yes Email Yes Non-pushdown predicates work fine: SELECT "Submitted via", "Timely response?" FROM events where substr("Timely response?",1,2) = 'No' limit 5; Submitted via Timely response? ---------------+------------------ Fax No Fax No Fax No Fax…

38score
performancestorage
  • Demand 25% × 0.00 = 00 reactions, 2 comments (not counted alone)
  • Technical fit 30% × 0.61 = 18Velox is in Storage & Databases (a focus area); issue needs performance, which you listed
  • Maintainer engagement 25% × 0.45 = 11no maintainer comment yet; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.40 = 8has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the bug on the latest main branch of Velox, reduce it to a minimal example, and post your findings on the issue before opening a PR.

Rule-generated · updated 20h ago
LabelleduntouchedcandidateMatches your profileOLAP & Analytics Engines

Inconsistent Hive config/session property names and description

Bug description There are several inconsistent or incorrect Hive connector configuration names/descriptions: max-coalesced-bytes uses the same name for both the connector config and the session property. However, according to the naming convention, the session property should use _ instead of -. The session property is named orc_max_merge_distance, but the corresponding connector config is named max-coalesced-distance. The names are inconsistent and should be aligned. The connector config is named num_cached_file_handles, but according to the connector config naming convention, it should use…

37score
  • Demand 25% × 0.13 = 31 reactions, 0 comments
  • Technical fit 30% × 0.40 = 12Velox is in Storage & Databases (a focus area)
  • Maintainer engagement 25% × 0.45 = 11comments not checked; filed by a maintainer; project responsiveness 100%
  • Feasibility 20% × 0.55 = 11clear scope; has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the bug on the latest main branch of Velox, reduce it to a minimal example, and post your findings on the issue before opening a PR.

Rule-generated · updated 20h ago
LabelleduntouchedstaleMatches your profileOLAP & Analytics Engines

cudf: Enhance Query Tree to profile cudf single operator

Description For CPU Velox, we have the effectively tool Query Trace to reproduce single or multiple operators from JVK Presto and Spark, in cudf, it is more useful. First way, dump the json plan and profile it in native side, it is hard to find operator level hotspot Second way, support query trace in velox-cudf, we can use nsight tool to debug the memory issue and operator performance benchmark, observe the optimization effect in operator level, and most importantly, from the metric to find the possible operator bottleneck, use the nsight compute to find the hotspot and memory issue such as…

36score
performance
  • Demand 25% × 0.00 = 00 reactions, 1 comments (not counted alone)
  • Technical fit 30% × 0.61 = 18Velox is in Storage & Databases (a focus area); issue needs performance, which you listed
  • Maintainer engagement 25% × 0.39 = 10comments not checked; filed by a maintainer; project responsiveness 74%
  • Feasibility 20% × 0.40 = 8clear scope; has reproduction steps; project onboarding 50%
Evidence
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated Oct 14, 2026
LabelledstaleMatches your profileOLAP & Analytics Engines

Complete Presto SQL function coverage

Description This issue is to record a push to complete the Presto SQL function coverage in Velox. Meta has completed conversion of the Java usage to PrestoC++ (as recently announced by Amit). In IBM we have both Presto and PrestoC++ as offering but are looking to a PrestoC++ only offering. As such we want to finalize the built-in functions that are necessary to claim full compatibility. That's what we view to complete the offering. Therefore, we reviewed what function would be needed to be added to close the coverage of the functions. Some functions are considered to be useful for a narrow…

36score
storage
  • Demand 25% × 0.33 = 81 reactions, 15 comments
  • Technical fit 30% × 0.40 = 12Velox is in Storage & Databases (a focus area)
  • Maintainer engagement 25% × 0.43 = 11comments not checked; filed by a maintainer; project responsiveness 92%
  • Feasibility 20% × 0.25 = 5clear scope; project onboarding 50%
Evidence
  • #16041 Complete Presto SQL function coverageissue
    Description This issue is to record a push to complete the Presto SQL function coverage in Velox. Meta has completed conversion of the Java usage to PrestoC++ (as recently announced by Amit). In IBM we have both Presto and PrestoC++ as offering but are looking to a PrestoC++…
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated Oct 8, 2026
LabelledstaleMatches your profileOLAP & Analytics Engines

enh(cudf): Introduce per-operator config options to enforce CPU fallback at runtime

Description Based on @jinchengchenghh comments in #16974, and offline discussions with @karthikeyann Add a query/session-level configuration to disable specific cuDF GPU operators at runtime, forcing them to execute on CPU instead. This addresses scenarios where GPU execution causes memory issues, or may be suboptimal. Automatic OOM Fallback Memory estimation: Before GPU execution, estimate memory usage and compare against available GPU memory OOM retry: If GPU operator fails with OOM during execution, automatically retry on CPU Implementation Location OperatorAdapterRegistry::findAdapter()…

36score
cudamemory
  • Demand 25% × 0.09 = 20 reactions, 1 comments
  • Technical fit 30% × 0.40 = 12Velox is in Storage & Databases (a focus area)
  • Maintainer engagement 25% × 0.43 = 11comments not checked; filed by a maintainer; project responsiveness 92%
  • Feasibility 20% × 0.55 = 11clear scope; has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated Oct 6, 2026
LabelledcandidateMatches your profileOLAP & Analytics Engines

Upgrade Protobuf (21.8) and gRPC (1.48.1): choose a target version

Description Related PR: #19458 (build(deps): upgrade Protobuf to 26.1 and gRPC to 1.65.5) Velox pins Protobuf 21.8, gRPC 1.48.1 and Abseil 20240116.2. Protobuf 21.x and gRPC 1.48.x are both end of life: Protobuf 21.x is the C++ 3.x runtime, and its support ended on 31 Mar 2024. gRPC 1.48.1 was released in 2022; the current release is v1.84.0. Motivation No security fixes. An EOL Protobuf or gRPC no longer gets fixes upstream. Velox parses Protobuf from data files (DWRF/ORC metadata), so a parser vulnerability in an unsupported release would never be fixed for us. Compliance. Downstream…

35score
networking
  • Demand 25% × 0.28 = 71 reactions, 7 comments
  • Technical fit 30% × 0.40 = 12Velox is in Storage & Databases (a focus area)
  • Maintainer engagement 25% × 0.45 = 11comments not checked; filed by a maintainer; project responsiveness 100%
  • Feasibility 20% × 0.25 = 5clear scope; project onboarding 50%
Evidence
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated 20h ago
LabelleduntouchedstaleMatches your profileOLAP & Analytics Engines

Differences Between Velox and cuDF (Data Types & Operators)

Description Background Velox and cuDF have different design goals: Velox: CPU-oriented, columnar-based execution with flexible semantics cuDF: GPU-oriented, columnar execution optimized for throughput These differences lead to gaps in data types and operator semantics when integrating or mapping execution between the two systems. This document summarizes key differences and raises questions on how to handle them. 1️⃣ Data Type Differences 1. Timestamp cuDF: represents timestamps as int64_t (nanoseconds) Velox: uses a struct {int64_t seconds, int64_t nanos} Spark: uses int64_t (microseconds)…

35score
cudaperformance
  • Demand 25% × 0.20 = 51 reactions, 2 comments
  • Technical fit 30% × 0.61 = 18Velox is in Storage & Databases (a focus area); issue needs performance, which you listed
  • Maintainer engagement 25% × 0.39 = 10comments not checked; filed by a maintainer; project responsiveness 74%
  • Feasibility 20% × 0.10 = 2project onboarding 50%
Evidence
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated 25d ago

Why this score

Health 96Contribution friendliness 84computed 20h ago
  • Activity1.00
    557 merged PRs in 30 days (full marks at 20); 555 commits in 30 days (full marks at 60)health
  • Onboarding0.50
    has mainstream build (CMake/Bazel/Meson), CI; missing contributing guide, docs sitecontrib
  • Entry points0.96
    9 open, unassigned good-first-issue/help-wanted issues without a PR (full marks at 10)contrib
  • Maintainer responsiveness1.00
    median first maintainer response 10 h (full marks within 48 h, zero after 30 days); median PR merge time 35 h (full marks within 72 h, zero after 60 days)healthcontrib
  • Release cadence1.00
    last release 31 days ago (full marks within 90, zero after 730); 7 releases in 365 days (full marks at 4)health
  • Backlog pressure0.65
    41% of 352 scanned open issues are older than a year (full marks at <= 20%, zero at >= 80%)health
  • Contributor breadth0.99
    124 unique contributors in 90 days (full marks at 25); top contributor has 26% of commits; stars count for at most 5% of this signalhealth

Each signal is normalized to 0–1 with fixed thresholds; scores are weighted sums × 100. Stars are not an input.

Maintain, review, build and signals

other opportunities that concern this project