ESQL: Load script fields row-by-row#142807
Merged
nik9000 merged 13 commits intoelastic:mainfrom Feb 24, 2026
Merged
Conversation
I was looking at implementations of the deprecated `AllReader` and decided that scripts don't really need to load column-at-a-time at all. They might use `_source` and they already pay for dynamic invocations inside scripts all the time. Row-by-row gets them better jumbo protections, so let's do that.
Collaborator
|
Pinging @elastic/es-analytical-engine (Team:Analytics) |
martijnvg
approved these changes
Feb 23, 2026
Member
martijnvg
left a comment
There was a problem hiding this comment.
LGTM 👍, BlockScriptReader is a better abstraction for block loaders using scripts.
…sql_scripts_row_by_row
szybia
added a commit
to szybia/elasticsearch
that referenced
this pull request
Feb 24, 2026
…on-sliced-reindex * upstream/main: Update docs for v9.3.1 release (elastic#142887) Update docs for v9.2.6 release (elastic#142888) Improves visibility of vector index options and inference configuration (elastic#141653) Disable CAE in microsoft-graph-authz plugin (elastic#142848) Small improvements to `GetSnapshotsIT#testAllFeatures` (elastic#142825) Fix IndexSettingsTests synthetic ID tests (elastic#142654) [Test] Unmute tests of SnapshotShutdownIT (elastic#142921) Fixing metrics_info.json kibana definition file name (elastic#142813) [Packaging] Disable glibc 2.43 malloc huge pages in Wolfi images (elastic#142894) Mute org.elasticsearch.xpack.searchablesnapshots.SearchableSnapshotsTSDBSyntheticIdIntegTests testSearchableSnapshot elastic#142918 Add shard heap usage to ClusterInfo (elastic#139557) ESQL: Load script fields row-by-row (elastic#142807) ESQL: Consolidate doc values memory tracking (elastic#142816) ES-14124 Create Index Count Limit User documentation Page (elastic#142570) Add a es819 codec test to verify tryRead returns null if may contain duplicates (elastic#142409) Support arithmetic operations for dense_vectors: scalar version (elastic#141060) [Transform] Allow project_routing (elastic#142421) Refactor query rewrite async actions for knn and sparse_vector queries (elastic#142889) Do not mark bulk indexing requests as retried after primary relocations (elastic#142157)
sidosera
pushed a commit
to sidosera/elasticsearch
that referenced
this pull request
Feb 24, 2026
I was looking at implementations of the deprecated `AllReader` and decided that scripts don't really need to load column-at-a-time at all. They might use `_source` and they already pay for dynamic invocations inside scripts all the time. Row-by-row gets them better jumbo protections, so let's do that.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I was looking at implementations of the deprecated
AllReaderand decided that scripts don't really need to load column-at-a-time at all. They might use_sourceand they already pay for dynamic invocations inside scripts all the time. Row-by-row gets them better jumbo protections, so let's do that.