Commit a9f13e1
[SPARK-43849][BUILD] Enable unused imports check for Scala 2.13
### What changes were proposed in this pull request?
This pr aims to enable `unused imports` check for Scala 2.13.
There is an exception here for `import scala.language.higherKinds`(Scala 2.13 does not need to import them , while Scala 2.12 must import them), so this pr add two new suppression rules for it.
### Why are the changes needed?
Enable `unused imports` check for Scala 2.13.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Pass Github Actions
Closes #41356 from LuciferYang/SPARK-43849.
Authored-by: yangjie01 <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>1 parent 383d9fb commit a9f13e1
File tree
4 files changed
+14
-9
lines changed- connector/connect/server/src/main/scala/org/apache/spark/sql/connect/planner
- project
- sql/catalyst/src/main/scala-2.13/org/apache/spark/sql/catalyst/expressions
4 files changed
+14
-9
lines changedLines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | 34 | | |
38 | 35 | | |
39 | 36 | | |
40 | | - | |
41 | 37 | | |
42 | 38 | | |
43 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2855 | 2855 | | |
2856 | 2856 | | |
2857 | 2857 | | |
| 2858 | + | |
2858 | 2859 | | |
2859 | 2860 | | |
2860 | | - | |
2861 | 2861 | | |
2862 | 2862 | | |
2863 | 2863 | | |
| |||
2891 | 2891 | | |
2892 | 2892 | | |
2893 | 2893 | | |
| 2894 | + | |
| 2895 | + | |
| 2896 | + | |
| 2897 | + | |
| 2898 | + | |
| 2899 | + | |
2894 | 2900 | | |
2895 | 2901 | | |
2896 | 2902 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
260 | | - | |
| 259 | + | |
261 | 260 | | |
262 | 261 | | |
263 | 262 | | |
| |||
283 | 282 | | |
284 | 283 | | |
285 | 284 | | |
286 | | - | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
287 | 290 | | |
288 | 291 | | |
289 | 292 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments