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

Tokenizer example does not compile without extra imports

    XMLWordPrintableJSON

Details

    • Documentation
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.1.0
    • 2.1.1, 2.2.0
    • Documentation
    • None

    Description

      The example at http://spark.apache.org/docs/2.1.0/ml-features.html#tokenizer does not compile without the following static import

      import static org.apache.spark.sql.functions.*;

      Attachments

        Activity

          People

            anshbansal Aseem Bansal
            anshbansal Aseem Bansal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: