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

Tokenizer example does not compile without extra imports

    Details

    • Type: Documentation
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.1, 2.2.0
    • Component/s: Documentation
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: