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

octet_length/bit_length API is not implemented on Scala/Python/R

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.0
    • 3.3.0
    • PySpark, SparkR, SQL
    • None

    Description

      • octet_length: caliculate the byte length of strings
      • bit_length: caliculate the bit length of strings

      Those two string related functions are only implemented on SparkSQL, not on Scala, Python and R.

      Those functions would be useful for multi-bytes character users, who mainly working with those languages.

      Attachments

        Activity

          People

            yoda-mon Leona Yoda
            yoda-mon Leona Yoda
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: