You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Shawn Du <sh...@neulion.com.cn> on 2017/01/11 00:42:46 UTC

答复: 答复: compute SQL returned data.

Yes. For my case, before submitting jobs, I need query data in task, so if
no data, I have to submit an empty job which does nothing, this is my
workaround.
Is there "normal" ways for this case?

Thanks
Shawn

-----邮件原件-----
发件人: vkulichenko [mailto:valentin.kulichenko@gmail.com] 
发送时间: 2017年1月11日 3:31
收件人: user@ignite.apache.org
主题: Re: 答复: compute SQL returned data.

Hi Shawn,

This means what it says - ComputeTask.map() method returned no jobs, i.e.
null or empty map.

-Val



--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/compute-SQL-returned-data-tp9
890p9999.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.


Re: 答复: 答复: compute SQL returned data.

Posted by vkulichenko <va...@gmail.com>.
Shawn,

map() method is execute locally on the master node, so you can do all the
checks outside the task and then execute only if needed. Will this work?

-Val



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/compute-SQL-returned-data-tp9890p10016.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.