Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-14118 Implement DDL/DML commands for Spark 2.0
  3. SPARK-14910

Native DDL Command Support for Describe Function in Non-identifier Format

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Resolved
    • 2.0.0
    • None
    • SQL
    • None

    Description

      The existing `Describe Function` only support the function name in `identifier`. This is different from what Hive behaves. That is why many test cases `udf_abc` in `HiveCompatibilitySuite` do not pass. For example,

      • udf_not.q
      • udf_bitwise_not.q

      We need to support the command of `Describe Function` whose function names are in the following formats that are not natively supported:

      • `STRING` (e.g., `'func1'`)
      • `comparisonOperator` (e.g,. `<`)
      • `arithmeticOperator` (e.g., `+`)
      • `predicateOperator` (e.g., `or`)

      Attachments

        Issue Links

          Activity

            People

              smilegator Xiao Li
              smilegator Xiao Li
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: