Connector between Hive and Azure Tables
Java JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src Added Copyright and License Aug 26, 2013
.gitignore Initial Commit Aug 24, 2013
LICENSE Added Copyright and License Aug 26, 2013
README.md Update README.md Sep 26, 2013
pom.xml

README.md

hive-azuretables

Connector between Hive and Azure Tables.

This allows you to create EXTERNAL Hive tables which are backed by Azure Storage Tables.

Building

The project is a simple maven build, so,

    mvn package 

should do the job, and you will find the JAR you need to upload to the cluster in target/

Sample Query

ADD JAR hive-azuretables-0.0.1.jar;

DROP TABLE IF EXISTS test;

CREATE EXTERNAL TABLE test (Test STRING)
STORED BY  "com.redgate.hadoop.hive.azuretables.AzureTablesStorageHandler"
TBLPROPERTIES(
	'azuretables.account_name'='<account_name>',
	'azuretables.access_key'='<storage_key>',
	'azuretables.table'='test',
	'azuretables.partition_keys'='A,B',
	'azuretables.column_map'='test'
);

select * from test;