cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Haddad <jonathan.had...@gmail.com>
Subject Re: cqlsh -e output - How to change the default delimiter '|' in the output
Date Wed, 16 Aug 2017 04:32:03 GMT
Using COPY .. TO you can export using the DELIMITER option, does that help?


> On Aug 15, 2017, at 9:01 PM, Harikrishnan A <hari_ka@yahoo.com.INVALID> wrote:
> 
> Thank you all
> 
> Regards,
> Hari
> 
> 
> On Tuesday, August 15, 2017 12:55 AM, Erick Ramirez <flightctlr@gmail.com> 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 <tobin@sensatus.com <mailto:tobin@sensatus.com>>
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 <https://docs.datastax.com/en/cql/3.3/cql/cql_reference/cqlshExpand.html>
> 
> > On 14 Aug 2017, at 16:17, Jim Witschey <jim.witschey@datastax.com <mailto:jim.witschey@datastax.com>>
wrote:
> >
> > 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.
> >
> > ------------------------------ ------------------------------ ---------
> > To unsubscribe, e-mail: user-unsubscribe@cassandra. apache.org <mailto:user-unsubscribe@cassandra.apache.org>
> > For additional commands, e-mail: user-help@cassandra.apache.org <mailto:user-help@cassandra.apache.org>
> >
> 
> 
> ------------------------------ ------------------------------ ---------
> To unsubscribe, e-mail: user-unsubscribe@cassandra. apache.org <mailto:user-unsubscribe@cassandra.apache.org>
> For additional commands, e-mail: user-help@cassandra.apache.org <mailto:user-help@cassandra.apache.org>
> 
> 
> 
> 


Mime
View raw message