Search code examples
hadoophadoop2kite-dataset

kite-dataset option mentioning hive database


I have to create a movies table in the movielens database instead of default hive database using Kite-dataset. I have already created a movielens database in hive manually.

So please advice what is the option I need to use with below command.

$ kite-dataset create movies --schema movie.avsc (-database movielens)

Solution

  • Construct the dataset URI in this pattern,

    dataset:hive:<namespace>/<dataset-name>
    

    The create statement would be

    $ kite-dataset create dataset:hive:movielens/movies --schema movie.avsc
    

    Refer Dataset URIs.