Skip to content

Instantly share code, notes, and snippets.

@harrigan
Created March 8, 2013 14:06
Show Gist options
  • Save harrigan/5116637 to your computer and use it in GitHub Desktop.
Save harrigan/5116637 to your computer and use it in GitHub Desktop.
CREATE EXTERNAL TABLE myData (appId BIGINT, ts BIGINT)
STORED BY 'org.apache.hadoop.hive.dynamodb.DynamoDBStorageHandler' TBLPROPERTIES (
'dynamodb.table.name' = 'myData',
'dynamodb.column.mapping' = 'appId:appId,ts:ts',
'dynamodb.throughput.read.percent' = '1.0'
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment