Commit dfe880e
committed
[SPARK-52149] Add
### What changes were proposed in this pull request?
This PR aims to introduce `String.toExpression` extension to simplify the code.
### Why are the changes needed?
To simplify the code by reducing the repetition.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Pass the CIs.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #148 from dongjoon-hyun/SPARK-52149.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>String.toExpression extension1 parent 9622e8e commit dfe880e
File tree
4 files changed
+16
-40
lines changed- Sources/SparkConnect
4 files changed
+16
-40
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
| 75 | + | |
80 | 76 | | |
81 | 77 | | |
82 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
129 | 137 | | |
130 | 138 | | |
131 | 139 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
| 35 | + | |
| 36 | + | |
45 | 37 | | |
46 | 38 | | |
47 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
508 | 508 | | |
509 | 509 | | |
510 | 510 | | |
511 | | - | |
512 | | - | |
513 | | - | |
514 | | - | |
515 | | - | |
| 511 | + | |
516 | 512 | | |
517 | 513 | | |
518 | 514 | | |
| |||
908 | 904 | | |
909 | 905 | | |
910 | 906 | | |
911 | | - | |
912 | | - | |
913 | | - | |
914 | | - | |
915 | | - | |
| 907 | + | |
916 | 908 | | |
917 | 909 | | |
918 | 910 | | |
| |||
932 | 924 | | |
933 | 925 | | |
934 | 926 | | |
935 | | - | |
936 | | - | |
937 | | - | |
938 | | - | |
939 | | - | |
| 927 | + | |
940 | 928 | | |
941 | 929 | | |
942 | | - | |
943 | | - | |
944 | | - | |
945 | | - | |
946 | | - | |
| 930 | + | |
947 | 931 | | |
948 | 932 | | |
949 | 933 | | |
| |||
958 | 942 | | |
959 | 943 | | |
960 | 944 | | |
961 | | - | |
962 | | - | |
963 | | - | |
964 | | - | |
965 | | - | |
| 945 | + | |
966 | 946 | | |
967 | 947 | | |
968 | 948 | | |
| |||
0 commit comments