Re: cqlsh -e output - How to change the default delimiter '|' in the output

2017-08-15 Thread Jon Haddad
Using COPY .. TO you can export using the DELIMITER option, does that help? > On Aug 15, 2017, at 9:01 PM, Harikrishnan A wrote: > > Thank you all > > Regards, > Hari > > > On Tuesday, August 15, 2017 12:55 AM, Erick Ramirez > wrote: > > > +1 to Jim and Tobin. cqlsh wasn't designed for w

Re: cqlsh -e output - How to change the default delimiter '|' in the output

2017-08-15 Thread Harikrishnan A
Thank you all Regards,Hari On Tuesday, August 15, 2017 12:55 AM, Erick Ramirez wrote: +1 to Jim and Tobin. cqlsh wasn't designed for what you're trying to achieve. Cheers! On Tue, Aug 15, 2017 at 1:34 AM, Tobin Landricombe wrote: Can't change the delimiter (I'm on cqlsh 5.0.1). Best

Re: cqlsh -e output - How to change the default delimiter '|' in the output

2017-08-15 Thread Erick Ramirez
+1 to Jim and Tobin. cqlsh wasn't designed for what you're trying to achieve. Cheers! On Tue, Aug 15, 2017 at 1:34 AM, Tobin Landricombe wrote: > Can't change the delimiter (I'm on cqlsh 5.0.1). Best I can offer is > https://docs.datastax.com/en/cql/3.3/cql/cql_reference/cqlshExpand.html > > > O

Re: cqlsh -e output - How to change the default delimiter '|' in the output

2017-08-14 Thread Tobin Landricombe
Can't change the delimiter (I'm on cqlsh 5.0.1). Best I can offer is https://docs.datastax.com/en/cql/3.3/cql/cql_reference/cqlshExpand.html > On 14 Aug 2017, at 16:17, Jim Witschey wrote: > > Not knowing the problem you're trying to solve, I'm going to guess > cqlsh is a bad tool for this job.

Re: cqlsh -e output - How to change the default delimiter '|' in the output

2017-08-14 Thread Jim Witschey
Not knowing the problem you're trying to solve, I'm going to guess cqlsh is a bad tool for this job. If you want to put the results of CQL queries into a shell pipeline, a small custom script using a driver is probably a better fit, and should be possible to write without much effort.

Re: cqlsh -e output - How to change the default delimiter '|' in the output

2017-08-14 Thread Harikrishnan A
I have column values with Pipe separator, hence unable to replace this default delimiter from the output. Thanks Hari On Monday, August 14, 2017 12:12 AM, algermissen1971 wrote: On 14.08.2017, at 07:49, Harikrishnan A wrote: Hello, When I execute cqlsh -e "SELECT statement .."  ,

Re: cqlsh -e output - How to change the default delimiter '|' in the output

2017-08-14 Thread algermissen1971
> On 14.08.2017, at 07:49, Harikrishnan A wrote: > > Hello, > > When I execute cqlsh -e "SELECT statement .." , it gives the output with a > pipe ('|') separator. Is there anyway I can change this default delimiter in > the output of cqlsh -e " SELECT statement ..". What about sed? Jan

cqlsh -e output - How to change the default delimiter '|' in the output

2017-08-13 Thread Harikrishnan A
Hello, When I execute cqlsh -e "SELECT statement .."  , it gives the output with a pipe ('|') separator. Is there anyway I can change this default delimiter in the output of cqlsh -e " SELECT statement ..".  Thanks & Regards,Hari