Re: REG: Issue when creating a Phoenix table through JDBC

2015-10-14 Thread Ns G
Hi James, I didn't try that. Now after that change it is working. Very trivial error from my end. Thanks, Durga Prasad On 15-Oct-2015 11:51 am, "James Taylor" wrote: > Have you tried double single quotes for the escaping? > > On Wed, Oct 14, 2015 at 11:19 PM, Ns G wrote: > >> Hi James, >> >> I

Re: REG: Issue when creating a Phoenix table through JDBC

2015-10-14 Thread James Taylor
Have you tried double single quotes for the escaping? On Wed, Oct 14, 2015 at 11:19 PM, Ns G wrote: > Hi James, > > It is actually not a single sql statement. For simplicity I have just > mentioned one. I guess the issue is orginating because of the quotes we > need to surrond the word "SNAPPY"

Re: REG: Issue when creating a Phoenix table through JDBC

2015-10-14 Thread Ns G
Hi James, It is actually not a single sql statement. For simplicity I have just mentioned one. I guess the issue is orginating because of the quotes we need to surrond the word "SNAPPY". I have tried escaping them but no success. Thanks On 15-Oct-2015 11:46 am, "James Taylor" wrote: > Kind of

Re: REG: Issue when creating a Phoenix table through JDBC

2015-10-14 Thread James Taylor
Kind of a guess, but if you're parsing a single SQL statement, it shouldn't have a semicolon at the end. If that's part of the string, can you try removing it? On Wed, Oct 14, 2015 at 11:11 PM, Ns G wrote: > Hi All, > > I have a requirement where in i need to create tables to JDBC (actually > Sp