Commit 931f156
committed
SPARK-17424: Fix unsound substitution bug in ScalaReflection.
Substitution fails when the actual type args are empty because they are
still unknown. Instead, when there are no resolved types to subsitute,
return the formal type args with unresovled type parameters.1 parent 8087ecf commit 931f156
File tree
1 file changed
+10
-2
lines changed- sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst
1 file changed
+10
-2
lines changedLines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
785 | 785 | | |
786 | 786 | | |
787 | 787 | | |
788 | | - | |
789 | | - | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
790 | 798 | | |
791 | 799 | | |
792 | 800 | | |
| |||
0 commit comments