core/src/main/java/org/apache/calcite/avatica/remote/Service.java [332:349]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      String connectionId = null;
      if (msg.hasField(CONNECTION_ID_DESCRIPTOR)) {
        connectionId = msg.getConnectionId();
      }

      //hasField() for String fields simply tells you if that field is ""
      String catalog = null;
      if (msg.hasField(CATALOG_DESCRIPTOR)) {
        catalog = msg.getCatalog();
      } else if (msg.getHasCatalog()) {
        catalog = "";
      }

      String schemaPattern = null;
      if (msg.hasField(SCHEMA_PATTERN_DESCRIPTOR)) {
        schemaPattern = msg.getSchemaPattern();
      } else if (msg.getHasSchemaPattern()) {
        schemaPattern = "";
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



core/src/main/java/org/apache/calcite/avatica/remote/Service.java [438:454]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      String connectionId = null;
      if (msg.hasField(CONNECTION_ID_DESCRIPTOR)) {
        connectionId = msg.getConnectionId();
      }

      String catalog = null;
      if (msg.hasField(CATALOG_DESCRIPTOR)) {
        catalog = msg.getCatalog();
      } else if (msg.getHasCatalog()) {
        catalog = "";
      }

      String schemaPattern = null;
      if (msg.hasField(SCHEMA_PATTERN_DESCRIPTOR)) {
        schemaPattern = msg.getSchemaPattern();
      } else if (msg.getHasSchemaPattern()) {
        schemaPattern = "";
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



