'DELIVER VIA BREAD STREET L/BAY ON L.H.S. CAN WATER BE LEFT IN THE PANTRY AREA JUST INSIDE LOADING BAY???')
It fails with the trace below. I'm pretty certain it's because it's treating the final ??? within the character string as a parameter reference and then finding no parameters.
So the two questions are:
1. is this design or accident?
2. how can I safely execute valid sql from within a mapper environment that contains text from external uncontrollable data sources? Do I have to set up the query as a parameterised one? There's no benefit in that to me - I have to build the sql string in any case.
I am assuming is perfectly valid sql - I'm not an expert but certainly postgres has no problem with it.
[error] ! insert this sql
[error] NoSuchElementException: key not found: 1 (Map.scala:87)