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

Drill needs to return complex types (e.g., map and array) as a JSON string

    XMLWordPrintableJSON

Details

    Description

      Drill needs to help users understand the available columns in a given HBase table's column-family. One way to do this is to implement the DESCRIBE command for a column-family. The purpose of this is to let Drill do the column sampling. The mandatory LIMIT clause specifies the sample size so as to throttle the number of columns returned.

      ==
      Instead of the above narrow proposal, a general mechanism to return complex types in a JSON string so as to allow client tools (such as the ODBC driver) to operate on these complex types.

      Returning a map as JSON would provide transparency into HBase column-families and allow the ODBC driver to help surface the names of columns within a column-family.

      Returning an array as JSON would provide transparency into CSV files since that conveys the number of columns to the ODBC driver.

      Attachments

        Issue Links

          Activity

            People

              adityakishore Aditya Kishore
              overcoil George Chow
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: