Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-14885] [SQL] When creating a CatalogColumn, we should use the catalogString of a DataType object. #12654

Closed
wants to merge 1 commit into from

Conversation

yhuai
Copy link
Contributor

@yhuai yhuai commented Apr 24, 2016

What changes were proposed in this pull request?

Right now, the data type field of a CatalogColumn is using the string representation. When we create this string from a DataType object, there are places where we use simpleString instead of catalogString. Although catalogString is the same as simpleString right now, it is still good to use catalogString. So, we will not silently introduce issues when we change the semantic of simpleString or the implementation of catalogString.

How was this patch tested?

Existing tests.

@SparkQA
Copy link

SparkQA commented Apr 24, 2016

Test build #56858 has finished for PR 12654 at commit bc33255.

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

@rxin
Copy link
Contributor

rxin commented Apr 25, 2016

Note that they are not the same for UDTs.

@rxin
Copy link
Contributor

rxin commented Apr 25, 2016

LGTM - merging in master.

@asfgit asfgit closed this in 35319d3 Apr 25, 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
3 participants