Commit c0f0719
committed
### What changes were proposed in this pull request?
This PR aims to regenerate `Spark Connect`-generated Swift source code with `protoc-gen-grpc-swift-2`.
- https://formulae.brew.sh/formula/protoc-gen-grpc-swift
- https://github.com/grpc/grpc-swift-protobuf/releases/tag/2.0.0
```bash
$ which protoc-gen-grpc-swift-2
/opt/homebrew/bin/protoc-gen-grpc-swift-2
```
### Why are the changes needed?
These files are manually generated from [v4.0.0](https://github.com/apache/spark/releases/tag/v4.0.0) tag by the following standard procedures.
```
$ git clone -b v4.0.0 https://github.com/apache/spark.git
$ cd spark/sql/connect/common/src/main/protobuf/
$ protoc --swift_out=. spark/connect/*.proto
$ protoc --grpc-swift_out=. spark/connect/*.proto
// Remove empty GRPC files
$ git grep 'This file contained no services'
spark/connect/catalog.grpc.swift:// This file contained no services.
spark/connect/commands.grpc.swift:// This file contained no services.
spark/connect/common.grpc.swift:// This file contained no services.
spark/connect/example_plugins.grpc.swift:// This file contained no services.
spark/connect/expressions.grpc.swift:// This file contained no services.
spark/connect/ml.grpc.swift:// This file contained no services.
spark/connect/ml_common.grpc.swift:// This file contained no services.
spark/connect/relations.grpc.swift:// This file contained no services.
spark/connect/types.grpc.swift:// This file contained no services.
```
### 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 #198 from dongjoon-hyun/SPARK-52472.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent 80985b1 commit c0f0719
File tree
6 files changed
+15
-275
lines changed- Sources/SparkConnect
6 files changed
+15
-275
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
172 | 173 | | |
173 | 174 | | |
174 | 175 | | |
| 176 | + | |
175 | 177 | | |
176 | 178 | | |
177 | 179 | | |
178 | 180 | | |
179 | 181 | | |
180 | 182 | | |
181 | 183 | | |
| 184 | + | |
182 | 185 | | |
183 | 186 | | |
184 | 187 | | |
| |||
800 | 803 | | |
801 | 804 | | |
802 | 805 | | |
| 806 | + | |
803 | 807 | | |
804 | 808 | | |
805 | 809 | | |
| |||
916 | 920 | | |
917 | 921 | | |
918 | 922 | | |
| 923 | + | |
919 | 924 | | |
920 | 925 | | |
921 | 926 | | |
| |||
1029 | 1034 | | |
1030 | 1035 | | |
1031 | 1036 | | |
| 1037 | + | |
1032 | 1038 | | |
1033 | 1039 | | |
1034 | 1040 | | |
| |||
1171 | 1177 | | |
1172 | 1178 | | |
1173 | 1179 | | |
| 1180 | + | |
1174 | 1181 | | |
1175 | 1182 | | |
1176 | 1183 | | |
| |||
1795 | 1802 | | |
1796 | 1803 | | |
1797 | 1804 | | |
| 1805 | + | |
1798 | 1806 | | |
1799 | 1807 | | |
1800 | 1808 | | |
| |||
2096 | 2104 | | |
2097 | 2105 | | |
2098 | 2106 | | |
| 2107 | + | |
2099 | 2108 | | |
2100 | 2109 | | |
2101 | 2110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3123 | 3123 | | |
3124 | 3124 | | |
3125 | 3125 | | |
3126 | | - | |
3127 | 3126 | | |
3128 | 3127 | | |
3129 | 3128 | | |
3130 | 3129 | | |
3131 | 3130 | | |
3132 | | - | |
3133 | | - | |
3134 | | - | |
3135 | 3131 | | |
3136 | 3132 | | |
3137 | 3133 | | |
| |||
3751 | 3747 | | |
3752 | 3748 | | |
3753 | 3749 | | |
3754 | | - | |
3755 | 3750 | | |
3756 | 3751 | | |
3757 | 3752 | | |
3758 | 3753 | | |
3759 | 3754 | | |
3760 | | - | |
3761 | | - | |
3762 | | - | |
3763 | 3755 | | |
3764 | 3756 | | |
3765 | 3757 | | |
| |||
4766 | 4758 | | |
4767 | 4759 | | |
4768 | 4760 | | |
4769 | | - | |
4770 | 4761 | | |
4771 | 4762 | | |
4772 | 4763 | | |
4773 | 4764 | | |
4774 | 4765 | | |
4775 | | - | |
4776 | | - | |
4777 | | - | |
4778 | 4766 | | |
4779 | 4767 | | |
4780 | 4768 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2684 | 2684 | | |
2685 | 2685 | | |
2686 | 2686 | | |
2687 | | - | |
2688 | 2687 | | |
2689 | 2688 | | |
2690 | 2689 | | |
2691 | 2690 | | |
2692 | 2691 | | |
2693 | | - | |
2694 | | - | |
2695 | | - | |
2696 | 2692 | | |
2697 | 2693 | | |
2698 | 2694 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1887 | 1887 | | |
1888 | 1888 | | |
1889 | 1889 | | |
1890 | | - | |
1891 | 1890 | | |
1892 | 1891 | | |
1893 | 1892 | | |
1894 | 1893 | | |
1895 | 1894 | | |
1896 | | - | |
1897 | | - | |
1898 | | - | |
1899 | 1895 | | |
1900 | 1896 | | |
1901 | 1897 | | |
| |||
2334 | 2330 | | |
2335 | 2331 | | |
2336 | 2332 | | |
2337 | | - | |
2338 | 2333 | | |
2339 | 2334 | | |
2340 | 2335 | | |
2341 | 2336 | | |
2342 | 2337 | | |
2343 | | - | |
2344 | | - | |
2345 | | - | |
2346 | 2338 | | |
2347 | 2339 | | |
2348 | 2340 | | |
| |||
2432 | 2424 | | |
2433 | 2425 | | |
2434 | 2426 | | |
2435 | | - | |
2436 | 2427 | | |
2437 | 2428 | | |
2438 | 2429 | | |
2439 | 2430 | | |
2440 | 2431 | | |
2441 | | - | |
2442 | | - | |
2443 | | - | |
2444 | 2432 | | |
2445 | 2433 | | |
2446 | 2434 | | |
| |||
2530 | 2518 | | |
2531 | 2519 | | |
2532 | 2520 | | |
2533 | | - | |
2534 | 2521 | | |
2535 | 2522 | | |
2536 | 2523 | | |
2537 | 2524 | | |
2538 | 2525 | | |
2539 | | - | |
2540 | | - | |
2541 | | - | |
2542 | 2526 | | |
2543 | 2527 | | |
2544 | 2528 | | |
| |||
2650 | 2634 | | |
2651 | 2635 | | |
2652 | 2636 | | |
2653 | | - | |
2654 | 2637 | | |
2655 | 2638 | | |
2656 | 2639 | | |
2657 | 2640 | | |
2658 | 2641 | | |
2659 | | - | |
2660 | | - | |
2661 | | - | |
2662 | 2642 | | |
2663 | 2643 | | |
2664 | 2644 | | |
| |||
2759 | 2739 | | |
2760 | 2740 | | |
2761 | 2741 | | |
2762 | | - | |
2763 | 2742 | | |
2764 | 2743 | | |
2765 | 2744 | | |
2766 | 2745 | | |
2767 | 2746 | | |
2768 | | - | |
2769 | | - | |
2770 | | - | |
2771 | 2747 | | |
2772 | 2748 | | |
2773 | 2749 | | |
| |||
3824 | 3800 | | |
3825 | 3801 | | |
3826 | 3802 | | |
3827 | | - | |
3828 | 3803 | | |
3829 | 3804 | | |
3830 | 3805 | | |
3831 | 3806 | | |
3832 | 3807 | | |
3833 | | - | |
3834 | | - | |
3835 | | - | |
3836 | 3808 | | |
3837 | 3809 | | |
3838 | 3810 | | |
| |||
3910 | 3882 | | |
3911 | 3883 | | |
3912 | 3884 | | |
3913 | | - | |
3914 | 3885 | | |
3915 | 3886 | | |
3916 | 3887 | | |
3917 | 3888 | | |
3918 | 3889 | | |
3919 | | - | |
3920 | | - | |
3921 | | - | |
3922 | 3890 | | |
3923 | 3891 | | |
3924 | 3892 | | |
| |||
4002 | 3970 | | |
4003 | 3971 | | |
4004 | 3972 | | |
4005 | | - | |
4006 | 3973 | | |
4007 | 3974 | | |
4008 | 3975 | | |
4009 | 3976 | | |
4010 | 3977 | | |
4011 | | - | |
4012 | | - | |
4013 | | - | |
4014 | 3978 | | |
4015 | 3979 | | |
4016 | 3980 | | |
| |||
4092 | 4056 | | |
4093 | 4057 | | |
4094 | 4058 | | |
4095 | | - | |
4096 | 4059 | | |
4097 | 4060 | | |
4098 | 4061 | | |
4099 | 4062 | | |
4100 | 4063 | | |
4101 | | - | |
4102 | | - | |
4103 | | - | |
4104 | 4064 | | |
4105 | 4065 | | |
4106 | 4066 | | |
| |||
4598 | 4558 | | |
4599 | 4559 | | |
4600 | 4560 | | |
4601 | | - | |
4602 | 4561 | | |
4603 | 4562 | | |
4604 | 4563 | | |
4605 | 4564 | | |
4606 | 4565 | | |
4607 | | - | |
4608 | | - | |
4609 | | - | |
4610 | 4566 | | |
4611 | 4567 | | |
4612 | 4568 | | |
| |||
4684 | 4640 | | |
4685 | 4641 | | |
4686 | 4642 | | |
4687 | | - | |
4688 | 4643 | | |
4689 | 4644 | | |
4690 | 4645 | | |
4691 | 4646 | | |
4692 | 4647 | | |
4693 | | - | |
4694 | | - | |
4695 | | - | |
4696 | 4648 | | |
4697 | 4649 | | |
4698 | 4650 | | |
| |||
0 commit comments