I would like to know how can I move a date from Hive to MySQL?
I saw an example of how to move bus data in Amazon DynamoDB, but not for RDBMS like MySQL. Here is an example that I saw with DynamoDB:
CREATE EXTERNAL TABLE tbl1 ( name string, location string ) STORED BY 'org.apache.hadoop.hive.dynamodb.DynamoDBStorageHandler' TBLPROPERTIES ("dynamodb.table.name" = "table", "dynamodb.column.mapping" = "name:name,location:location") ;
I would like to do the same, but instead of MySQL. I wonder if I need to encode my own StorageHandler? I also do not want to use sqoop. I want to be able to execute my query directly in my HiveQL script.
source share