Commit 7e0ddda
[SPARK-20304][SQL] AssertNotNull should not include path in string representation
## What changes were proposed in this pull request?
AssertNotNull's toString/simpleString dumps the entire walkedTypePath. walkedTypePath is used for error message reporting and shouldn't be part of the output.
## How was this patch tested?
Manually tested.
Author: Reynold Xin <rxin@databricks.com>
Closes #17616 from rxin/SPARK-20304.
(cherry picked from commit 5408553)
Signed-off-by: Xiao Li <gatorsmile@gmail.com>1 parent dbb6d1b commit 7e0ddda
File tree
1 file changed
+2
-0
lines changed- sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/objects
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
936 | 936 | | |
937 | 937 | | |
938 | 938 | | |
| 939 | + | |
| 940 | + | |
939 | 941 | | |
940 | 942 | | |
941 | 943 | | |
| |||
0 commit comments