You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After setting default to 0 in case of no partition, I am able to avoid above error and able to get Table meta correctly. However, now select * query on hive return empty dataset.
From logs I can see that .HoodieInputFormatUtils: Total paths to process after hoodie filter 0.
Please ignore the above comment. The empty result from hive was due to me missinng one of the configs.
Everything is working as expected after changing the default value of HoodieHiveUtils.DEFAULT_LEVELS_TO_BASEPATH to 0 (currennt value 3), as explained in first comment.
I think we should permanently change this to 0. 3 looks like a random number. Also I have confirmed that this default is not used anywhere other than the code snippet I've mentioned.
Unable to read data via Hive from both _ro & _rt tables if my data is not partitioned.
Reading from spark api works fine.
Related Write Confs used:
Issue faced: NullPointerException in
getTableMetaClientForBasePath
of classHoodieInputFormatUtils
.My take:
Herein if partition meta is not available (as in case of no partition), we set levels to default of 3, in which case the base path fetched is wrong.
The text was updated successfully, but these errors were encountered: