[ 
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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to