aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorAndrew Or <andrew@databricks.com>2015-06-19 17:34:09 -0700
committerYin Huai <yhuai@databricks.com>2015-06-19 17:34:09 -0700
commit093c34838d1db7a9375f36a9a2ab5d96a23ae683 (patch)
tree6e48529750ee071ca640b53bc71762c7be77cbc5 /core
parentb305e377fb0a2ca67d9924b995c51e483a4944ad (diff)
downloadspark-093c34838d1db7a9375f36a9a2ab5d96a23ae683.tar.gz
spark-093c34838d1db7a9375f36a9a2ab5d96a23ae683.tar.bz2
spark-093c34838d1db7a9375f36a9a2ab5d96a23ae683.zip
[SPARK-8498] [SQL] Add regression test for SPARK-8470
**Summary of the problem in SPARK-8470.** When using `HiveContext` to create a data frame of a user case class, Spark throws `scala.reflect.internal.MissingRequirementError` when it tries to infer the schema using reflection. This is caused by `HiveContext` silently overwriting the context class loader containing the user classes. **What this issue is about.** This issue adds regression tests for SPARK-8470, which is already fixed in #6891. We closed SPARK-8470 as a duplicate because it is a different manifestation of the same problem in SPARK-8368. Due to the complexity of the reproduction, this requires us to pre-package a special test jar and include it in the Spark project itself. I tested this with and without the fix in #6891 and verified that it passes only if the fix is present. Author: Andrew Or <andrew@databricks.com> Closes #6909 from andrewor14/SPARK-8498 and squashes the following commits: 5e9d688 [Andrew Or] Add regression test for SPARK-8470
Diffstat (limited to 'core')
0 files changed, 0 insertions, 0 deletions