Skip to content

Conversation

nik9000
Copy link
Member

@nik9000 nik9000 commented Sep 17, 2025

Replaces the tests for a count of functions with a spot check of some specific functions. delay should never be released. idelta isn't released but will be. mv_sum has been released. It's nice to have the ones we want to make sure aren't available in production in there, but otherwise it's a fairly random list.

Doing this because maintaining the count was constantly a problem - folks would stumble over it all the time and it wasn't really buying us anything.

Replaces the tests for a count of functions with a spot check of some
specific functions. `delay` should never be released. `idelta` isn't
released but will be. `mv_sum` has been released. It's nice to have the
ones we want to make sure aren't available in production in there, but
otherwise it's a fairly random list.

Doing this because maintaining the count was constantly a problem -
folks would stumble over it all the time and it wasn't really buying us
anything.
@nik9000 nik9000 requested review from bpintea and mouhc1ne September 17, 2025 19:56
@nik9000 nik9000 added >test Issues or PRs that are addressing/adding tests :Analytics/ES|QL AKA ESQL v9.2.0 labels Sep 17, 2025
@elasticsearchmachine elasticsearchmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Sep 17, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-analytical-engine (Team:Analytics)

Copy link
Contributor

@bpintea bpintea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

* {@code x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/esql/60_usage.yml} around
* {@code not_exists: esql.functions.delay}. The release build will fail if this function is
* available. Check out the instructions for running a release build in {@code testing.asciidoc}
* if you want to test this, but it's generally enough to let CI do it.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Contributor

@luigidellaquila luigidellaquila left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!!!

@nik9000 nik9000 enabled auto-merge (squash) September 19, 2025 15:53
@nik9000 nik9000 merged commit 807a3bc into elastic:main Sep 21, 2025
34 checks passed
szybia added a commit to szybia/elasticsearch that referenced this pull request Sep 22, 2025
* upstream/main: (50 commits)
  Disable utf-8 parsing optimization (elastic#135172)
  rest-api-spec: fix master_timeout typo (elastic#135167)
  Fixes countDistinctWithConditions in csv-spec tests (elastic#135097)
  Fix test failure by checking for feature flag (elastic#135174)
  Fix deadlock in ThreadPoolMergeScheduler when a failing merge closes the IndexWriter (elastic#134656)
  Make SecureString comparisons constant time (elastic#135053)
  Mute org.elasticsearch.test.rest.yaml.CcsCommonYamlTestSuiteIT test {p0=search/160_exists_query/Test exists query on mapped geo_point field with no doc values} elastic#135164
  ESQL: Replace function count tests (elastic#134951)
  Mute org.elasticsearch.compute.aggregation.SampleBooleanAggregatorFunctionTests testSimpleWithCranky elastic#135163
  Mute org.elasticsearch.xpack.test.rest.XPackRestIT test {p0=analytics/nested_top_metrics_sort/terms order by top metrics numeric not null integer values} elastic#135162
  Mute org.elasticsearch.xpack.test.rest.XPackRestIT test {p0=analytics/nested_top_metrics_sort/terms order by top metrics numeric not null double values} elastic#135159
  TSDB ingest performance: combine routing and tsdb hashing (elastic#132566)
  Mute org.elasticsearch.compute.aggregation.SampleBytesRefAggregatorFunctionTests testSimpleWithCranky elastic#135157
  Mute org.elasticsearch.xpack.logsdb.qa.BulkStoredSourceChallengeRestIT testHistogramAggregation elastic#135156
  Mute org.elasticsearch.xpack.logsdb.qa.StandardVersusStandardReindexedIntoLogsDbChallengeRestIT testHistogramAggregation elastic#135155
  Mute org.elasticsearch.xpack.logsdb.qa.LogsDbVersusLogsDbReindexedIntoStandardModeChallengeRestIT testHistogramAggregation elastic#135154
  Mute org.elasticsearch.xpack.logsdb.qa.BulkChallengeRestIT testHistogramAggregation elastic#135153
  Mute org.elasticsearch.discovery.ClusterDisruptionIT testAckedIndexing elastic#117024
  Mute org.elasticsearch.lucene.RollingUpgradeSearchableSnapshotIndexCompatibilityIT testMountSearchableSnapshot {p0=[9.2.0, 9.2.0, 9.2.0]} elastic#135151
  Mute org.elasticsearch.lucene.RollingUpgradeSearchableSnapshotIndexCompatibilityIT testSearchableSnapshotUpgrade {p0=[9.2.0, 9.2.0, 9.2.0]} elastic#135150
  ...
gmjehovich pushed a commit to gmjehovich/elasticsearch that referenced this pull request Sep 22, 2025
Replaces the tests for a count of functions with a spot check of some
specific functions. `delay` should never be released. `idelta` isn't
released but will be. `mv_sum` has been released. It's nice to have the
ones we want to make sure aren't available in production in there, but
otherwise it's a fairly random list.

Doing this because maintaining the count was constantly a problem -
folks would stumble over it all the time and it wasn't really buying us
anything.
DonalEvans pushed a commit to DonalEvans/elasticsearch that referenced this pull request Sep 22, 2025
Replaces the tests for a count of functions with a spot check of some
specific functions. `delay` should never be released. `idelta` isn't
released but will be. `mv_sum` has been released. It's nice to have the
ones we want to make sure aren't available in production in there, but
otherwise it's a fairly random list.

Doing this because maintaining the count was constantly a problem -
folks would stumble over it all the time and it wasn't really buying us
anything.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/ES|QL AKA ESQL Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) >test Issues or PRs that are addressing/adding tests v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants