Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-10924

Pass base table's metadata to Index.validateOptions

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

      Description

      Some custom index implementations require the base table's metadata to validate their creation options. For example, the options of these implementations can contain information about which base table's columns are going to be indexed and how, so the implementation needs to know the existence and the type of the columns to be indexed to properly validate.

      The attached patch proposes to add base table's CFMetaData to Index' optional static method to validate the custom index options:
      public static Map<String, String> validateOptions(CFMetaData cfm, Map<String, String> options);

        Attachments

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              adelapena Andres de la Peña Assign to me
              Reporter:
              adelapena Andres de la Peña
              Authors:
              Andres de la Peña
              Reviewers:
              Sam Tunnicliffe

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment