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

Wrong type mapping for varint -- Cassandra Stress 2.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.1.5
    • Legacy/Tools
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: