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

Implement ResultSetMetadata's getPrecision, getScale, getColumnDisplaySize (need RPC-level data)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • Future
    • Client - JDBC
    • None

    Description

      JDBC ResultSetMetadata methods getPrecision(...), getScale(...), and getColumnDisplaySize() are not implemented, currently because required data is not available in the RPC-level data.

      The unavailable data includes:

      • string type lengths (N in VARCHAR(N), BINARY(N))
      • interval qualifier information (which units, leading digit precision, fractional seconds precision)
      • datetime type fractional seconds precision

      (Whether an interval is a YEAR/MONTH interval or is a DAY/HOUR/MINUTE/SECOND interval is available.)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dsbos Daniel Barclay
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: