sqlite: enable Percentile extension#61295
Conversation
|
Review requested:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #61295 +/- ##
==========================================
- Coverage 88.53% 88.51% -0.02%
==========================================
Files 704 704
Lines 208759 208739 -20
Branches 40281 40278 -3
==========================================
- Hits 184816 184775 -41
- Misses 15947 15981 +34
+ Partials 7996 7983 -13 🚀 New features to boost your workflow:
|
2ba1db0 to
86b8170
Compare
|
Since you worked on #57621 and this PR follows the same pattern, could you take a look at this? |
|
Since this is not getting any activity lately, could you take a look at it so things get moving again? |
Sorry for the delay. LGTM |
|
It looks like the remaining CI failures are unrelated to this PR. Could someone with permissions retrigger CI, or should we wait for upstream fixes to the failing tests? |
done |
|
Does this need the |
|
Landed in 637bda0 |
|
@TheOneTheOnlyJJ It's a bit confusing, but |
|
Test failure on v25.x-staging with this change: We'll need a manual backport PR if we want the change backported |
PR-URL: nodejs#61295 Refs: nodejs#60618 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Edy Silva <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]>
|
@aduh95 @islandryu Thanks for flagging! This is very likely due to #60614 not being on v25.x. |
Refs: #60618
This enables the SQLite Percentile extension added to the amalgamation with the release of SQLite v3.51.0 (#60614) by adding the
SQLITE_ENABLE_PERCENTILEflag to both the GYP and GN SQLite builds.The changes were made by following the pattern set by #57621.
This also addresses a minor review comment left unhandled in #57621 (comment).
A new test was added to
test/parallel/test-sqlite.jsto verify that thepercentile()function is available at runtime. The test is placed immediately after the existing math functions test for two reasons:SQLITE_ENABLE_PERCENTILEfollowsSQLITE_ENABLE_MATH_FUNCTIONSalphabetically in the build configuration.percentile()is logically related to the mathematical function set.This change does not enable the mentioned Carray extension from #60618 and does not include the
SQLITE_ENABLE_ORDERED_SET_AGGREGATESflag for enabling theWITHIN GROUPsyntax. Those are left for separate discussion and follow-up.