ekuiper icon indicating copy to clipboard operation
ekuiper copied to clipboard

Support sequential actions

Open xiaobai0428 opened this issue 2 years ago • 3 comments

希望eKuiper在支持并行执行sql的同时 具备串行执行sql的 能力 方便通用化执行

xiaobai0428 avatar Jun 06 '23 03:06 xiaobai0428

@xiaobai0428 Thanks for opening the feature. One question, when running sequentially, what data do you expect for the second SQL action? The same data as the first?

ngjaying avatar Jun 06 '23 03:06 ngjaying

Thank you for your reply to execute the first sql in serial and then the second sql is triggered according to the conditions after the first sql is executed. Of course the serial execution can be associated or executed sequentially and there will be a third and a fourth sql to trigger the execution!

xiaobai0428 avatar Jun 11 '23 14:06 xiaobai0428

Thank you for your reply to execute the first sql in serial and then the second sql is triggered according to the conditions after the first sql is executed. Of course the serial execution can be associated or executed sequentially and there will be a third and a fourth sql to trigger the execution!

If the data in sink is like {"temperature":12,"humidity":45}. In the first SQL, it would insert into the table like INSERT INTO weather_data (temperature, humidity) VALUES (12, 45);. Then, what's the data do you expect for the second SQL action?

ngjaying avatar Jun 12 '23 08:06 ngjaying