Skip to content

Instantly share code, notes, and snippets.

@zhuqling
Created October 23, 2018 01:37
Show Gist options
  • Save zhuqling/dc0397b8402388d13775989bad9dd9fa to your computer and use it in GitHub Desktop.
Save zhuqling/dc0397b8402388d13775989bad9dd9fa to your computer and use it in GitHub Desktop.
druid.io 索引示例
{
"type" : "index_hadoop",
"spec" : {
"ioConfig" : {
"type" : "hadoop",
"inputSpec" : {
"type" : "static",
"paths" : "@file"
}
},
"dataSchema" : "@schema",
"tuningConfig" : {
"type" : "hadoop",
"partitionsSpec" : {
"type" : "hashed",
"targetPartitionSize" : 5000000
},
"jobProperties" : {}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment