Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-4558

When a query returns diacritics in a string, the string is cut

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Storage - MongoDB
    • Labels:
    • Environment:

      Apache Drill 1.6
      MongoDB 3.2.1

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cshi Chunhui Shi
                Reporter:
                fuvi Vincent Uribe
                Reviewer:
                Paul Rogers
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: