You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/12/14 02:03:58 UTC

[jira] [Commented] (DRILL-4558) When a query returns diacritics in a string, the string is cut

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

ASF GitHub Bot commented on DRILL-4558:
---------------------------------------

GitHub user chunhui-shi opened a pull request:

    https://github.com/apache/drill/pull/696

    DRILL-4558: BSonReader should prepare buffer size as actual need

    

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

    $ git pull https://github.com/chunhui-shi/drill DRILL-4558

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

    https://github.com/apache/drill/pull/696.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 #696
    
----
commit fc0b7478efef1447ccca8965c8da001a04f243d4
Author: chunhui-shi <cs...@maprtech.com>
Date:   2016-12-14T02:00:49Z

    DRILL-4558: BSonReader should prepare buffer size as actual need

----


> When a query returns diacritics in a string, the string is cut
> --------------------------------------------------------------
>
>                 Key: DRILL-4558
>                 URL: https://issues.apache.org/jira/browse/DRILL-4558
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Storage - MongoDB
>         Environment: Apache Drill 1.6
> MongoDB 3.2.1
>            Reporter: Vincent Uribe
>
> With the given document in a collection "Test" from a database testDb :
> {
>     "_id" : ObjectId("56e7f1bd0944228aab06d0e2"),
>     "ID_ATTRIBUT" : "3",
>     "VAL_ATTRIBUT" : "Végétaux",
>     "UPDATED" : ISODate("2016-01-09T23:00:00.000Z")
> }
> When querying select * from mongoStorage.testDb.Test I get 
> _id: [B@affb65
> ID_ATTRIBUT: 3
> VAL_ATTRIBUT: *Végéta*
> UPDATED: 2016-01-09T23:00:00.000Z
> As you can see, the two 'é' cut the string "végétaux" by 2 characters, giving végéta.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)