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

Add implicit casting of UDF arguments

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Normal
    • Resolution: Not A Problem
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Writing implementations for each possible combination of even most "primitive" CQL types is waste of time and results in unclear code.

      E.g. a divide function should accept int, bigint, float, double for the first and second paramter.

      Better if UDF implementation can automagically do some up-casting (int to bigint, float to double etc).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                snazy Robert Stupp
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: