spark-instrumented-optimizer/sql/core/src
Wenchen Fan 6327ea570b [SPARK-21255][SQL] simplify encoder for java enum
## What changes were proposed in this pull request?

This is a follow-up for https://github.com/apache/spark/pull/18488, to simplify the code.

The major change is, we should map java enum to string type, instead of a struct type with a single string field.

## How was this patch tested?

existing tests

Author: Wenchen Fan <wenchen@databricks.com>

Closes #19066 from cloud-fan/fix.
2017-08-29 09:15:59 -07:00
..
main [SPARK-21848][SQL] Add trait UserDefinedExpression to identify user-defined functions 2017-08-29 09:08:59 -07:00
test [SPARK-21255][SQL] simplify encoder for java enum 2017-08-29 09:15:59 -07:00