Cassandra
  1. Cassandra
  2. CASSANDRA-5949

CqlRecordWriter sends empty composite partition-key components to thrift

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Fix Version/s: 1.2.10
    • Component/s: Hadoop
    • Labels:
      None

      Description

      when there is a composite partition-key, CqlRecordWriter.getPartitionKey() consumes the content of the key-component ByteBuffers, leaving empty key-components to be written to thrift

        Activity

        Hide
        craig mcmillan added a comment -

        patch in https://github.com/apache/cassandra/pull/19 builds the composite partition key with duplicate components

        Show
        craig mcmillan added a comment - patch in https://github.com/apache/cassandra/pull/19 builds the composite partition key with duplicate components
        Hide
        Jonathan Ellis added a comment -

        Committed. (To 1.2 only; CompositeType.build in 2.0 already builds in duplicate()).

        Show
        Jonathan Ellis added a comment - Committed. (To 1.2 only; CompositeType.build in 2.0 already builds in duplicate()).

          People

          • Assignee:
            craig mcmillan
            Reporter:
            craig mcmillan
            Reviewer:
            Jonathan Ellis
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development