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

Support null values in PreparedStatements parameters

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 1.2.3
    • None
    • None

    Description

      Currently whenever developers want to use PreparedStatements, they need to ensure that all their parameters are non null or they need to have several PreparedStatements for each possible set of non null columns they want to store. This is obviously not a satisfying solution considering that 'null' values are a commonplace in applications.

      'null' values should be allowed as parameters of PreparedStatements in Binary Protocol to solve this issue.

      This issue is obviously tightly coupled with CASSANDRA-3783 but they might be fixed separately.

      Attachments

        1. 5081.txt
          19 kB
          Sylvain Lebresne

        Activity

          People

            slebresne Sylvain Lebresne
            mfiguiere Michaël Figuière
            Sylvain Lebresne
            Aleksey Yeschenko
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: