mirror of https://github.com/apache/cassandra
fix type information returned for wildcard queries
patch by pyaskevich; reviewed by jbellis for CASSANDRA-3311 git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-1.0.0@1179360 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1029fd59b9
commit
b4ea3a73ca
|
|
@ -16,6 +16,8 @@
|
|||
* Fix missing fields in CLI `show schema` output (CASSANDRA-3304)
|
||||
* Fix broken CompressedRandomAccessReaderTest (CASSANDRA-3298)
|
||||
* Nodetool no longer leaks threads and closes JMX connections (CASSANDRA-3309)
|
||||
* (CQL) fix type information returned for wildcard queries (CASSANDRA-3311)
|
||||
|
||||
|
||||
1.0.0-rc2
|
||||
* Log a meaningful warning when a node receives a message for a repair session
|
||||
|
|
|
|||
|
|
@ -39,3 +39,4 @@ CLASSPATH=$CASSANDRA_CONF:$cassandra_bin
|
|||
for jar in $CASSANDRA_HOME/lib/*.jar; do
|
||||
CLASSPATH=$CLASSPATH:$jar
|
||||
done
|
||||
echo $CLASSPATH
|
||||
|
|
@ -586,6 +586,11 @@ public class QueryProcessor
|
|||
{
|
||||
if (c.isMarkedForDelete())
|
||||
continue;
|
||||
|
||||
ColumnDefinition cd = metadata.getColumnDefinition(c.name());
|
||||
if (cd != null)
|
||||
result.schema.value_types.put(c.name(), TypeParser.getShortName(cd.getValidator()));
|
||||
|
||||
thriftColumns.add(thriftify(c));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue