ExportXMLWordPrintableJSON

    • Type: Investigation
    • Resolution: Unresolved
    • Priority: Critical - P2
    • None
    • Affects Version/s: None
    • Component/s: MongoSQL
    • None
    • Atlas SQL

      Summary

      when call  executeQuery(), it returns error.

      The mongo jdbc driver we use is 3.0.3.

      How to Reproduce

      we use JDBC connector, when call executeQuery() to  run a sql statement which contains duplicate name.

      e.g.

      SELECT
      city.CITY,
      city.CITY_ID,
      region.COUNTRY_ID,
      region.REGION,
      region.REGION_ID,
      city.REGION_ID
      FROM
      city,
      region
      WHERE
      ( city.REGION_ID=region.REGION_ID )

       

      it returns error "Error executing command: algebrize error: Error 3023: found duplicate document key "REGION_ID""

      Run this example locally, and follow the path that causes this issue in the algebrizer. Document the hops between systems and where we would need to make the changes.

       

      Investigation Outcomes:

      1. How does our system work today, and why do we throw this error for duplicate keys, even if they are from different namepaces?
      2. What changes (at a high level) would be needed to allow this behavior?
      3. What would the consequences be for such a change?

       

       

       

            Assignee:
            Unassigned
            Reporter:
            qin liu (EXT)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: