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

dtest: user_functions_test.py:TestUserFunctions.udf_scripting_test fails

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 2.2.1, 3.0 beta 1
    • Component/s: None
    • Labels:
      None
    • Severity:
      Normal

      Description

      ERROR: udf_scripting_test (user_functions_test.TestUserFunctions)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "c:\src\cassandra-dtest\user_functions_test.py", line 169, in udf_scripting_test
          assert_invalid(session, "select y_sin(val) from nums where key = 1")
        File "c:\src\cassandra-dtest\assertions.py", line 23, in assert_invalid
          res = session.execute(query)
        File "C:\Python27\lib\site-packages\cassandra\cluster.py", line 1615, in execute
          result = future.result(timeout)
        File "C:\Python27\lib\site-packages\cassandra\cluster.py", line 3154, in result
          raise self._final_exception
      FunctionFailure: code=1400 [User Defined Function failure] message="execution of 'ks.y_sin[double]' failed: com.datastax.driver.core.exceptions.InvalidTypeException: Invalid value for CQL type double, expecting class java.lang.Double but class java.lang.String provided"
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                snazy Robert Stupp
                Reporter:
                JoshuaMcKenzie Joshua McKenzie
                Authors:
                Robert Stupp
                Reviewers:
                Joshua McKenzie
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: