hudi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ambarish Giri <>
Subject Reg. org.apache.hudi.exception.HoodieException: Invalid query type :read_optimized
Date Tue, 03 Aug 2021 03:58:06 GMT
Hi Team,

I am an Architect in a reputable Product based IT firm.
I am in the evaluation process to use Hudi to incorporate a refreshable
data lake.
I am currently running the setup in my local machine and using a spark
datasource to write and read from the Hudi temp table.
I have evaluated the Cow and MoR write mechanisms but while trying to read
the Hudi table using Read_Optimized type I am getting the below exception:

Exception in thread "main" org.apache.hudi.exception.HoodieException:
Invalid query type :read_optimized
at org.apache.hudi.DefaultSource.createRelation(DefaultSource.scala:81)
at org.apache.hudi.DefaultSource.createRelation(DefaultSource.scala:46)

Below is the how I am trying to read from the Hudi location:

Kindly suggest if I am doing anything wrong?

Below are the versions I am currently using :
apache hudi 0.7.0
spark 2.4.7
scala 2.12

Kindly let me know in case anymore details are required.

Ambarish Giri

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message