Skip to content

Commit

Permalink
[SPARK-21255][SQL] fixed ser/de for EnumBean and BeanWithEnum, minor …
Browse files Browse the repository at this point in the history
…fixes
  • Loading branch information
mike0sv committed Aug 9, 2017
1 parent 180b182 commit 93aa1a3
Show file tree
Hide file tree
Showing 2 changed files with 344 additions and 344 deletions.
Expand Up @@ -345,8 +345,8 @@ object JavaTypeInference {
}

/**
* Returns an expression for serializing an object of the given type to an internal row.
*/
* Returns an expression for serializing an object of the given type to an internal row.
*/
def serializerFor(beanClass: Class[_]): CreateNamedStruct = {
val inputObject = BoundReference(0, ObjectType(beanClass), nullable = true)
val nullSafeInput = AssertNotNull(inputObject, Seq("top level input bean"))
Expand Down

0 comments on commit 93aa1a3

Please sign in to comment.