-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
test_adhoc_ds_config.json
34 lines (34 loc) · 1.08 KB
/
test_adhoc_ds_config.json
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
{
"datasources": {
"test_adhoc_db": {
"connect": "sqlite:////tmp/test_adhoc_db",
"tables": {
"main.dma_zip": {
"type": "dimension",
"data_url": "https://raw.githubusercontent.com/totalhack/zillion/master/tests/dma_zip.csv",
"if_exists": "replace",
"drop_dupes": true,
"convert_types": {
"DMA_Code": "text"
},
"create_fields": true,
"primary_key": [
"Zip_Code"
],
"columns": {
"Zip_Code": {
"fields": [
"Zip_Code"
]
},
"DMA_Code": {
"fields": [
"DMA_Code"
]
}
}
}
}
}
}
}