[
https://issues.apache.org/jira/browse/BIGTOP-1653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14323575#comment-14323575
]
jay vyas edited comment on BIGTOP-1653 at 2/17/15 2:23 AM:
-----------------------------------------------------------
And, BTW, this is what the data looks like, on output.
{noformat}
{
"totalTransaction":12,
"transactionsByZip":[
{"count":64,"productId":54,"zipcode":"94583"},{"count":38,"productId":18,"zipcode":"34761"},
{"count":158,"productId":14,"zipcode":"11368"},{"count":66,"productId":46,"zipcode":"33027"},
{"count":52,"productId":27,"zipcode":"94583"},{"count":84,"productId":19,"zipcode":"33027"},
{"count":143,"productId":0,"zipcode":"94583"},{"count":58,"productId":41,"zipcode":"72715"},
{"count":76,"productId":54,"zipcode":"15014"},{"count":118,"productId":52,"zipcode":"45439"}},
..... (several more) ....
"productDetails":[
{
"productId":0,
"category":"kitty litter",
"attributes":{
"category":"kitty litter",
"brand":"Pretty Cat",
"size":"7.0",
"per_unit_cost":"1.43"
}
},
{
"productId":2,
"category":"dry cat food",
"attributes":{
"size":"7.0",
"brand":"Wellfed",
"per_unit_cost":"2.14",
"category":"dry cat food",
"flavor":"Chicken & Rice"
}
},
{
"productId":4,
"category":"dry dog food",
"attributes":{
"size":"15.0",
"brand":"Wellfed",
"per_unit_cost":"2.0",
"category":"dry dog food",
"flavor":"Pork"
}
},
{
"productId":6,
"category":"dry cat food",
"attributes":{
"size":"7.0",
"brand":"Wellfed",
"per_unit_cost":"2.14",
"category":"dry cat food",
"flavor":"Tuna"
}
},
{
"productId":8,
"category":"poop bags",
"attributes":{
"size":"120.0",
"color":"Blue",
"brand":"Happy Pup",
"per_unit_cost":"0.17",
"category":"poop bags"
}
},
{
"productId":10,
"category":"kitty litter",
"attributes":{
"category":"kitty litter",
"brand":"Pretty Cat",
"size":"14.0",
"per_unit_cost":"1.43"
}
},
{
"productId":12,
"category":"dry dog food",
"attributes":{
"size":"15.0",
"brand":"Happy Pup",
"per_unit_cost":"2.67",
"category":"dry dog food",
"flavor":"Lamb & Rice"
}
},
{
"productId":14,
"category":"poop bags",
"attributes":{
"size":"60.0",
"color":"multicolor",
"brand":"Dog Days",
"per_unit_cost":"0.21",
"category":"poop bags"
}
},
{
"productId":16,
"category":"poop bags",
"attributes":{
"size":"60.0",
"color":"Blue",
"brand":"Dog Days",
"per_unit_cost":"0.21",
"category":"poop bags"
}
},
{
"productId":18,
"category":"dry dog food",
"attributes":{
"size":"30.0",
"brand":"Wellfed",
"per_unit_cost":"2.0",
"category":"dry dog food",
"flavor":"Chicken"
}
},
{
"productId":20,
"category":"dry dog food",
"attributes":{
"size":"30.0",
"brand":"Wellfed",
"per_unit_cost":"2.0",
"category":"dry dog food",
"flavor":"Fish & Potato"
}
},
{
"productId":22,
"category":"dry cat food",
"attributes":{
"size":"14.0",
"brand":"Feisty Feline",
"per_unit_cost":"2.14",
"category":"dry cat food",
"flavor":"Tuna"
}
},
{
"productId":24,
"category":"dry cat food",
"attributes":{
"size":"7.0",
"brand":"Feisty Feline",
"per_unit_cost":"2.14",
"category":"dry cat food",
"flavor":"Chicken & Rice"
}
},
{
"productId":26,
"category":"poop bags",
"attributes":{
"size":"120.0",
"color":"multicolor",
"brand":"Happy Pup",
"per_unit_cost":"0.17",
"category":"poop bags"
}
},
{
"productId":28,
"category":"dry dog food",
"attributes":{
"size":"30.0",
"brand":"Dog Days",
"per_unit_cost":"3.0",
"category":"dry dog food",
"flavor":"Pork"
}
},
{
"productId":30,
"category":"dry dog food",
"attributes":{
"size":"15.0",
"brand":"Dog Days",
"per_unit_cost":"3.0",
"category":"dry dog food",
"flavor":"Chicken"
}
},
{
"productId":32,
"category":"dry cat food",
"attributes":{
"size":"14.0",
"brand":"Feisty Feline",
"per_unit_cost":"2.14",
"category":"dry cat food",
"flavor":"Chicken & Rice"
}
},
{
"productId":34,
"category":"dry cat food",
"attributes":{
"size":"7.0",
"brand":"Feisty Feline",
"per_unit_cost":"2.14",
"category":"dry cat food",
"flavor":"Tuna"
}
},
{
"productId":36,
"category":"dry dog food",
"attributes":{
"size":"30.0",
"brand":"Wellfed",
"per_unit_cost":"2.0",
"category":"dry dog food",
"flavor":"Lamb & Rice"
}
},
{
"productId":38,
"category":"dry dog food",
"attributes":{
"size":"15.0",
"brand":"Dog Days",
"per_unit_cost":"3.0",
"category":"dry dog food",
"flavor":"Lamb & Rice"
}
},
{
"productId":40,
"category":"dry dog food",
"attributes":{
"size":"15.0",
"brand":"Happy Pup",
"per_unit_cost":"2.67",
"category":"dry dog food",
"flavor":"Chicken"
}
},
{
"productId":42,
"category":"dry cat food",
"attributes":{
"size":"14.0",
"brand":"Wellfed",
"per_unit_cost":"2.14",
"category":"dry cat food",
"flavor":"Chicken & Rice"
}
},
{
"productId":44,
"category":"dry dog food",
"attributes":{
"size":"15.0",
"brand":"Happy Pup",
"per_unit_cost":"2.67",
"category":"dry dog food",
"flavor":"Fish & Potato"
}
},
{
"productId":46,
"category":"dry cat food",
"attributes":{
"size":"15.0",
"brand":"Pretty Cat",
"per_unit_cost":"2.86",
"category":"dry cat food",
"flavor":"Chicken & Rice (Hairball Management)"
}
},
{
"productId":48,
"category":"dry dog food",
"attributes":{
"size":"30.0",
"brand":"Happy Pup",
"per_unit_cost":"2.67",
"category":"dry dog food",
"flavor":"Pork"
}
},
{
"productId":50,
"category":"dry cat food",
"attributes":{
"size":"7.0",
"brand":"Pretty Cat",
"per_unit_cost":"2.86",
"category":"dry cat food",
"flavor":"Tuna"
}
},
{
"productId":52,
"category":"kitty litter",
"attributes":{
"category":"kitty litter",
"brand":"Feisty Feline",
"size":"28.0",
"per_unit_cost":"1.5"
}
},
{
"productId":54,
"category":"dry cat food",
"attributes":{
"size":"14.0",
"brand":"Wellfed",
"per_unit_cost":"2.14",
"category":"dry cat food",
"flavor":"Tuna"
}
},
{
"productId":56,
"category":"dry dog food",
"attributes":{
"size":"15.0",
"brand":"Dog Days",
"per_unit_cost":"3.0",
"category":"dry dog food",
"flavor":"Fish & Potato"
}
},
{
"productId":1,
"category":"poop bags",
"attributes":{
"size":"120.0",
"color":"multicolor",
"brand":"Dog Days",
"per_unit_cost":"0.21",
"category":"poop bags"
}
},
{
"productId":3,
"category":"poop bags",
"attributes":{
"size":"60.0",
"color":"multicolor",
"brand":"Happy Pup",
"per_unit_cost":"0.17",
"category":"poop bags"
}
},
{
"productId":5,
"category":"dry cat food",
"attributes":{
"size":"15.0",
"brand":"Pretty Cat",
"per_unit_cost":"2.86",
"category":"dry cat food",
"flavor":"Tuna"
}
},
{
"productId":7,
"category":"dry dog food",
"attributes":{
"size":"30.0",
"brand":"Dog Days",
"per_unit_cost":"3.0",
"category":"dry dog food",
"flavor":"Chicken"
}
},
{
"productId":9,
"category":"kitty litter",
"attributes":{
"category":"kitty litter",
"brand":"Fiesty Feline",
"size":"14.0",
"per_unit_cost":"1.5"
}
},
{
"productId":11,
"category":"dry cat food",
"attributes":{
"size":"7.0",
"brand":"Feisty Feline",
"per_unit_cost":"2.14",
"category":"dry cat food",
"flavor":"Chicken & Rice (Hairball Management)"
}
},
{
"productId":13,
"category":"dry dog food",
"attributes":{
"size":"30.0",
"brand":"Happy Pup",
"per_unit_cost":"2.67",
"category":"dry dog food",
"flavor":"Lamb & Rice"
}
},
{
"productId":15,
"category":"dry dog food",
"attributes":{
"size":"15.0",
"brand":"Dog Days",
"per_unit_cost":"3.0",
"category":"dry dog food",
"flavor":"Pork"
}
},
{
"productId":17,
"category":"poop bags",
"attributes":{
"size":"60.0",
"color":"Blue",
"brand":"Happy Pup",
"per_unit_cost":"0.17",
"category":"poop bags"
}
},
{
"productId":19,
"category":"dry cat food",
"attributes":{
"size":"7.0",
"brand":"Wellfed",
"per_unit_cost":"2.14",
"category":"dry cat food",
"flavor":"Chicken & Rice (Hairball Management)"
}
},
{
"productId":21,
"category":"dry dog food",
"attributes":{
"size":"15.0",
"brand":"Wellfed",
"per_unit_cost":"2.0",
"category":"dry dog food",
"flavor":"Fish & Potato"
}
},
{
"productId":23,
"category":"dry dog food",
"attributes":{
"size":"30.0",
"brand":"Happy Pup",
"per_unit_cost":"2.67",
"category":"dry dog food",
"flavor":"Chicken"
}
},
{
"productId":25,
"category":"dry dog food",
"attributes":{
"size":"15.0",
"brand":"Happy Pup",
"per_unit_cost":"2.67",
"category":"dry dog food",
"flavor":"Pork"
}
},
{
"productId":27,
"category":"dry dog food",
"attributes":{
"size":"15.0",
"brand":"Wellfed",
"per_unit_cost":"2.0",
"category":"dry dog food",
"flavor":"Chicken"
}
},
{
"productId":29,
"category":"dry cat food",
"attributes":{
"size":"7.0",
"brand":"Pretty Cat",
"per_unit_cost":"2.86",
"category":"dry cat food",
"flavor":"Chicken & Rice (Hairball Management)"
}
},
{
"productId":31,
"category":"dry cat food",
"attributes":{
"size":"15.0",
"brand":"Pretty Cat",
"per_unit_cost":"2.86",
"category":"dry cat food",
"flavor":"Chicken & Rice"
}
},
{
"productId":33,
"category":"dry dog food",
"attributes":{
"size":"30.0",
"brand":"Dog Days",
"per_unit_cost":"3.0",
"category":"dry dog food",
"flavor":"Fish & Potato"
}
},
{
"productId":35,
"category":"kitty litter",
"attributes":{
"category":"kitty litter",
"brand":"Fiesty Feline",
"size":"7.0",
"per_unit_cost":"1.5"
}
},
{
"productId":37,
"category":"dry cat food",
"attributes":{
"size":"14.0",
"brand":"Wellfed",
"per_unit_cost":"2.14",
"category":"dry cat food",
"flavor":"Chicken & Rice (Hairball Management)"
}
},
{
"productId":39,
"category":"dry dog food",
"attributes":{
"size":"30.0",
"brand":"Happy Pup",
"per_unit_cost":"2.67",
"category":"dry dog food",
"flavor":"Fish & Potato"
}
},
{
"productId":41,
"category":"dry dog food",
"attributes":{
"size":"15.0",
"brand":"Wellfed",
"per_unit_cost":"2.0",
"category":"dry dog food",
"flavor":"Lamb & Rice"
}
},
{
"productId":43,
"category":"dry dog food",
"attributes":{
"size":"30.0",
"brand":"Wellfed",
"per_unit_cost":"2.0",
"category":"dry dog food",
"flavor":"Pork"
}
},
{
"productId":45,
"category":"poop bags",
"attributes":{
"size":"120.0",
"color":"Blue",
"brand":"Dog Days",
"per_unit_cost":"0.21",
"category":"poop bags"
}
},
{
"productId":47,
"category":"kitty litter",
"attributes":{
"category":"kitty litter",
"brand":"Pretty Cat",
"size":"28.0",
"per_unit_cost":"1.43"
}
},
{
"productId":49,
"category":"dry cat food",
"attributes":{
"size":"14.0",
"brand":"Feisty Feline",
"per_unit_cost":"2.14",
"category":"dry cat food",
"flavor":"Chicken & Rice (Hairball Management)"
}
},
{
"productId":51,
"category":"dry dog food",
"attributes":{
"size":"30.0",
"brand":"Dog Days",
"per_unit_cost":"3.0",
"category":"dry dog food",
"flavor":"Lamb & Rice"
}
}
]
}
{noformat}
was (Author: jayunit100):
And, BTW, this is what the data looks like, on output.
{noformat}
{
"totalTransaction":12,
"transactionsByZip":[
{"count":64,"productId":54,"zipcode":"94583"},{"count":38,"productId":18,"zipcode":"34761"},
{"count":158,"productId":14,"zipcode":"11368"},{"count":66,"productId":46,"zipcode":"33027"},
{"count":52,"productId":27,"zipcode":"94583"},{"count":84,"productId":19,"zipcode":"33027"},
{"count":143,"productId":0,"zipcode":"94583"},{"count":58,"productId":41,"zipcode":"72715"},
{"count":76,"productId":54,"zipcode":"15014"},{"count":118,"productId":52,"zipcode":"45439"}},
"productDetails":[
{
"productId":0,
"category":"kitty litter",
"attributes":{
"category":"kitty litter",
"brand":"Pretty Cat",
"size":"7.0",
"per_unit_cost":"1.43"
}
},
{
"productId":2,
"category":"dry cat food",
"attributes":{
"size":"7.0",
"brand":"Wellfed",
"per_unit_cost":"2.14",
"category":"dry cat food",
"flavor":"Chicken & Rice"
}
},
{
"productId":4,
"category":"dry dog food",
"attributes":{
"size":"15.0",
"brand":"Wellfed",
"per_unit_cost":"2.0",
"category":"dry dog food",
"flavor":"Pork"
}
},
{
"productId":6,
"category":"dry cat food",
"attributes":{
"size":"7.0",
"brand":"Wellfed",
"per_unit_cost":"2.14",
"category":"dry cat food",
"flavor":"Tuna"
}
},
{
"productId":8,
"category":"poop bags",
"attributes":{
"size":"120.0",
"color":"Blue",
"brand":"Happy Pup",
"per_unit_cost":"0.17",
"category":"poop bags"
}
},
{
"productId":10,
"category":"kitty litter",
"attributes":{
"category":"kitty litter",
"brand":"Pretty Cat",
"size":"14.0",
"per_unit_cost":"1.43"
}
},
{
"productId":12,
"category":"dry dog food",
"attributes":{
"size":"15.0",
"brand":"Happy Pup",
"per_unit_cost":"2.67",
"category":"dry dog food",
"flavor":"Lamb & Rice"
}
},
{
"productId":14,
"category":"poop bags",
"attributes":{
"size":"60.0",
"color":"multicolor",
"brand":"Dog Days",
"per_unit_cost":"0.21",
"category":"poop bags"
}
},
{
"productId":16,
"category":"poop bags",
"attributes":{
"size":"60.0",
"color":"Blue",
"brand":"Dog Days",
"per_unit_cost":"0.21",
"category":"poop bags"
}
},
{
"productId":18,
"category":"dry dog food",
"attributes":{
"size":"30.0",
"brand":"Wellfed",
"per_unit_cost":"2.0",
"category":"dry dog food",
"flavor":"Chicken"
}
},
{
"productId":20,
"category":"dry dog food",
"attributes":{
"size":"30.0",
"brand":"Wellfed",
"per_unit_cost":"2.0",
"category":"dry dog food",
"flavor":"Fish & Potato"
}
},
{
"productId":22,
"category":"dry cat food",
"attributes":{
"size":"14.0",
"brand":"Feisty Feline",
"per_unit_cost":"2.14",
"category":"dry cat food",
"flavor":"Tuna"
}
},
{
"productId":24,
"category":"dry cat food",
"attributes":{
"size":"7.0",
"brand":"Feisty Feline",
"per_unit_cost":"2.14",
"category":"dry cat food",
"flavor":"Chicken & Rice"
}
},
{
"productId":26,
"category":"poop bags",
"attributes":{
"size":"120.0",
"color":"multicolor",
"brand":"Happy Pup",
"per_unit_cost":"0.17",
"category":"poop bags"
}
},
{
"productId":28,
"category":"dry dog food",
"attributes":{
"size":"30.0",
"brand":"Dog Days",
"per_unit_cost":"3.0",
"category":"dry dog food",
"flavor":"Pork"
}
},
{
"productId":30,
"category":"dry dog food",
"attributes":{
"size":"15.0",
"brand":"Dog Days",
"per_unit_cost":"3.0",
"category":"dry dog food",
"flavor":"Chicken"
}
},
{
"productId":32,
"category":"dry cat food",
"attributes":{
"size":"14.0",
"brand":"Feisty Feline",
"per_unit_cost":"2.14",
"category":"dry cat food",
"flavor":"Chicken & Rice"
}
},
{
"productId":34,
"category":"dry cat food",
"attributes":{
"size":"7.0",
"brand":"Feisty Feline",
"per_unit_cost":"2.14",
"category":"dry cat food",
"flavor":"Tuna"
}
},
{
"productId":36,
"category":"dry dog food",
"attributes":{
"size":"30.0",
"brand":"Wellfed",
"per_unit_cost":"2.0",
"category":"dry dog food",
"flavor":"Lamb & Rice"
}
},
{
"productId":38,
"category":"dry dog food",
"attributes":{
"size":"15.0",
"brand":"Dog Days",
"per_unit_cost":"3.0",
"category":"dry dog food",
"flavor":"Lamb & Rice"
}
},
{
"productId":40,
"category":"dry dog food",
"attributes":{
"size":"15.0",
"brand":"Happy Pup",
"per_unit_cost":"2.67",
"category":"dry dog food",
"flavor":"Chicken"
}
},
{
"productId":42,
"category":"dry cat food",
"attributes":{
"size":"14.0",
"brand":"Wellfed",
"per_unit_cost":"2.14",
"category":"dry cat food",
"flavor":"Chicken & Rice"
}
},
{
"productId":44,
"category":"dry dog food",
"attributes":{
"size":"15.0",
"brand":"Happy Pup",
"per_unit_cost":"2.67",
"category":"dry dog food",
"flavor":"Fish & Potato"
}
},
{
"productId":46,
"category":"dry cat food",
"attributes":{
"size":"15.0",
"brand":"Pretty Cat",
"per_unit_cost":"2.86",
"category":"dry cat food",
"flavor":"Chicken & Rice (Hairball Management)"
}
},
{
"productId":48,
"category":"dry dog food",
"attributes":{
"size":"30.0",
"brand":"Happy Pup",
"per_unit_cost":"2.67",
"category":"dry dog food",
"flavor":"Pork"
}
},
{
"productId":50,
"category":"dry cat food",
"attributes":{
"size":"7.0",
"brand":"Pretty Cat",
"per_unit_cost":"2.86",
"category":"dry cat food",
"flavor":"Tuna"
}
},
{
"productId":52,
"category":"kitty litter",
"attributes":{
"category":"kitty litter",
"brand":"Feisty Feline",
"size":"28.0",
"per_unit_cost":"1.5"
}
},
{
"productId":54,
"category":"dry cat food",
"attributes":{
"size":"14.0",
"brand":"Wellfed",
"per_unit_cost":"2.14",
"category":"dry cat food",
"flavor":"Tuna"
}
},
{
"productId":56,
"category":"dry dog food",
"attributes":{
"size":"15.0",
"brand":"Dog Days",
"per_unit_cost":"3.0",
"category":"dry dog food",
"flavor":"Fish & Potato"
}
},
{
"productId":1,
"category":"poop bags",
"attributes":{
"size":"120.0",
"color":"multicolor",
"brand":"Dog Days",
"per_unit_cost":"0.21",
"category":"poop bags"
}
},
{
"productId":3,
"category":"poop bags",
"attributes":{
"size":"60.0",
"color":"multicolor",
"brand":"Happy Pup",
"per_unit_cost":"0.17",
"category":"poop bags"
}
},
{
"productId":5,
"category":"dry cat food",
"attributes":{
"size":"15.0",
"brand":"Pretty Cat",
"per_unit_cost":"2.86",
"category":"dry cat food",
"flavor":"Tuna"
}
},
{
"productId":7,
"category":"dry dog food",
"attributes":{
"size":"30.0",
"brand":"Dog Days",
"per_unit_cost":"3.0",
"category":"dry dog food",
"flavor":"Chicken"
}
},
{
"productId":9,
"category":"kitty litter",
"attributes":{
"category":"kitty litter",
"brand":"Fiesty Feline",
"size":"14.0",
"per_unit_cost":"1.5"
}
},
{
"productId":11,
"category":"dry cat food",
"attributes":{
"size":"7.0",
"brand":"Feisty Feline",
"per_unit_cost":"2.14",
"category":"dry cat food",
"flavor":"Chicken & Rice (Hairball Management)"
}
},
{
"productId":13,
"category":"dry dog food",
"attributes":{
"size":"30.0",
"brand":"Happy Pup",
"per_unit_cost":"2.67",
"category":"dry dog food",
"flavor":"Lamb & Rice"
}
},
{
"productId":15,
"category":"dry dog food",
"attributes":{
"size":"15.0",
"brand":"Dog Days",
"per_unit_cost":"3.0",
"category":"dry dog food",
"flavor":"Pork"
}
},
{
"productId":17,
"category":"poop bags",
"attributes":{
"size":"60.0",
"color":"Blue",
"brand":"Happy Pup",
"per_unit_cost":"0.17",
"category":"poop bags"
}
},
{
"productId":19,
"category":"dry cat food",
"attributes":{
"size":"7.0",
"brand":"Wellfed",
"per_unit_cost":"2.14",
"category":"dry cat food",
"flavor":"Chicken & Rice (Hairball Management)"
}
},
{
"productId":21,
"category":"dry dog food",
"attributes":{
"size":"15.0",
"brand":"Wellfed",
"per_unit_cost":"2.0",
"category":"dry dog food",
"flavor":"Fish & Potato"
}
},
{
"productId":23,
"category":"dry dog food",
"attributes":{
"size":"30.0",
"brand":"Happy Pup",
"per_unit_cost":"2.67",
"category":"dry dog food",
"flavor":"Chicken"
}
},
{
"productId":25,
"category":"dry dog food",
"attributes":{
"size":"15.0",
"brand":"Happy Pup",
"per_unit_cost":"2.67",
"category":"dry dog food",
"flavor":"Pork"
}
},
{
"productId":27,
"category":"dry dog food",
"attributes":{
"size":"15.0",
"brand":"Wellfed",
"per_unit_cost":"2.0",
"category":"dry dog food",
"flavor":"Chicken"
}
},
{
"productId":29,
"category":"dry cat food",
"attributes":{
"size":"7.0",
"brand":"Pretty Cat",
"per_unit_cost":"2.86",
"category":"dry cat food",
"flavor":"Chicken & Rice (Hairball Management)"
}
},
{
"productId":31,
"category":"dry cat food",
"attributes":{
"size":"15.0",
"brand":"Pretty Cat",
"per_unit_cost":"2.86",
"category":"dry cat food",
"flavor":"Chicken & Rice"
}
},
{
"productId":33,
"category":"dry dog food",
"attributes":{
"size":"30.0",
"brand":"Dog Days",
"per_unit_cost":"3.0",
"category":"dry dog food",
"flavor":"Fish & Potato"
}
},
{
"productId":35,
"category":"kitty litter",
"attributes":{
"category":"kitty litter",
"brand":"Fiesty Feline",
"size":"7.0",
"per_unit_cost":"1.5"
}
},
{
"productId":37,
"category":"dry cat food",
"attributes":{
"size":"14.0",
"brand":"Wellfed",
"per_unit_cost":"2.14",
"category":"dry cat food",
"flavor":"Chicken & Rice (Hairball Management)"
}
},
{
"productId":39,
"category":"dry dog food",
"attributes":{
"size":"30.0",
"brand":"Happy Pup",
"per_unit_cost":"2.67",
"category":"dry dog food",
"flavor":"Fish & Potato"
}
},
{
"productId":41,
"category":"dry dog food",
"attributes":{
"size":"15.0",
"brand":"Wellfed",
"per_unit_cost":"2.0",
"category":"dry dog food",
"flavor":"Lamb & Rice"
}
},
{
"productId":43,
"category":"dry dog food",
"attributes":{
"size":"30.0",
"brand":"Wellfed",
"per_unit_cost":"2.0",
"category":"dry dog food",
"flavor":"Pork"
}
},
{
"productId":45,
"category":"poop bags",
"attributes":{
"size":"120.0",
"color":"Blue",
"brand":"Dog Days",
"per_unit_cost":"0.21",
"category":"poop bags"
}
},
{
"productId":47,
"category":"kitty litter",
"attributes":{
"category":"kitty litter",
"brand":"Pretty Cat",
"size":"28.0",
"per_unit_cost":"1.43"
}
},
{
"productId":49,
"category":"dry cat food",
"attributes":{
"size":"14.0",
"brand":"Feisty Feline",
"per_unit_cost":"2.14",
"category":"dry cat food",
"flavor":"Chicken & Rice (Hairball Management)"
}
},
{
"productId":51,
"category":"dry dog food",
"attributes":{
"size":"30.0",
"brand":"Dog Days",
"per_unit_cost":"3.0",
"category":"dry dog food",
"flavor":"Lamb & Rice"
}
}
]
}
{noformat}
> Add queries for customer, state, and product statistics w/ d3 friendly JSON
> output to analytics phase.
> -------------------------------------------------------------------------------------------------------
>
> Key: BIGTOP-1653
> URL: https://issues.apache.org/jira/browse/BIGTOP-1653
> Project: Bigtop
> Issue Type: Improvement
> Components: blueprints
> Affects Versions: 0.9.0
> Reporter: jay vyas
> Assignee: jay vyas
> Fix For: 0.9.0
>
> Attachments: BIGTOP-1653.patch, BIGTOP-1653.patch, BIGTOP-1653.patch
>
>
> Follow on to BIGTOP-1536, this time we can use a scala json library if a good
> one exists.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)