blob: 19b6a78b7480764567ab4eb57fabe62f14eefd38 [file] [log] [blame]
{
"head" : {
"type" : "APACHE_DRILL_PHYSICAL",
"version" : "1",
"generator" : {
"type" : "manual"
}
},
"graph" : [ {
"@id" : 1,
"pop" : "mock-scan",
"url" : "http://apache.org",
"entries" : [ {
"records" : 66000,
"types" : [ {
"name" : "red",
"type" : "INT",
"mode" : "REQUIRED"
}, {
"name" : "green",
"type" : "BIGINT",
"mode" : "OPTIONAL"
}, {
"name" : "blue",
"type" : "VARCHAR",
"mode" : "REQUIRED"
} ]
}, {
"records" : 66000,
"types" : [ {
"name" : "blue",
"type" : "BIT",
"mode" : "REQUIRED"
}, {
"name" : "green",
"type" : "DECIMAL18",
"mode" : "REQUIRED"
}, {
"name" : "red",
"type" : "FLOAT8",
"mode" : "OPTIONAL"
} ]
} ]
}, {
"@id" : 2,
"child" : 1,
"pop" : "fs-writer",
"location" : "%TEST_DIR%",
"storage" : {
"type" : "file",
"connection" : "file:///",
"enabled" : true,
"workspaces" : {
"root" : {
"location" : "%ROOT_DIR%",
"writable" : false
},
"tmp" : {
"location" : "%TMP_DIR%",
"writable" : true
}
},
"formats" : {
"psv" : {
"type" : "text",
"extensions" : [ "tbl" ],
"delimiter" : "|"
},
"csv" : {
"type" : "text",
"extensions" : [ "csv" ],
"delimiter" : ","
},
"tsv" : {
"type" : "text",
"extensions" : [ "tsv" ],
"delimiter" : "\t"
},
"parquet" : {
"type" : "parquet"
},
"json" : {
"type" : "json"
}
}
},
"format" : {
"type" : "text",
"extensions" : [ "csv" ],
"delimiter" : ","
}
}, {
"@id" : 3,
"child" : 2,
"pop" : "screen"
} ]
}