-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathtest_adhoc_ds_config.json
More file actions
32 lines (32 loc) · 830 Bytes
/
test_adhoc_ds_config.json
File metadata and controls
32 lines (32 loc) · 830 Bytes
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
{
"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",
"DMA_Description": "text"
},
"create_fields": true,
"primary_key": ["Zip_Code"],
"columns": {
"Zip_Code": {
"fields": ["Zip_Code"]
},
"DMA_Code": {
"fields": ["DMA_Code"]
},
"DMA_Description": {
"fields": ["DMA_Description"]
}
}
}
}
}
}
}