nsivabalan removed a comment on pull request #2443: URL: https://github.com/apache/hudi/pull/2443#issuecomment-782802631
@vinothchandar @yanghua : A general doubt on supporting this config knob. As quoted above if connection fails and if we set this config of interest to true, then IMetaStoreClient will not be initialized within HoodieHiveClient. So, for all methods in this class we have to handle null. For eg createTable, getTableSchema, etc . I am not sure how to go about this. One approach we can take. for some operations we can do our best to return empty or false, or something of those sort. For eg, getPartitionEvents, doesTableExist we can return empty list / return false. addPartitionsToTable we can just let it as no-op. But for other operations like getTableSchema() we can throw exceptions. What are you thoughts. ---------------------------------------------------------------- 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: [email protected]
