Use fnmatch for hive.