Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-701

Add remaining DatabaseMetaData methods to enum DatabaseProperty

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      In CALCITE-522, we added a mechanism where constant database properties – that is, methods of DatabaseMetaData that take 0 arguments and return the same value for all connections – are transmitted once, in a map.

      We need to convert the remaining methods.

      1. Add a constant to enum Meta.DatabaseProperty for each such method. Its default value should probably be the value currently returned by the method in AvaticaDatabaseMetaData.

      2. Change the AvaticaDatabaseMetaData method to read the value, similar to getDefaultTransactionIsolation.

      3. If necessary (i.e. Calcite's value is not the default) change CalciteMetaImpl.addProperty, as for GET_NUMERIC_FUNCTIONS.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              julianhyde Julian Hyde
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: