You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2020/08/07 03:06:53 UTC

[GitHub] [incubator-iotdb] qiaojialin opened a new issue #1604: Spark-TsFile: value tsfile is not a member of org.apache.spark.sql.DataFrameReader

qiaojialin opened a new issue #1604:
URL: https://github.com/apache/incubator-iotdb/issues/1604


   scala> import org.apache.iotdb.spark._
   import org.apache.iotdb.spark._
   
   scala> val wide_df = spark.read.tsfile("/Users/qiaojialin/Desktop/test.tsfile")
   <console>:26: error: value tsfile is not a member of org.apache.spark.sql.DataFrameReader
   
   ![image](https://user-images.githubusercontent.com/7240743/89603705-46a5f300-d89c-11ea-88ab-fa5905990168.png)
   
   
   ![image](https://user-images.githubusercontent.com/7240743/89603736-502f5b00-d89c-11ea-8161-0db60151b7b0.png)


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-iotdb] qiaojialin commented on issue #1604: Spark-TsFile: value tsfile is not a member of org.apache.spark.sql.DataFrameReader

Posted by GitBox <gi...@apache.org>.
qiaojialin commented on issue #1604:
URL: https://github.com/apache/incubator-iotdb/issues/1604#issuecomment-670296104


   Should be:  
   
   import org.apache.iotdb.spark.tsfile._


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org