197.Sqoop Import – Create Hive Database

  • Command to create a database
    • CREATE DATABASE IF NOT EXISTS training_sqoop_retail;
  • Command to connect to a database
    • use training_sqoop_retail;
  • Command to get list of tables in database
    • SHOW tables;

Share this post