Commit 9e93eb2
# Backport
This will backport the following commits from `main` to `8.19`:
- [[ES|QL] Print comments around functions
(#229470)](#229470)
<!--- Backport version: 9.6.6 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)
<!--BACKPORT [{"author":{"name":"Vadim
Kibana","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-07-28T07:39:41Z","message":"[ES|QL]
Print comments around functions (#229470)\n\n## Summary\n\nFixes a bug
where comments in `WrappingPrettyPrinter` were not printed\naround
`function` AST nodes.\n\n\n### Checklist\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios\n\n---------\n\nCo-authored-by: Stratoula Kalafateli
<[email protected]>","sha":"61adf45bea53b04ab6d896b6858f946da57aa85b","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","review","release_note:skip","Feature:ES|QL","Team:ESQL","backport:version","v9.2.0","v9.1.1","v8.19.1"],"title":"[ES|QL]
Print comments around
functions","number":229470,"url":"https://github.com/elastic/kibana/pull/229470","mergeCommit":{"message":"[ES|QL]
Print comments around functions (#229470)\n\n## Summary\n\nFixes a bug
where comments in `WrappingPrettyPrinter` were not printed\naround
`function` AST nodes.\n\n\n### Checklist\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios\n\n---------\n\nCo-authored-by: Stratoula Kalafateli
<[email protected]>","sha":"61adf45bea53b04ab6d896b6858f946da57aa85b"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/229470","number":229470,"mergeCommit":{"message":"[ES|QL]
Print comments around functions (#229470)\n\n## Summary\n\nFixes a bug
where comments in `WrappingPrettyPrinter` were not printed\naround
`function` AST nodes.\n\n\n### Checklist\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios\n\n---------\n\nCo-authored-by: Stratoula Kalafateli
<[email protected]>","sha":"61adf45bea53b04ab6d896b6858f946da57aa85b"}},{"branch":"9.1","label":"v9.1.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
Co-authored-by: Vadim Kibana <[email protected]>
Co-authored-by: Stratoula Kalafateli <[email protected]>
1 parent df5b2b6 commit 9e93eb2
File tree
3 files changed
+46
-12
lines changed3 files changed
+46
-12
lines changedLines changed: 35 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| |||
640 | 642 | | |
641 | 643 | | |
642 | 644 | | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
643 | 678 | | |
644 | 679 | | |
645 | 680 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
| 10 | + | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
Lines changed: 8 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | 28 | | |
35 | 29 | | |
36 | 30 | | |
| |||
480 | 474 | | |
481 | 475 | | |
482 | 476 | | |
| 477 | + | |
483 | 478 | | |
484 | 479 | | |
485 | 480 | | |
| |||
601 | 596 | | |
602 | 597 | | |
603 | 598 | | |
604 | | - | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
605 | 602 | | |
606 | 603 | | |
607 | 604 | | |
| |||
620 | 617 | | |
621 | 618 | | |
622 | 619 | | |
623 | | - | |
| 620 | + | |
624 | 621 | | |
625 | 622 | | |
626 | 623 | | |
| |||
634 | 631 | | |
635 | 632 | | |
636 | 633 | | |
637 | | - | |
| 634 | + | |
638 | 635 | | |
639 | 636 | | |
640 | 637 | | |
| |||
647 | 644 | | |
648 | 645 | | |
649 | 646 | | |
| 647 | + | |
| 648 | + | |
650 | 649 | | |
651 | 650 | | |
652 | 651 | | |
| |||
0 commit comments