[
https://issues.apache.org/jira/browse/CASSANDRA-6305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mikhail Stepura updated CASSANDRA-6305:
---------------------------------------
Attachment: trunk-6305-1.patch
[~iamaleksey] I'm attaching the patch for items 2-5.
The idea is to "override" a couple of methods from
{{cql.cqltypes._CassandraType}} in CQLSH, since it was decided not to implement
that in CQL driver:
* {{CassandraType#cql_parameterized_type}} - to properly display usertypes'
names
* {{CassandraType#from_binary}} - to properly decode values, using a dictionary
generated from {{schema_usertypes}}
WDYT?
> cqlsh support for User Types
> ----------------------------
>
> Key: CASSANDRA-6305
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6305
> Project: Cassandra
> Issue Type: New Feature
> Reporter: Aleksey Yeschenko
> Assignee: Mikhail Stepura
> Labels: cqlsh
> Fix For: 2.1
>
> Attachments: trunk-6305-1.patch
>
>
> We need cqlsh support for several things:
> 1. Autocomplete for UPDATE/INSERT/SELECT
> 2. Autocomplete for ALTER TYPE/CREATE TYPE/DROP TYPE
> 3. Proper decoding of UserType values (currently showing the encoded blob)
> 4. Support UserTypes in DESCRIBE
> 5. Separate DESCRIBE TYPES|TYPE <name> cmds
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)