To query mysql datasource from apache drill, create a new plugin after accessing the Drill-UI with the following configuration
{
"type": "jdbc",
"driver": "com.mysql.jdbc.Driver",
"url": "jdbc:mysql://hostname:3306/dbname",
"username": "root",
"password": "password",
"enabled": true
}
thats it now you all set to query mysql from apache drillselect * from plugin_name.table_name;
No comments:
Post a Comment