GitHub user adrian-wang opened a pull request:

    https://github.com/apache/spark/pull/14089

    [SPARK-16415][SQL] fix catalog string error

    ## What changes were proposed in this pull request?
    
    In #13537 we truncate `simpleString` if it is a long `StructType`. But 
sometimes we need `catalogString` to reconstruct `TypeInfo`, for example in 
description of [SPARK-16415 
](https://issues.apache.org/jira/browse/SPARK-16415). So we need to keep the 
implementation of `catalogString` not affected by our truncate.
    
    
    ## How was this patch tested?
    
    added a test case.
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/adrian-wang/spark catalogstring

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/14089.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #14089
    
----
commit dc81b385a68c842715b3377f15f7b3009e45f0ce
Author: Daoyuan Wang <[email protected]>
Date:   2016-07-06T03:18:07Z

    fix catalog string

commit eb1018108a879a06701c3dff539ef8d10ab2b118
Author: Daoyuan Wang <[email protected]>
Date:   2016-07-07T11:41:39Z

    add a unit test

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to