diff options
author | Joseph K. Bradley <joseph@databricks.com> | 2014-12-10 23:41:15 -0800 |
---|---|---|
committer | Michael Armbrust <michael@databricks.com> | 2014-12-10 23:41:15 -0800 |
commit | 2a5b5fd4ccf28fab5b7e32a54170be92d5d23ba6 (patch) | |
tree | 633f5ed2c9c741dd570c70ca504eb9461fd72dc5 /docs/streaming-custom-receivers.md | |
parent | 57d37f9c7193f1cb04a22d7f512178696b655b71 (diff) | |
download | spark-2a5b5fd4ccf28fab5b7e32a54170be92d5d23ba6.tar.gz spark-2a5b5fd4ccf28fab5b7e32a54170be92d5d23ba6.tar.bz2 spark-2a5b5fd4ccf28fab5b7e32a54170be92d5d23ba6.zip |
[SPARK-4791] [sql] Infer schema from case class with multiple constructors
Modified ScalaReflection.schemaFor to take primary constructor of Product when there are multiple constructors. Added test to suite which failed before but works now.
Needed for [https://github.com/apache/spark/pull/3637]
CC: marmbrus
Author: Joseph K. Bradley <joseph@databricks.com>
Closes #3646 from jkbradley/sql-reflection and squashes the following commits:
796b2e4 [Joseph K. Bradley] Modified ScalaReflection.schemaFor to take primary constructor of Product when there are multiple constructors. Added test to suite which failed before but works now.
Diffstat (limited to 'docs/streaming-custom-receivers.md')
0 files changed, 0 insertions, 0 deletions