You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "Chetan Bhat (Jira)" <ji...@apache.org> on 2021/06/14 06:54:00 UTC

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

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)