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

    • Sub-task
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 1.6.0
    • SQL
    • None

    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

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

            Dates

              Created:
              Updated:
              Resolved: