Skip to content
Snippets Groups Projects
Commit 35319d32 authored by Yin Huai's avatar Yin Huai Committed by Reynold Xin
Browse files

[SPARK-14885][SQL] When creating a CatalogColumn, we should use the...

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

## 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.

Author: Yin Huai <yhuai@databricks.com>

Closes #12654 from yhuai/useCatalogString.
parent d34d6503
No related branches found
No related tags found
Loading
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