boluor opened a new pull request, #3823:
URL: https://github.com/apache/doris-website/pull/3823

   ## Summary
   
   Two DML statement pages reference tables their example sections never 
create. This PR adds the missing setup blocks (mirrored on EN and ZH) so the 
examples actually run on a fresh cluster.
   
   | Page | Missing | Added |
   |------|---------|-------|
   | \`DML/DELETE.md\` | \`my_table\` | Unique-Key list-partitioned table on 
\`k1\` (partitions \`p1\`, \`p2\`) with columns \`(k1, k2)\` and six seed rows; 
this powers examples 1, 2, 3, 6 and 7 |
   | \`DML/DELETE.md\` (example 4) | post-DELETE state assertion | Wrap the 
existing post-delete row table in an explicit \`SELECT * FROM t1 ORDER BY id;\` 
so the result block compares against the SELECT output rather than DELETE's own 
empty result. Also corrected the result block's column widths and DOUBLE 
display to match Apache Doris 4.1.1's actual mysql output (integer-valued 
DOUBLE has no trailing \`.0\`) |
   | \`DML/INSERT-OVERWRITE.md\` | \`test2\` | A small \`test2\` CREATE TABLE + 
2-row INSERT matching the \`(c1, c2)\` shape of \`test\`, inserted between the 
existing \`test\` setup and the first overwrite example |
   
   ## Verification
   
   End-to-end on a single-node Apache Doris 4.1.1 cluster:
   - All five \`my_table\` DELETE forms parse and execute after the new setup 
block.
   - Example 4's setup + DELETE + new SELECT match the result block 
byte-for-byte.
   
   ## Test plan
   
   - [x] Run each affected example on a 4.1.1 cluster.
   - [x] EN and ZH parallel-edited.
   - [x] No existing examples removed.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to