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

Add implicit casting of UDF arguments

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Not A Problem
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: