aboutsummaryrefslogtreecommitdiff
path: root/ec2
diff options
context:
space:
mode:
authorJoseph K. Bradley <joseph@databricks.com>2014-12-10 23:41:15 -0800
committerMichael Armbrust <michael@databricks.com>2014-12-10 23:41:15 -0800
commit2a5b5fd4ccf28fab5b7e32a54170be92d5d23ba6 (patch)
tree633f5ed2c9c741dd570c70ca504eb9461fd72dc5 /ec2
parent57d37f9c7193f1cb04a22d7f512178696b655b71 (diff)
downloadspark-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 'ec2')
0 files changed, 0 insertions, 0 deletions