Replacing calls to Hive.getCurrentDb