/**
* 添加列
* @param kuduContext
*/
def addColumn(kuduContext: KuduContext): Unit ={
val alterTableOptions: AlterTableOptions = new AlterTableOptions
alterTableOptions.addColumn(new ColumnSchema.ColumnSchemaBuilder("Address", Type.STRING).nullable(true).build)
try {
kuduContext.syncClient.alterTable(tableName, alterTableOptions)
} catch {
case ex:Exception => ex.printStackTrace()
}
}