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

Vector search should be able to restrict on clustering keys when filtering isn't required

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      With a table that has primary key((a,b),c,d)

      a restriction on only the partition works,
      e.g. where a=. and b=. order by . ann of .

      but a restriction that also includes a forward sequence of clustering keys (i.e. a clustering key restriction that wouldn't require filtering) does not currently work.
      e.g. where a=. and b=. and c=. order by . ann of .

      It appears that StatementRestriction:321 is a little too greedy.

      Attachments

        1. CASSANDRA-19544_trunk_results_details.tar.xz
          2.70 MB
          Michael Semb Wever
        2. CASSANDRA-19544_trunk_ci_summary.html
          2.03 MB
          Michael Semb Wever
        3. CASSANDRA-19544_trunk_47_results_details.tar.xz
          2.78 MB
          Michael Semb Wever
        4. CASSANDRA-19544_trunk_47_ci_summary.html
          2.05 MB
          Michael Semb Wever
        5. CASSANDRA-19544_50_results_details.tar.xz
          2.31 MB
          Michael Semb Wever
        6. CASSANDRA-19544_50_ci_summary.html
          1.88 MB
          Michael Semb Wever
        7. CASSANDRA-19544_50_43_results_details.tar.xz
          2.30 MB
          Michael Semb Wever
        8. CASSANDRA-19544_50_43_ci_summary.html
          1.87 MB
          Michael Semb Wever

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mck Michael Semb Wever Assign to me
            mck Michael Semb Wever
            Michael Semb Wever
            Caleb Rackliffe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment