apache/spark — pull request #3646 by jkbradley (2014-12-09 18:53:01+00:00)
Title: [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