Commit graph

86076 commits

Author SHA1 Message Date
Jan Kuipers
e31de160cf
typo
Co-authored-by: Bogdan Pintea <bogdan.pintea@elastic.co>
2025-04-22 11:13:44 +02:00
Jan Kuipers
b481aaa63f different operator categories wrt sampling. Remove SampleBreaking interface 2025-04-15 15:50:26 +02:00
Jan Kuipers
aca72bf903 use samplebreaking in pushdown 2025-04-15 15:50:26 +02:00
Jan Kuipers
6ad84cb37b linkedlist -> arraydeque for efficiencyu 2025-04-15 15:50:26 +02:00
Jan Kuipers
b580119766 comments 2025-04-15 15:50:26 +02:00
Jan Kuipers
ad80d062bf add SampleBreaking interface 2025-04-15 15:50:26 +02:00
Jan Kuipers
0a9b905e25 Fix CSV test with sample+limit 2025-04-15 15:50:26 +02:00
Jan Kuipers
a063098e9d enable all csv tests 2025-04-15 15:50:26 +02:00
Jan Kuipers
de28a66679 REST test 2025-04-15 15:50:26 +02:00
Jan Kuipers
7950e8ba96 propagate multiple sample probabilities 2025-04-15 15:50:26 +02:00
Jan Kuipers
871be32af2 CSV tests 2025-04-15 15:50:26 +02:00
Jan Kuipers
f0fb4fbbb6 Don't push sample correction through mv_expand 2025-04-15 15:50:26 +02:00
Jan Kuipers
17eb4d5887 Don't push sample correction through limit 2025-04-15 15:50:26 +02:00
Jan Kuipers
8fd3053d3a error on seed in sampling operator 2025-04-15 15:50:26 +02:00
Jan Kuipers
1cc970d133 polish code 2025-04-15 15:50:26 +02:00
Jan Kuipers
736036ef28 Test accuracy of sampling operator 2025-04-15 15:50:26 +02:00
Jan Kuipers
7d71c95326 SampleOperaetorTests + fix status 2025-04-15 15:50:26 +02:00
elasticsearchmachine
79e7e4306d [CI] Auto commit changes from spotless 2025-04-15 15:50:25 +02:00
Jan Kuipers
ccbd8b035e rename RANDOM_SAMPLE -> SAMPLE 2025-04-15 15:50:25 +02:00
Jan Kuipers
af04dff93d push down through where and sort 2025-04-15 15:50:25 +02:00
Jan Kuipers
70979dab5a make sample corrected constructor private 2025-04-15 15:50:25 +02:00
Jan Kuipers
8ac6259efc fix StatementParserTests 2025-04-15 15:50:25 +02:00
Jan Kuipers
d17e1d56f6 Make isSampledCorrected field final 2025-04-15 15:50:25 +02:00
elasticsearchmachine
1304913921 [CI] Auto commit changes from spotless 2025-04-15 15:50:25 +02:00
Jan Kuipers
f379816c3e fix random sample csv tests 2025-04-15 15:50:25 +02:00
Jan Kuipers
b4cdee65fc spotless 2025-04-15 15:50:25 +02:00
Jan Kuipers
70b36f0c1e Refactor sample correction once more 2025-04-15 15:50:25 +02:00
Jan Kuipers
da89149514 Refactor sample correction 2025-04-15 15:50:25 +02:00
Jan Kuipers
77f3094e03 don't correct multiple stats 2025-04-15 15:50:25 +02:00
Jan Kuipers
7dc2d4399f Update docs/changelog/125570.yaml 2025-04-15 15:50:25 +02:00
Jan Kuipers
2c0ee836a2 correct aggregations for random sampling 2025-04-15 15:50:25 +02:00
Jan Kuipers
4235093069 Simplify RandomSampleOperator 2025-04-15 15:50:25 +02:00
Bogdan Pintea
bcaf0e4e10 Make CsvTests more node-count-induced variation tollerant 2025-04-15 15:50:25 +02:00
elasticsearchmachine
d299ab7aa3 [CI] Auto commit changes from spotless 2025-04-15 15:50:25 +02:00
Bogdan Pintea
a6c8bae82d Make seed parameter optional. Various fixes 2025-04-15 15:50:25 +02:00
Bogdan Pintea
34be669bd5 Add non-operator-related tests 2025-04-15 15:50:25 +02:00
elasticsearchmachine
80da388959 [CI] Auto commit changes from spotless 2025-04-15 15:50:25 +02:00
Bogdan Pintea
863b30416c Add a random sample commadn
This adds RANDOM_SAMPLE <probability> <seed>? command.
2025-04-15 15:50:24 +02:00
Svilen Mihaylov
02f9af732e
Add multi_match function #121525 (#125062)
Implement multi_match function for ESQL. Its currently available on snapshot builds pending refinement of the syntax.
2025-04-15 09:38:08 -04:00
elasticsearchmachine
ac0972bd67 Mute org.elasticsearch.simdvec.VectorScorerFactoryTests testRandomScorerChunkSizeSmall #126847 2025-04-15 23:13:05 +10:00
elasticsearchmachine
f3c4f518e2 [renovate] Update branches config 2025-04-15 22:00:11 +10:00
elasticsearchmachine
02efba5ccf Remove 8.16 from branches.json 2025-04-15 22:00:10 +10:00
David Turner
aa40147142
Add integ tests for ftp:// URL repository (#126757)
We document support for snapshot repositories using `ftp://` URLs but it
seems this functionality has not worked for many years because of
security-manager restrictions, although nobody noticed because it was
not covered by any tests. The migration to the Entitlements framework
means that this functionality now works again, so this commit adds tests
to make sure we do not break it again in future.
2025-04-15 12:57:00 +01:00
Armin Braun
d71ada6e22
Remove needless array indirection in AbstractInternalTerms (#126830)
Obviously just a single count, make it a plain field like the counter next to it.
2025-04-15 13:53:40 +02:00
Moritz Mack
ed7d72ac50
Fix formatting of recently added transport versions using old format (#126826) 2025-04-15 13:40:44 +02:00
Francisco Fernández Castaño
39670d9477
Add IndexingPressureMonitor to monitor large indexing operations (#126372)
Relates ES-11063
2025-04-15 13:23:18 +02:00
Martijn van Groningen
0033de9ab3
Tweak TSDBDocValuesMergeBenchmark (#126825)
to use benchmark mode single shot time.

Which makes more sense for benchmarking force merge. The sample time mode would invoke the benchmark methods many times, which in case of force merge is a noop.
2025-04-15 13:03:01 +02:00
Ioana Tagirta
050ac273a1
Unmute fixed FORK test (#126706) 2025-04-15 12:57:37 +02:00
Lorenzo Dematté
2697a3a872
Patcher for AWS SDKv2 locale-dependent formatting (#126326)
AWS SDK v2 has a bug (aws/aws-sdk-java-v2#5968) where PathResolver uses locale-dependent formatting.

This PR adds a patcher to the discovery-ec2 build process to replace calls to String.format(<format>, <args>) with String.format(Locale.ROOT, <format>, <args>).

Relates to ES-11279
2025-04-15 12:49:56 +02:00
Ievgen Degtiarenko
07cb14e7a9
Expose more detailed profiling information (#126525) 2025-04-15 12:27:31 +02:00