Last active
August 2, 2016 09:18
-
-
Save allwefantasy/53afb86531e660fad4681be507b1a175 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"test": { | |
"desc": "测试", | |
"strategy": "streaming.core.strategy.SparkStreamingStrategy", | |
"algorithm": [], | |
"ref": [ | |
"testJoinTable" | |
], | |
"compositor": [ | |
{ | |
"name": "streaming.core.compositor.spark.streaming.source.MockInputStreamCompositor", | |
"params": [{"data1":["1","2","3"],"data2":["1","2","3"],"data3":["1","2","3"],"data4":["1","2","3"]}] | |
}, | |
{ | |
"name": "streaming.core.compositor.spark.streaming.transformation.SingleColumnJSONCompositor", | |
"params": [ | |
{ | |
"name": "a" | |
} | |
] | |
}, | |
{ | |
"name": "streaming.core.compositor.spark.streaming.transformation.JSONTableCompositor", | |
"params": [ | |
{ | |
"tableName": "test" | |
} | |
] | |
}, | |
{ | |
"name": "streaming.core.compositor.spark.streaming.transformation.SQLCompositor", | |
"params": [ | |
{ | |
"sql": "select a, \"5\" as b from test", | |
"outputTableName": "test2" | |
} | |
] | |
}, | |
{ | |
"name": "streaming.core.compositor.spark.streaming.transformation.SQLCompositor", | |
"params": [ | |
{ | |
"sql": "select t2.a,t2.b from test2 t2, testJoinTable t3 where t2.a = t3.a" | |
} | |
] | |
}, | |
{ | |
"name": "streaming.core.compositor.spark.streaming.output.SQLPrintOutputCompositor", | |
"params": [ | |
{ | |
} | |
] | |
} | |
], | |
"configParams": { | |
} | |
}, | |
"testJoinTable": { | |
"desc": "测试", | |
"strategy": "streaming.core.strategy.SparkStreamingRefStrategy", | |
"algorithm": [], | |
"ref": [], | |
"compositor": [ | |
{ | |
"name": "streaming.core.compositor.spark.source.MockJsonCompositor", | |
"params": [ | |
{"a":"3"}, | |
{"a":"4"}, | |
{"a":"5"} | |
] | |
}, | |
{ | |
"name": "streaming.core.compositor.spark.transformation.JSONRefTableCompositor", | |
"params": [ | |
{ | |
"tableName": "testJoinTable" | |
} | |
] | |
} | |
], | |
"configParams": { | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment