-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathproducts.avsc
43 lines (43 loc) · 1.02 KB
/
products.avsc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
"type" : "record",
"name" : "products",
"doc" : "Sqoop import of products",
"fields" : [ {
"name" : "product_id",
"type" : [ "null", "int" ],
"default" : null,
"columnName" : "product_id",
"sqlType" : "4"
}, {
"name" : "product_category_id",
"type" : [ "null", "int" ],
"default" : null,
"columnName" : "product_category_id",
"sqlType" : "4"
}, {
"name" : "product_name",
"type" : [ "null", "string" ],
"default" : null,
"columnName" : "product_name",
"sqlType" : "12"
}, {
"name" : "product_description",
"type" : [ "null", "string" ],
"default" : null,
"columnName" : "product_description",
"sqlType" : "12"
}, {
"name" : "product_price",
"type" : [ "null", "float" ],
"default" : null,
"columnName" : "product_price",
"sqlType" : "7"
}, {
"name" : "product_image",
"type" : [ "null", "string" ],
"default" : null,
"columnName" : "product_image",
"sqlType" : "12"
} ],
"tableName" : "products"
}