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

Register a Python function creates a new SQLContext

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.3.0, 1.4.0, 1.5.0
    • Fix Version/s: 1.5.3, 1.6.0
    • Component/s: SQL
    • Labels:
      None
    • Target Version/s:

      Description

      You can try it with sqlContext.registerFunction("stringLengthString", lambda x: len)

        Attachments

          Activity

            People

            • Assignee:
              davies Davies Liu
              Reporter:
              yhuai Yin Huai
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: