[
https://issues.apache.org/jira/browse/SPARK-22067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Takuya Ueshin resolved SPARK-22067.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.3.0
Issue resolved by pull request 19284
[https://github.com/apache/spark/pull/19284]
> ArrowWriter StringWriter not using position of ByteBuffer holding data
> ----------------------------------------------------------------------
>
> Key: SPARK-22067
> URL: https://issues.apache.org/jira/browse/SPARK-22067
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 2.3.0
> Reporter: Bryan Cutler
> Assignee: Bryan Cutler
> Fix For: 2.3.0
>
>
> When ArrowWriter is copying a StringType column to ArrowData, then
> StringWriter gets data as a ByteBuffer and sets the ArrowBuf using a position
> of 0. This currently works because of a bug in Arrow ARROW-1443 that was not
> making use of the position. This has been fixed as of Arrow 0.7.0 and this
> surfaced when testing out this version. To fix this, the position of the
> ByteBuffer should be passed into {{setSafe}} instead of 0.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]