Skip to content

fix(query_engine): evaluate out-of-bound .at() expressions to null for null inputs - #1839

Merged
taepper merged 1 commit into
mainfrom
1838-at-out-of-bounds
Nov 17, 2026
Merged

taepper merged 1 commit into
mainfrom
1838-at-out-of-bounds

Conversation

@taepper

@taepper taepper commented Nov 17, 2026

Copy link
Copy Markdown
Collaborator

resolves #1838

Summary

.at() with an out-of-bounds position returned Empty (i.e. False) for every sequence. For null sequences, this should however be null, so a negation of the null filter will return the correct rows.

PR Checklist

  • All necessary documentation has been adapted or there is an issue to do so.
  • The implemented feature is covered by an appropriate test.

@github-actions

Copy link
Copy Markdown
Contributor

This is a preview of the changelog of the next release. If this branch is not up-to-date with the current main branch, the changelog may not be accurate. Rebase your branch on the main branch to get the most accurate changelog.

Note that this might contain changes that are on main, but not yet released.

Changelog:

0.17.6 (2026-11-17)

Features

  • query_engine: add type casts at query execution time (#1799) (f7acdf0)

Bug Fixes

  • query_engine: do not decompress every row before applying a limit (#1833) (d3c06a2)
  • query_engine: evaluate out-of-bound .at() expressions to null for null inputs (96a60ba)

@taepper
taepper merged commit 511d2ee into main Nov 17, 2026
20 checks passed
@taepper
taepper deleted the 1838-at-out-of-bounds branch November 17, 2026 14:53
taepper pushed a commit that referenced this pull request Nov 18, 2026
🤖 I have created a release *beep* *boop*
---


## [0.17.6](v0.17.5...v0.17.6)
(2026-11-18)


### Features

* **query_engine:** add type casts at query execution time
([#1799](#1799))
([f7acdf0](f7acdf0))


### Bug Fixes

* **query_engine:** do not decompress every row before applying a limit
([#1833](#1833))
([d3c06a2](d3c06a2))
* **query_engine:** evaluate out-of-bound `.at()` expressions to null
for null inputs ([#1839](#1839))
([511d2ee](511d2ee))
* **query_engine:** limit the nesting of queries
([#1828](#1828))
([599d3a4](599d3a4))
* **query_engine:** treat Unicode whitespace as whitespace and report
non-ASCII errors ([#1816](#1816))
([edc1c02](edc1c02))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

at() on an aligned sequence does handle out-of-bounds positions correctly

1 participant