aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorTakeshi Yamamuro <yamamuro@apache.org>2017-03-16 08:50:01 +0800
committerWenchen Fan <wenchen@databricks.com>2017-03-16 08:50:01 +0800
commit21f333c635465069b7657d788052d510ffb0779a (patch)
treed574b69f428ba5586d88475592f0e7775955dc32 /.travis.yml
parentfc9314671c8a082ae339fd6df177a2b684c65d40 (diff)
downloadspark-21f333c635465069b7657d788052d510ffb0779a.tar.gz
spark-21f333c635465069b7657d788052d510ffb0779a.tar.bz2
spark-21f333c635465069b7657d788052d510ffb0779a.zip
[SPARK-19751][SQL] Throw an exception if bean class has one's own class in fields
## What changes were proposed in this pull request? The current master throws `StackOverflowError` in `createDataFrame`/`createDataset` if bean has one's own class in fields; ``` public class SelfClassInFieldBean implements Serializable { private SelfClassInFieldBean child; ... } ``` This pr added code to throw `UnsupportedOperationException` in that case as soon as possible. ## How was this patch tested? Added tests in `JavaDataFrameSuite` and `JavaDatasetSuite`. Author: Takeshi Yamamuro <yamamuro@apache.org> Closes #17188 from maropu/SPARK-19751.
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions