Skip to content

[doc](string-functions) fix EXPORT_SET example SQL/output mismatch - #4168

Open
Sarcastic-Soul wants to merge 1 commit into
apache:masterfrom
Sarcastic-Soul:fix/export-set-doc-example-3879
Open

Sarcastic-Soul wants to merge 1 commit into
apache:masterfrom
Sarcastic-Soul:fix/export-set-doc-example-3879

Conversation

@Sarcastic-Soul

Copy link
Copy Markdown

Summary

On the EXPORT_SET page, one example's SQL doesn't match its own documented output:

  • The SQL selected only EXPORT_SET(bits, on, off, sep, num_of_b) — a single column
  • The output table shown has six columns: bits | on | off | sep | num_of_b | ans

Fixed by selecting the input columns alongside the result, aliased as ans, matching the shown output. Applied identically to EN and ZH, dev/current and version-4.x docs (4 files).

Fixes #3879

The EXPORT_SET example selected only EXPORT_SET(...), but the shown
output table has six columns (the input columns plus the aliased
result column ans). Align the SQL with the documented output by
selecting the input columns alongside EXPORT_SET(...) AS ans.

Applies to EN + ZH, dev and version-4.x docs.

Fixes apache#3879
@Sarcastic-Soul

Copy link
Copy Markdown
Author

@zclllyybb could you review this doc fix when you have a chance? Thanks!

This branch has not been deployed

No deployments
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.

doc bug: EXPORT_SET example output table has 6 columns but the SQL selects only 1

1 participant