Skip to content

ESQL: Fix review feedback and add test coverage for PR #143703#143900

Merged
costin merged 2 commits intoelastic:mainfrom
costin:esql/pr-143703-followup
Mar 10, 2026
Merged

ESQL: Fix review feedback and add test coverage for PR #143703#143900
costin merged 2 commits intoelastic:mainfrom
costin:esql/pr-143703-followup

Conversation

@costin
Copy link
Copy Markdown
Member

@costin costin commented Mar 9, 2026

Address review feedback from bpintea on PR #143703 and close test
coverage gaps identified in the columnar I/O and parallel parsing
changes.

Fix String.format to use Locale.ROOT in ParallelParsingBenchmark
(bpintea review comment). Add dedicated unit tests for the
findNextRecordBoundary implementations in CsvFormatReader (RFC 4180
quote-aware boundary detection, escaped quotes, buffer edge cases) and
NdJsonFormatReader (newline, CRLF, CR-only, buffer split). Extend
ColumnBlockConversionsTests with parity edge cases for
intColumnFromLongs, booleanColumnFromLongs, and
doubleColumnFromLongs (repeating null, array copy independence, larger
array than row count). Add RangeStorageObjectTests scenarios for
readBytes with non-zero position, exact-size buffers, and partial
reads from the middle of a range.

Developed using AI-assisted tooling.

Fix String.format to use Locale.ROOT in ParallelParsingBenchmark
(bpintea review comment). Add unit tests for findNextRecordBoundary
in CsvFormatReader and NdJsonFormatReader covering quote-aware
boundary detection, CRLF handling, buffer edge cases, and EOF.
Extend ColumnBlockConversionsTests with repeating null, array copy,
and larger-array edge cases for int/boolean/doubleFromLongs. Add
RangeStorageObjectTests for readBytes with non-zero position,
exact-size buffers, and partial reads.
@costin costin requested a review from bpintea March 9, 2026 18:54
@elasticsearchmachine elasticsearchmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Mar 9, 2026
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

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

@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

Hi @costin, I've created a changelog YAML for you.

@costin costin merged commit b72c6cc into elastic:main Mar 10, 2026
36 checks passed
@costin costin deleted the esql/pr-143703-followup branch March 10, 2026 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/ES|QL AKA ESQL >enhancement 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.

3 participants