MSCK REPAIR hive external tables
问题 I have a daily ingestion of data in to HDFS . From data into HDFS I generate Hive external tables partitioned by date . My qestion is as follows , should I run MSCK REPAIR TABLE tablename after each data ingestion , in this case I have to run the command each day. Or running it just one time at the table creation is enough . Thanks a lot for your answers Best regards 回答1: You only run MSCK REPAIR TABLE while the structure or partition of the external table is changed. This command updates the