You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by db...@apache.org on 2012/10/09 04:23:29 UTC
git commit: cassandra-cli: allow Double value type to be inserted to
a column patch by dbrosius reviewed by bwilliams for CASSANDRA-4661
Updated Branches:
refs/heads/trunk 7a2b45ae4 -> b7296316d
cassandra-cli: allow Double value type to be inserted to a column
patch by dbrosius reviewed by bwilliams for CASSANDRA-4661
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/b7296316
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/b7296316
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/b7296316
Branch: refs/heads/trunk
Commit: b7296316d992d87ddd1043b19388ce1c1fec5a3a
Parents: 7a2b45a
Author: Dave Brosius <db...@apache.org>
Authored: Mon Oct 8 22:21:19 2012 -0400
Committer: Dave Brosius <db...@apache.org>
Committed: Mon Oct 8 22:21:19 2012 -0400
----------------------------------------------------------------------
CHANGES.txt | 1 +
src/java/org/apache/cassandra/cli/CliClient.java | 1 +
.../org/apache/cassandra/cli/CliHelp.yaml | 1 +
3 files changed, 3 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cassandra/blob/b7296316/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 6ffa9c9..fd58882 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
1.2-beta2
+ * cassandra-cli: allow Double value type to be inserted to a column (CASSANDRA-4661)
* Add ability to use custom TServerFactory implementations (CASSANDRA-4608)
* optimize batchlog flushing to skip successful batches (CASSANDRA-4667)
* include metadata for system keyspace itself in schema tables (CASSANDRA-4416)
http://git-wip-us.apache.org/repos/asf/cassandra/blob/b7296316/src/java/org/apache/cassandra/cli/CliClient.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/cli/CliClient.java b/src/java/org/apache/cassandra/cli/CliClient.java
index 87981fe..87361d4 100644
--- a/src/java/org/apache/cassandra/cli/CliClient.java
+++ b/src/java/org/apache/cassandra/cli/CliClient.java
@@ -71,6 +71,7 @@ public class CliClient
TIMEUUID (TimeUUIDType.instance),
UTF8 (UTF8Type.instance),
ASCII (AsciiType.instance),
+ DOUBLE (DoubleType.instance),
COUNTERCOLUMN (CounterColumnType.instance);
private AbstractType<?> validator;
http://git-wip-us.apache.org/repos/asf/cassandra/blob/b7296316/src/resources/org/apache/cassandra/cli/CliHelp.yaml
----------------------------------------------------------------------
diff --git a/src/resources/org/apache/cassandra/cli/CliHelp.yaml b/src/resources/org/apache/cassandra/cli/CliHelp.yaml
index 7426c43..343e874 100644
--- a/src/resources/org/apache/cassandra/cli/CliHelp.yaml
+++ b/src/resources/org/apache/cassandra/cli/CliHelp.yaml
@@ -1034,6 +1034,7 @@ commands:
- integer
- lexicaluuid: if used without arguments generates a new random uuid
- long
+ - double
- timeuuid: if used without arguments generates a new time uuid
- utf8