[fix](sql-functions) reconstruct example1 setup for EXPLODE_SPLIT (version-3.x / version-2.1)#3890
Merged
morningman merged 1 commit intoJun 3, 2026
Conversation
…rsion-3.x / version-2.1)
The EXPLODE_SPLIT page's early examples query `example1`, which the version-3.x /
version-2.1 docs never define (the page only defines `example2`, used later). So
those examples cannot be run or reproduced ("table does not exist").
Add the missing `example1` CREATE TABLE + INSERT, reconstructed from the page's
own `select * from example1` output, as a visible inline block before the first
example that uses it.
Verified on version-3.x (3.1.4) and version-2.1 (2.1.11): all but one example
resolve and match the documented output. The remaining example has a pre-existing
output bug (its rows are not sorted despite `ORDER BY e1`), tracked in apache#3889 and
left for a separate doc correction.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
The
EXPLODE_SPLITpages early examples queryexample1, which theversion-3.x/version-2.1docs never define (the page only definesexample2, used by the later examples). So those examples cannot be run or reproduced (Table [...] does not exist).This PR adds the missing
example1CREATE TABLE+INSERT, reconstructed from the pages ownselect * from example1output, as a visible inline block before the first example that uses it.Verified on
version-3.x(3.1.4) andversion-2.1(2.1.11): all but one example resolve and match the documented output. EN + ZH (4 files). Noja-sourcechanges.