O'Reilly logo

Tera-Tom Genius Series - Hadoop Architecture and SQL by Jason Nolander, Tom Coffing

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 14 – Creating Databases and Tables

“Create a definite plan for carrying out your desire and begin at once, whether you are ready or not, to put this plan into action. “

- Napoleon Hill

Creating a Database

image

A database in Hive is considered what is termed a namespace. This is a directory designed to separate tables and data structures. There will always be a default database directory that is defined by a parameter named hive.metastore.warehouse.dir when the system is first set up.

The Basics of Creating a Table

image

At the bare minimum, you must ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required