Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-11503 SQL API audit for Spark 1.6
  3. SPARK-10621

Audit function names in FunctionRegistry and corresponding method names shown in functions.scala and functions.py

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.0
    • Component/s: SQL
    • Labels:
      None
    • Target Version/s:

      Description

      Right now, there are a few places that we are not very consistent.

      • There are a few functions that are registered in FunctionRegistry, but not provided in functions.scala and functions.py. Examples are isnull and get_json_object.
      • There are a few functions that we have different names in FunctionRegistry and method name in DataFrame API. spark_partition_id is an example. In FunctionRegistry, it is called spark_partition_id. But, DataFrame API, the method is called sparkPartitionId.

        Attachments

          Activity

            People

            • Assignee:
              rxin Reynold Xin
              Reporter:
              yhuai Yin Huai
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: