You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2019/11/06 14:10:13 UTC
[GitHub] [incubator-hudi] HariprasadAllaka1612 opened a new issue #998:
Incremental view not implemented yet, for merge-on-read datasets
HariprasadAllaka1612 opened a new issue #998: Incremental view not implemented yet, for merge-on-read datasets
URL: https://github.com/apache/incubator-hudi/issues/998
I am having this exception when i am trying to read a dataset which is stored in MOR format
val df =sc.read. format("org.apache.hudi")
.option(DataSourceReadOptions.VIEW_TYPE_OPT_KEY, DataSourceReadOptions.VIEW_TYPE_INCREMENTAL_OPT_VAL)
.option(DataSourceReadOptions.BEGIN_INSTANTTIME_OPT_KEY, startTime)
.load(basepath)
df.show()
Exception is pasted below.
Pleas let me know if there is something i am missing here
org.apache.hudi.exception.HoodieException: Incremental view not implemented yet, for merge-on-read datasets
at org.apache.hudi.IncrementalRelation.<init>(IncrementalRelation.scala:53)
at org.apache.hudi.DefaultSource.createRelation(DefaultSource.scala:65)
at org.apache.hudi.DefaultSource.createRelation(DefaultSource.scala:46)
at org.apache.spark.sql.execution.datasources.DataSource.resolveRelation(DataSource.scala:318)
at org.apache.spark.sql.DataFrameReader.loadV1Source(DataFrameReader.scala:223)
at org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:211)
at org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:178)
at com.playngodataengg.dao.DataAccessS3.readDataHudiRefinedS3(DataAccessS3.scala:145)
at com.playngodataengg.controller.RoundDataTransform.processData(RoundDataTransform.scala:30)
at com.playngodataengg.action.RoundData$.main(RoundData.scala:15)
at com.playngodataengg.action.RoundData.main(RoundData.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.CommandLineWrapper.main(CommandLineWrapper.java:66)
----------------------------------------------------------------
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
With regards,
Apache Git Services