[jira] [Created] (CARBONDATA-4209) import processing class in https://carbondata.apache.org/streaming-guide.html is wrong

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (CARBONDATA-4209) import processing class in https://carbondata.apache.org/streaming-guide.html is wrong

Akash R Nilugal (Jira)
Chetan Bhat created CARBONDATA-4209:
---------------------------------------

             Summary: import processing class in https://carbondata.apache.org/streaming-guide.html is wrong
                 Key: CARBONDATA-4209
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-4209
             Project: CarbonData
          Issue Type: Bug
          Components: docs
    Affects Versions: 2.1.1
         Environment: Spark 3.1.1
            Reporter: Chetan Bhat


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

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)