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

Metadata operations via Avatica turn empty string args to null

    XMLWordPrintableJSON

Details

    • Patch

    Description

      DatabaseMetaData.getTables(), and some other functions have parameters (catalog, schemaPattern), where null and empty String have different semantics.

      The corresponding protobuf fields in Avatica are Strings, and the Avatica logic turns those args to null.

      This makes it impossible to filter on actual empty string values.

      Attachments

        Issue Links

          Activity

            People

              stoty Istvan Toth
              stoty Istvan Toth
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m