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

Allow preparing queries without parameters

    XMLWordPrintableJSON

    Details

    • Severity:
      Normal

      Description

      Currently it's not possible to prepare any queries that do not take any parameters using Cassandra's new native protocol because of an assertion error.

      This makes client development rather difficult (you need to parse CQL queries to detect the number of parameters and skip the preparation of those) and there is probably no reason to handle queries with no parameters separately.

        Attachments

        1. trunk-4577.txt
          0.6 kB
          Christoph Hack

          Activity

            People

            • Assignee:
              tux21b Christoph Hack
              Reporter:
              tux21b Christoph Hack
              Authors:
              Christoph Hack
              Reviewers:
              Sylvain Lebresne
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: