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

new MongoDB BSON record reader breaks _id SELECT-ion

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.5.0
    • Fix Version/s: None
    • Component/s: Storage - MongoDB
    • Labels:
      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

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

              Dates

              • Created:
                Updated: