tests.system.amazon.aws.example_hive_to_dynamodb
¶
This DAG will not work unless you create an Amazon EMR cluster running Apache Hive and copy data into it following steps 1-4 (inclusive) here: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/EMRforDynamoDB.Tutorial.html
Module Contents¶
Functions¶
|
|
|
A DynamoDB table has an ItemCount value, but it is only updated every six hours. |
|
|
|
Attributes¶
- tests.system.amazon.aws.example_hive_to_dynamodb.HIVE_CONNECTION_ID_KEY = 'HIVE_CONNECTION_ID'[source]¶
- tests.system.amazon.aws.example_hive_to_dynamodb.HIVE_SQL = 'SELECT feature_id, feature_name, feature_class, state_alpha FROM hive_features'[source]¶
- tests.system.amazon.aws.example_hive_to_dynamodb.get_dynamodb_item_count(table_name)[source]¶
A DynamoDB table has an ItemCount value, but it is only updated every six hours. To verify this DAG worked, we will scan the table and count the items manually.