GitHub user rajeshbalamohan opened a pull request:

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

    SPARK-12925. Improve HiveInspectors.unwrap for StringObjectInspector.…

    Earlier fix did not copy the bytes and it is possible for higher level to 
reuse Text object. This was causing issues. Proposed fix now copies the bytes 
from Text. This still avoids the expensive encoding/decoding

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

    $ git pull https://github.com/rajeshbalamohan/spark SPARK-12925.2

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

    https://github.com/apache/spark/pull/11477.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 #11477
    
----
commit d46d41ea75ecfeaef208f6c54222f23c24ebd3b0
Author: Rajesh Balamohan <[email protected]>
Date:   2016-03-02T23:39:21Z

    SPARK-12925. Improve HiveInspectors.unwrap for 
StringObjectInspector.getPrimitiveWritableObject. Earlier fix did not copy the 
bytes and it is possible for higher level to reuse Text object. This was 
causing issues. Proposed fix now copies the bytes from Text. This still avoids 
the expensive encoding/decoding

----


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