DESCRIBE is not a CQL3 query but a cqlsh specific command, so it won't work outside of cqlsh. However, at least if you are using the datastax java driver (I don't know for the .Net one but it's probably true there too) you can just get the equivalent through the Cluster.getMetadadata().getKeyspace(<keyspace_name>) method.
-- Sylvain On Sun, Jun 9, 2013 at 3:49 PM, Joe Greenawalt <joe.greenaw...@gmail.com>wrote: > Hi, I was playing around with the datastax driver today, and I wanted to > call "DESCRIBE TABLE ....;". But got a syntax error: line 1:0 no viable > alternative at input 'describe'. Is that functionality just not > implemented in the 1.0 driver? > > If that's true: > Does anyone know if its planned? > Is there another way to get a description of the table? > > If it's not true, does anyone know where I could be doing something wrong? > I have a good connection, and I'm simply running session.execute("DESCRIBE > TABLE {keyspaceName}.{tableName};"); > > Thanks, > Joe > >