Skip to content
Snippets Groups Projects
Commit 328d1b3e authored by Michael Armbrust's avatar Michael Armbrust
Browse files

[SPARK-11090] [SQL] Constructor for Product types from InternalRow

This is a first draft of the ability to construct expressions that will take a catalyst internal row and construct a Product (case class or tuple) that has fields with the correct names.  Support include:
 - Nested classes
 - Maps
 - Efficiently handling of arrays of primitive types

Not yet supported:
 - Case classes that require custom collection types (i.e. List instead of Seq).

Author: Michael Armbrust <michael@databricks.com>

Closes #9100 from marmbrus/productContructor.
parent 3889b1c7
No related branches found
No related tags found
No related merge requests found
Showing
with 723 additions and 159 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment