-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with Hive querying on MOR tables with no partitions #2801
Comments
Update: 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. |
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 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. |
Issue resolved after using correct key generator class. Closing the issue. |
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: