idrismike commented on issue #6942:
URL: https://github.com/apache/hudi/issues/6942#issuecomment-1278681326

   @yihua I tried with `hoodie.metadata.enable=false` 
   **PS**: We are using the following set of `hudi` dependencies:
         `"org.apache.hudi" %% "hudi-utilities-slim-bundle" % "0.12.0",
         "org.apache.hudi" %% "hudi-spark3.2-bundle" % "0.12.0"`
   
   This seems to work. 
   But, we want the metadata to be enabled because I am querying Hudi using 
`hive metastore`, and if `metadata` is not enabled (hence not created), hive 
querying is `super-slow`. 
   
   We know that we can create the `metadata indexes` using `HoodieIndexer` 
asynchronously (Not sure if that is the same `metadata`). 
   
   Moreover, using HoodieIndexer from using within `scala code` (i.e. calling 
HoodieIndexer from within code having spark session intiated) instead of using 
`spark-submit` - we get the following issue:
   **PS**: All setup remains the same as above.
   ![MicrosoftTeams-image 
(1)](https://user-images.githubusercontent.com/12491651/195801561-8378e102-77f0-486f-b134-316c83a16b59.png)
   
   
   **Aside Question**: Can we generate `indexes` using `HoodieIndexer` for 
tables written using `hudi 0.9.0`? We tried doing that but get the following 
issue - hence clarifying that as well.
   
![image](https://user-images.githubusercontent.com/12491651/195802062-c5a6a2f1-05be-4e59-96fd-28739b3cdccc.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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to