Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-4199 Add nullability annotations to the methods and fields, ensure consistency with checkerframework
  3. CALCITE-4306

ViewTableMacro#schemaPath is always initialized to non-null value, however, it is treated like nullable

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.25.0
    • None
    • core
    • None

    Description

      JavaDoc says:

        /** Typically null. If specified, overrides the path of the schema as the
         * context for validating {@code viewSql}. */
        protected final @Nullable List<String> schemaPath;
      

      However, all the current instantiations use non-null value for schemaPath.

      Should the field be converted to non-nullable?

      Attachments

        Activity

          People

            Unassigned Unassigned
            vladimirsitnikov Vladimir Sitnikov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: