Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-20569

RuntimeReplaceable functions accept invalid third parameter

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.1.0, 2.2.0
    • Fix Version/s: 2.2.0, 2.3.0
    • Component/s: SQL
    • Labels:
      None

      Description

      >select Nvl(null,'1',3);
      >3

      The function of "Nvl" has Only two input parameters,so, when input three parameters, i think it should notice that:"Error in query: Invalid number of arguments for function nvl".

      Such as "nvl2", "nullIf","IfNull",these have a similar problem

        Attachments

          Activity

            People

            • Assignee:
              cloud_fan Wenchen Fan
              Reporter:
              10110346 liuxian
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: