Pass your DB credentials to this class in a preferred secure way
This is a mechanism by which different databases can control and configure the way in which statements are created.
Extend this source to let scalding read from or write to a database.
Old Vertica 4.1 jdbc driver see https://my.vertica.com/docs/5.1.6/HTML/index.htm#16699.htm
Vertica jdbc driver (5.1 and higher)
Extend this source to let scalding read from or write to a database. In order for this to work you need to specify the table name, column definitions and DB credentials. If you write to a DB, the fields in the final pipe have to correspond to the column names in the DB table. Example usage: case object YourTableSource extends JDBCSource { override val tableName = TableName("tableName") override val columns = List( varchar("col1", 64), date("col2"), tinyint("col3"), double("col4") ) override def currentConfig = ConnectionSpec( ConnectUrl("jdbc:mysql://mysql01.company.com:3306/production"), UserName("username"), Password("password"), MysqlDriver ) }