As shown in the question, when using hive, when using the aggregate function select count (*), instead of going through the MR program, directly return 0, and select * has data: the
reason is that my data is directly uploaded to the specified directory through the put command
Yes, I did n’t use load to upload, use hdfs to view the files: the permissions of the two files are different, there is no good solution for the time being, my way is to delete the original data, honestly use the load command to load data Okay.
Select count (*) in hive is always 0, select * has data
Guess you like
Origin blog.csdn.net/thetimelyrain/article/details/104167383
Ranking