Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-5549 Appropriately set `DATA_TYPE` and `IS_GENERATEDCOLUMN` metadata values for `MEASURE` types
  3. CALCITE-5676

In JDBC DatabaseMetaData.getColumns, appropriately set JDBC DATA_TYPE and TYPE_NAME metadata values for MEASURE types

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.35.0
    • core

    Description

      Subtask of CALCITE-5549 to focus on the metadata we can control in calcite-core. Ensure that JDBC schema metadata and result set metadata agree on DATA_TYPE and TYPE_NAME for a MEASURE.

      The challenging part will be writing tests for this. CalciteRemoteDriverTest.java has some that might be useful but use class Employee for a schema. We'll need a way to set some test MEASURE types as well.

      Attachments

        Issue Links

          Activity

            People

              tjbanghart TJ Banghart
              tjbanghart TJ Banghart
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: