Skip to content

Conversation

@cloud-fan
Copy link
Contributor

What changes were proposed in this pull request?

When we build serializer for UDT object, we should declare its data type as udt instead of udt.sqlType, or if we deserialize it again, we lose the information that it's a udt object and throw analysis exception.

How was this patch tested?

new test in UserDefiendTypeSuite

@cloud-fan
Copy link
Contributor Author

cc @yhuai @zsxwing

@SparkQA
Copy link

SparkQA commented May 31, 2016

Test build #59633 has finished for PR 13402 at commit 6d614dd.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@yhuai
Copy link
Contributor

yhuai commented May 31, 2016

LGTM. Merging to master and branch 2.0.

asfgit pushed a commit that referenced this pull request May 31, 2016
… instead of udt.sqlType

## What changes were proposed in this pull request?

When we build serializer for UDT object, we should declare its data type as udt instead of udt.sqlType, or if we deserialize it again, we lose the information that it's a udt object and throw analysis exception.

## How was this patch tested?

new test in `UserDefiendTypeSuite`

Author: Wenchen Fan <wenchen@databricks.com>

Closes #13402 from cloud-fan/udt.

(cherry picked from commit 2bfed1a)
Signed-off-by: Yin Huai <yhuai@databricks.com>
@asfgit asfgit closed this in 2bfed1a May 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants