[fix] correct malformed JSON and doubled GET in get-ddl-stmt-action doc#3684
Merged
Conversation
Two errors in the get-ddl-stmt-action API doc: - The `create_table` value in the Response JSON example was missing its closing double-quote (`["CREATE TABLE ...]` -> `["CREATE TABLE ..."]`). - The example request line had a doubled `GET` (`GET GET /api/_get_ddl`). Applied across all affected EN and Chinese versions. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The CI pipeline no longer builds these legacy versions, so changes there cannot be merged. Restore those files to their base state.
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.
Summary
Two errors in the FE
get-ddl-stmt-actionAPI doc (admin-manual/open-api/fe-http/get-ddl-stmt-action.md):create_tablearray value was missing its closing double-quote:["CREATE TABLE \tbl1` ...]→["CREATE TABLE `tbl1` ..."]. The siblingcreate_partition/create_rollup` values are correctly quoted, confirming this is a malformation.GET:GET GET /api/_get_ddl?...→GET /api/_get_ddl?....Applied across all 12 affected versions (EN + ZH, next/4.x/3.x/2.1/2.0/1.2). The bug text was identical in every version.
Test plan
GET