Commit a1cb4fe
docs(functions): use F alias in get_field doctest
The doctest namespace already imports `datafusion.functions as F`,
making `F.named_struct` / `F.get_field` shorter than the
`dfn.functions.*` form.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent eb4bc9f commit a1cb4fe
1 file changed
Lines changed: 4 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2749 | 2749 | | |
2750 | 2750 | | |
2751 | 2751 | | |
2752 | | - | |
2753 | | - | |
2754 | | - | |
| 2752 | + | |
2755 | 2753 | | |
2756 | 2754 | | |
2757 | | - | |
| 2755 | + | |
2758 | 2756 | | |
2759 | 2757 | | |
2760 | 2758 | | |
| |||
2771 | 2769 | | |
2772 | 2770 | | |
2773 | 2771 | | |
2774 | | - | |
| 2772 | + | |
2775 | 2773 | | |
2776 | 2774 | | |
2777 | | - | |
2778 | | - | |
2779 | | - | |
| 2775 | + | |
2780 | 2776 | | |
2781 | 2777 | | |
2782 | 2778 | | |
| |||
0 commit comments