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

RuntimeReplaceable functions accept invalid third parameter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 2.1.0, 2.2.0
    • 2.2.0, 2.3.0
    • SQL
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: