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

Allow usage of QueryOptions in CQLStatement.executeInternal

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

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.1 rc1
    • Legacy/CQL
    • None

    Description

      The current implementations of CQLStatement.executeInternal accept only QueryState as a parameter. That means it's impossible to use prepared statements with variables for internal calls (you can only pass the variables via QueryOptions). We also can't use the internal paging in internal "SELECT" statements for the very same reason.

      I'm attaching the patch which implements that.

      Sylvain Lebresne [~iamaleksey] what do you think guys?

      Attachments

        Issue Links

        Activity

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

          People

            slebresne Sylvain Lebresne Assign to me
            mishail Mikhail Stepura
            Sylvain Lebresne
            Mikhail Stepura
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment