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

JDBC should default to getting complex data as JSON

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • Future
    • Client - JDBC
    • None

    Description

      Currently the ODBC driver gets complex data as a JSON string while the JDBC driver gets complex data as a complex type which it then converts to JSON. The conversion to JSON in the JDBC path uses an expensive method that also consumes excessive amounts of CPU.
      Since client applications are unable to consume complex data, the default should be to get JSON data and there should be a client side setting (session paramater) to revert to getting complex data.

      Attachments

        Activity

          People

            Unassigned Unassigned
            parthc Parth Chandra
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: