Re: How to support UPSERT with WHERE clause

2018-07-16 Thread zhang yun
Now Phoenix don not support where clause within upsert. I also think this function is very important that use frequency is highly. Maybe the dialect looks like this: Upset into scheme.table_name set col=‘x’ where id=‘x’ This semantic to implement is easy in Phoenix, we just need once write

Re: Phoenix Exception - Connection is null or closed.

2018-03-24 Thread zhang yun
Hi, Anil. It seems that this exception is not bug, you should check your code of logical layer. Sometimes this exception will be trigger when multiple thread to access connections pool( some connections are closed at that time). Yun Zhang Best