1
我能夠直接從sqoop生成avro文件。自定義由Sqoop生成的AVRO文件
然而,當我查看生成的Avro文件的架構定義我看到
{
"type" : "record",
"name" : "sqoop_import_QueryResult",
"doc" : "Sqoop import of QueryResult",
"fields" : [ {
"name" : "blabla",
"type" : [ "string", "null" ],
"columnName" : "blabla",
"sqlType" : "12"
}, {
"name" : "blabla",
"type" : [ "string", "null" ],
"columnName" : "blabla",
"sqlType" : "12"
}
}
我不知道如果我可以改變name
和type
到的東西比sqoop_import_queryResult
和Sqoop import of QueryResult
更有意義。
這是可能的嗎?