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

new MongoDB BSON record reader breaks _id SELECT-ion

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.5.0
    • None
    • Storage - MongoDB
    • None

    Description

      in Drill 1.4, SELECT-ing an _id results in:

      {"$oid":"567ff2697f2310849fea0666"} 
      

      as expected.
      however, when working with the master branch, SELECT-ing an _id results in a something that looks like a pointer:

      [B@3149a…]
      

      This is caused by DRILL-3478, and can be avoided by disabling the new BSON record reder:

      ALTER SESSION SET store.mongo.bson.record.reader = false
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            michael.stucco Michael Gokhman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: