Tickerplant Demo

Installed the tickerplant demo from https://github.com/KxSystems/cookbook/tree/master/start/tick and tick from https://github.com/KxSystems/kdb-tick/tree/master/tick. Running on CentOS so updated the run.sh from gnome to nohup, however the tick.q is throwing this error when starting the feed.q, same occurs when launching manually.

'.u.upd [0] .u.upd ^

Then on the tick/r.q received the following error however may be related to the tick.q issue.

'.u [2] /root/q/start/tick/tick/r.q:19: .u.rep .(hopen $“:”,.u.x 0)"(.u.sub[;];.u iL)"; ^ [0] (<load>)

Check if you have loaded u.q from the process running r.q? Both of the errors look like you didn’t load u.q, thus missing the `.u namespace, in the process.

Mixup in the files on Linux, the Windows version was fine. For the feed, in the feed: function in feed.q is it not possible to have a select statement as the source, could not find any real world examples of pulling data from remote locations in to a tickerplant, are there are samples can use as a reference. The whole demo uses u.upd which is an insert however need to use an upsert, could not find the equivalent

For anyone looking this does the trick http://code.kx.com/q/wp/building\_real\_time\_tick\_subscribers.pdf, and found out the hard way that q requires a space after the ; along with the } being ;} without a hard return. The code ran perfectly the whole time, just the formatting was not perfect.