You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2021/01/20 02:23:00 UTC

[jira] [Commented] (SPARK-34164) Improve write side varchar check to visit only last few tailing spaces

    [ https://issues.apache.org/jira/browse/SPARK-34164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17268326#comment-17268326 ] 

Apache Spark commented on SPARK-34164:
--------------------------------------

User 'yaooqinn' has created a pull request for this issue:
https://github.com/apache/spark/pull/31253

> Improve write side varchar check to visit only last few tailing spaces
> ----------------------------------------------------------------------
>
>                 Key: SPARK-34164
>                 URL: https://issues.apache.org/jira/browse/SPARK-34164
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.1.0, 3.2.0
>            Reporter: Kent Yao
>            Priority: Major
>
> For varchar(N), we currently trim all spaces first to check whether the remained length exceeds, it not necessary to visit them all but at most to those after N.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org