Uploaded image for project: 'CarbonData'
  1. CarbonData
  2. CARBONDATA-4209

import processing class in https://carbondata.apache.org/streaming-guide.html is wrong

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.1.1
    • None
    • docs
    • None
    • Spark 3.1.1

    Description

      In the open source doc link  https://carbondata.apache.org/streaming-guide.html

      import org.apache.spark.sql.streaming.

      {ProcessingTime, StreamingQuery}

        --> this  import statement can be replaced by  -->  import org.apache.spark.sql.streaming.Trigger.ProcessingTime

      as the earlier import does not work

       

      scala> import org.apache.spark.sql.streaming.ProcessingTime
      <console>:23: error: object ProcessingTime is not a member of package org.apache.spark.sql.streaming
      import org.apache.spark.sql.streaming.ProcessingTime
      ^

      scala> import org.apache.spark.sql.streaming.Trigger.ProcessingTime
      import org.apache.spark.sql.streaming.Trigger.ProcessingTime

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            chetdb Chetan Bhat
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: