Skip to content

Revert "[ESQL] Introduce pluggable external datasource framework (#141678)#142663

Merged
smalyshev merged 2 commits intoelastic:mainfrom
smalyshev:revert_ce37e1ae60974af1a6664a56f0479b1c3d354111
Feb 19, 2026
Merged

Revert "[ESQL] Introduce pluggable external datasource framework (#141678)#142663
smalyshev merged 2 commits intoelastic:mainfrom
smalyshev:revert_ce37e1ae60974af1a6664a56f0479b1c3d354111

Conversation

@smalyshev
Copy link
Copy Markdown
Contributor

@smalyshev smalyshev commented Feb 18, 2026

This reverts commit 6acdb30. It's causing HeapAttackIT to fail in serverless. On some machines. But not others! How exciting.

For now, we'll revert and then try and get it back more slowly.

For context: this fails for me reliably on serverless main:

./gradlew ":qa:stateful:test:external-modules:test-esql-heap-attack:javaRestTest" --tests "org.elasticsearch.xpack.esql.heap_attack.HeapAttackIT"  -Dtests.iters=2 -Dtests.seed=546B5A9612B7E079

Fails with different seeds too. Does not fail with this revert.

…stic#141678)"

This reverts commit 6acdb30. It's
causing HeapAttackIT to fail in serverless. On some machines. But not
others! How exciting.

For now, we'll revert and then try and get it back more slowly.
@smalyshev smalyshev added >non-issue test-release Trigger CI checks against release build labels Feb 18, 2026
@smalyshev smalyshev force-pushed the revert_ce37e1ae60974af1a6664a56f0479b1c3d354111 branch from 9e80fce to b0b4b0f Compare February 18, 2026 21:57
@smalyshev smalyshev added :Analytics/ES|QL AKA ESQL and removed test-release Trigger CI checks against release build labels Feb 18, 2026
@smalyshev smalyshev changed the title Revert ce37e1ae60974af1a6664a56f0479b1c3d354111 Revert "[ESQL] Introduce pluggable external datasource framework (#141678) Feb 18, 2026
@smalyshev smalyshev marked this pull request as ready for review February 18, 2026 23:05
@smalyshev smalyshev requested a review from a team as a code owner February 18, 2026 23:05
@elasticsearchmachine elasticsearchmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Feb 18, 2026
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

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

@smalyshev
Copy link
Copy Markdown
Contributor Author

@elasticsearchmachine test this please

@elasticsearchmachine elasticsearchmachine added the serverless-linked Added by automation, don't add manually label Feb 18, 2026
@smalyshev smalyshev merged commit 8f68c0b into elastic:main Feb 19, 2026
37 of 42 checks passed
@smalyshev smalyshev deleted the revert_ce37e1ae60974af1a6664a56f0479b1c3d354111 branch February 19, 2026 00:49
@@ -59,12 +59,13 @@ setup:
- cosine_vector_similarity_function
- inline_stats
- promql_command_v0
- uri_parts_command
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@smalyshev why is this added here and the counter decreased?
I am adding a now command (and capability) now and I am uncertain as to what is expected

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@eyalkoren

  1. Counter is decreased because we're reverting a feature, so now there's one feature less
  2. uri_parts_command us added because in some builds, like serverless, the part withthis feature has not been picked up yet (serverless submodule is sometimes a bit behind) so it tries to run a test on the code that doesn't have this feature yet, and the count is wrong.

In general, the idea of the count is not that great and causes unending stream of failures and complications, so we want to move away from it someday soon.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

In general, the idea of the count is not that great and causes unending stream of failures and complications, so we want to move away from it someday soon.

That would be great! I am contributing to ES|QL for a short time and already experienced this as an unreasonable overhead. Multiplying that by all other contributors, this is costly. Thanks for explaining.
I am trying to follow up according to the same logic in my new PR as well...

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@eyalkoren remember to also test in the release mode (test-release label) since there are two tests there - one for snapshot and one for release.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

You mean - adding the GitHub test-release label?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@eyalkoren yes, this label will run release mode CI tests

costin added a commit to costin/elasticsearch that referenced this pull request Feb 19, 2026
szybia added a commit to szybia/elasticsearch that referenced this pull request Feb 19, 2026
…on-sliced-reindex

* upstream/main: (120 commits)
  [Fleet] Add OpAMP field mappings to fleet-agents (elastic#142550)
  Clarify `expectedSize` behaviour of `ReleasableBytesStreamOutput` (elastic#142451)
  Refactor KnnIndexTester to tidy up some options (elastic#142651)
  Fixed with elastic#142638 already (elastic#142655)
  Change *OverTimeTests to extend AbstractAggregationTestCase (elastic#142659)
  Fix byteRefBlockHashSize for release mode (elastic#142668)
  Mute org.elasticsearch.xpack.esql.tree.EsqlNodeSubclassTests testTransform {class org.elasticsearch.xpack.esql.plan.logical.MMR} elastic#142674
  Fix PAUSED_FOR_NODE_REMOVAL shard blocking QUEUED promotion (elastic#142637)
  Mute org.elasticsearch.xpack.logsdb.RandomizedRollingUpgradeIT testIndexingStandardSource elastic#142670
  Revert "[ESQL] Introduce pluggable external datasource framework (elastic#141678) (elastic#142663)
  Mute org.elasticsearch.xpack.esql.spatial.SpatialPushDownGeoShapeIT testQuantizedXY elastic#141234
  PromQL: infer start/end from query DSL filters (elastic#142580)
  Add GPU vector indexing monitoring to _xpack/usage (elastic#141932)
  Fix testTrackerClearShutdown: use non-zero startTimeMillis for DONE status (elastic#142646)
  Mute org.elasticsearch.xpack.esql.qa.single_node.GenerativeIT test elastic#142426
  ESQL_ Move time_zone to GA (elastic#142287)
  Mute org.elasticsearch.xpack.esql.qa.multi_node.GenerativeIT test elastic#142426
  DOCS: Convert Painless diagrams to mermaid (elastic#141851)
  ES|QL: fix validation in generative tests (elastic#142638)
  Unmute tests that do not reproduce failures (elastic#141712)
  ...
@tylerperk tylerperk added the ES|QL|DS ES|QL datasources label Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/ES|QL AKA ESQL ES|QL|DS ES|QL datasources >non-issue serverless-linked Added by automation, don't add manually Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants