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

Wrong type mapping for varint -- Cassandra Stress 2.1

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 2.1.5
    • Component/s: Legacy/Tools
    • Labels:
    • Severity:
      Normal

      Description

      Run a workload with a varint type, you'll see the following error:

      com.datastax.driver.core.exceptions.InvalidTypeException: Invalid type for value 2 of CQL type varint, expecting class java.math.BigInteger but class java.lang.Integer provided
      com.datastax.driver.core.exceptions.InvalidTypeException: Invalid type for value 2 of CQL type varint, expecting class java.math.BigInteger but class java.lang.Integer provided
      com.datastax.driver.core.exceptions.InvalidTypeException: Invalid type for value 2 of CQL type varint, expecting class java.math.BigInteger but class java.lang.Integer provided
      com.datastax.driver.core.exceptions.InvalidTypeException: Invalid type for value 2 of CQL type varint, expecting class java.math.BigInteger but class java.lang.Integer provided
      com.datastax.driver.core.exceptions.InvalidTypeException: Invalid type for value 2 of CQL type varint, expecting class java.math.BigInteger but class java.lang.Integer provided
      com.datastax.driver.core.exceptions.InvalidTypeException: Invalid type for value 2 of CQL type varint, expecting class java.math.BigInteger but class java.lang.Integer provided
      com.datastax.driver.core.exceptions.InvalidTypeException: Invalid type for value 2 of CQL type varint, expecting class java.math.BigInteger but class java.lang.Integer provided
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sebastian.estevez@datastax.com Sebastian Estevez
              Reviewers:
              Benedict Elliott Smith
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: