Commit 34754f0
[MINOR][SQL] Remove unused
### What changes were proposed in this pull request?
In the PR, I propose to remove 2 unused methods: `checkForNumericExpr()` and `checkTypesInternal()`. Type checks of inputs in `Pmod` are performed by `BinaryArithmetic.checkInputDataTypes()`.
### Why are the changes needed?
To improve code maintenance.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
By running the related test suites:
```
$ build/sbt "sql/testOnly org.apache.spark.sql.SQLQueryTestSuite"
$ build/sbt "test:testOnly *ArithmeticExpressionSuite"
```
Closes #37740 from MaxGekk/rm-checkForNumericExpr.
Authored-by: Max Gekk <[email protected]>
Signed-off-by: Yuming Wang <[email protected]>checkForNumericExpr()
1 parent 247306c commit 34754f0
File tree
2 files changed
+0
-10
lines changed- sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst
- expressions
- util
2 files changed
+0
-10
lines changedLines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
981 | 981 | | |
982 | 982 | | |
983 | 983 | | |
984 | | - | |
985 | | - | |
986 | | - | |
987 | 984 | | |
988 | 985 | | |
989 | 986 | | |
| |||
Lines changed: 0 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | 29 | | |
37 | 30 | | |
38 | 31 | | |
| |||
0 commit comments