Commit Graph

220 Commits

Author SHA1 Message Date
Eric Evans f22d5e0bba parameter substitution for python CQL driver
Patch by eevans for CASSANDRA-1711


git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1071467 13f79535-47bb-0310-9956-ffa450edef68
2011-02-17 01:22:09 +00:00
Eric Evans 28eabffc48 CREATE COLUMNFAMILY w/ system tests
Patch by eevans for CASSANDRA-1709


git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1070571 13f79535-47bb-0310-9956-ffa450edef68
2011-02-14 16:59:16 +00:00
Eric Evans 8e680ea52c uuid term definitions
Patch by eevans for CASSANDRA-2027

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1068054 13f79535-47bb-0310-9956-ffa450edef68
2011-02-07 19:06:11 +00:00
Eric Evans ceffc04993 system tests for integer and utf8 term types
Patch by eevans for CASSANDRA-2027


git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1068053 13f79535-47bb-0310-9956-ffa450edef68
2011-02-07 19:06:01 +00:00
Eric Evans 924deb091f CQL: keyspace creation
Patch by eevans for CASSANDRA-1709

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1064326 13f79535-47bb-0310-9956-ffa450edef68
2011-01-27 21:57:20 +00:00
Eric Evans a29d2f7090 implement missing func (more fallout from #926)
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1060889 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 18:06:36 +00:00
Eric Evans 9f71fb6e5e remove avro functional tests
Patch by eevans; reviewed by Jeremy Hanna for CASSANDRA-926

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1059457 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 04:05:54 +00:00
Eric Evans 75df1ea4f9 basic connection pooling for python driver
Patch by eevans; reviewed by gdusbabek for CASSANDRA-1711

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1055594 13f79535-47bb-0310-9956-ffa450edef68
2011-01-05 19:27:50 +00:00
Eric Evans 0888d35fa9 port python driver, avro -> thrift
Patch by eevans; reviewed by jbellis for CASSANDRA-1913

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1054142 13f79535-47bb-0310-9956-ffa450edef68
2010-12-31 17:24:57 +00:00
Johan Oskarsson 2c4ac98c9f Adds support for columns that act as incr/decr counters. Patch primarily by Kelvin Kakugawa with select parts from Chris Goffinet, Sylvain Lebresne, Rob Coli, Johan Oskarsson, Adam Samet, Jaakko Laine and more. Review by Jonathan Ellis and Sylvain Lebresne. CASSANDRA-1072.
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1051679 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 22:17:09 +00:00
Jonathan Ellis 96de7318bc merge from 0.7
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1050756 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 03:42:10 +00:00
Jonathan Ellis 486864605c return InvalidRequest when remove ofsubcolumn without supercolumn is requested
patch by thobbs; reviewed by jbellis for CASSANDRA-1866

git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1050426 13f79535-47bb-0310-9956-ffa450edef68
2010-12-17 15:34:01 +00:00
Gary Dusbabek bfd1b7bae8 fix broken nost test
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1049168 13f79535-47bb-0310-9956-ffa450edef68
2010-12-14 17:06:49 +00:00
Gary Dusbabek af3e4d21cf fix broken nost test
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1049166 13f79535-47bb-0310-9956-ffa450edef68
2010-12-14 17:05:57 +00:00
Eric Evans ae0d5d0406 CASSANDRA-1706: CQL DELETE w/ functional tests
Patch by eevans for CASSANDRA-1706

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1045342 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 19:50:09 +00:00
Eric Evans 8a47cff66b CQL TRUNCATE implementation + test
Patch by eevans for CASSANDRA-1716

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1039595 13f79535-47bb-0310-9956-ffa450edef68
2010-11-27 02:22:22 +00:00
Gary Dusbabek 84cd72b34d merege from 0.7
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1038285 13f79535-47bb-0310-9956-ffa450edef68
2010-11-23 19:12:51 +00:00
Gary Dusbabek 9df9dd1957 system test for add/drop index. patch by thobbs, reviewed by gdusbabek. CASSANDRA-1764
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1038283 13f79535-47bb-0310-9956-ffa450edef68
2010-11-23 19:09:42 +00:00
Gary Dusbabek 4ad8e26f2d merge from 0.7
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1038200 13f79535-47bb-0310-9956-ffa450edef68
2010-11-23 16:53:59 +00:00
Jonathan Ellis 59d185c2fd merge from 0.6
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1037871 13f79535-47bb-0310-9956-ffa450edef68
2010-11-22 20:29:29 +00:00
Gary Dusbabek 477eecb1cc fix flush and compaction races with schema updates. patch by gdusbabek and jbellis. CASSANDRA-1715
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1036937 13f79535-47bb-0310-9956-ffa450edef68
2010-11-19 16:55:37 +00:00
Gary Dusbabek b0fd9e83b7 perform index maintenance outside of migration locks during CF update. patch by gdusbabek, reviewe by jbellis. CASSANDRA-1715
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1036895 13f79535-47bb-0310-9956-ffa450edef68
2010-11-19 15:28:07 +00:00
Eric Evans b98e03a0bc batched UPDATEs
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1036112 13f79535-47bb-0310-9956-ffa450edef68
2010-11-17 16:57:35 +00:00
Eric Evans 0b74986a3f conforming single-statement UPDATE impl
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1036111 13f79535-47bb-0310-9956-ffa450edef68
2010-11-17 16:57:28 +00:00
Jonathan Ellis 048b8c4811 merge from 0.7
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1035297 13f79535-47bb-0310-9956-ffa450edef68
2010-11-15 15:09:14 +00:00
Jonathan Ellis 38ff66f408 fix tombstoning of supercolumns in range queries
patch by jbellis; reviewed by tjake for CASSANDRA-1734

git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1035286 13f79535-47bb-0310-9956-ffa450edef68
2010-11-15 14:21:43 +00:00
Eric Evans 0939780a0c SELECT COUNT(...) FROM support
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1034538 13f79535-47bb-0310-9956-ffa450edef68
2010-11-12 19:33:06 +00:00
Eric Evans 80840a0760 support empty/unset where clause
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1034537 13f79535-47bb-0310-9956-ffa450edef68
2010-11-12 19:33:00 +00:00
Eric Evans 81ffee3e99 add support for index scans
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1034536 13f79535-47bb-0310-9956-ffa450edef68
2010-11-12 19:32:54 +00:00
Eric Evans a7de735e6d backfill missing system tests
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1034535 13f79535-47bb-0310-9956-ffa450edef68
2010-11-12 19:32:48 +00:00
Eric Evans 37dc267fc6 refactor CQL SELECT to be more SQLish
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1034532 13f79535-47bb-0310-9956-ffa450edef68
2010-11-12 19:32:32 +00:00
Eric Evans 52dbb877ea misc (de)bug rollup
* propagate parse exceptions as avro InvalidRequestExceptions
* use more reasonable defaults for col and row limits (else OOM)
* working range query system test
* actually set column timestamp in return results
* validate keys in UPDATE
* process row mutations exactly once
* javadoc cleanup / updates
* explicitly disabled nagle in python driver
* query logging is brutal, move to trace
* upgrade jetty to 6.1.24

Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1029368 13f79535-47bb-0310-9956-ffa450edef68
2010-10-31 14:37:56 +00:00
Eric Evans b29ac2a29e python driver and functional tests
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1029366 13f79535-47bb-0310-9956-ffa450edef68
2010-10-31 14:37:33 +00:00
Jonathan Ellis 729022c655 remove preload_row_cache option
patch by jbellis; reviewed by brandonwilliams for CASSANDRA-1647

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1026429 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 17:54:44 +00:00
Jonathan Ellis f47145d3c1 fix back CASSANDRA-1622 merge. patch by jbellis and Todd Nine
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1026327 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 13:57:50 +00:00
Jonathan Ellis e7a385ac3f tjake
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1026200 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 03:23:26 +00:00
Gary Dusbabek 70c7a69e48 remove system_rename* methods from API. patch by gdusbabek, reviewed by jbellis. CASSANDRA-1
630


git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1024243 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 14:23:34 +00:00
Brandon Williams 14c412df77 System tests SIGKILL server if still alive and cleanup after it.
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1022703 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 20:53:33 +00:00
Brandon Williams 21913c5502 Remove ConsistencyLevel.ZERO. Patch by jbellis, reviewed by brandonwilliams for CASSANDRA-1607.
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1021852 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 17:33:53 +00:00
Jonathan Ellis a857b73834 Allow dynamic secondary index creation and destruction
patch by jbellis; reviewed by gdusbabek for CASSANDRA-1532

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1005551 13f79535-47bb-0310-9956-ffa450edef68
2010-10-07 18:12:13 +00:00
Jonathan Ellis 475923a110 allow keyspace creation with RF > N.
patch by jbellis; reviewed by gdusbabek for CASSANDRA-1428

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1005215 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 19:37:15 +00:00
Jonathan Ellis 297c2f3639 meaningful error message for invalid replication strategy class. patch by Aaron Morton; reviewed by jbellis for CASSANDRA-1556
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1005200 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 18:45:33 +00:00
Gary Dusbabek f289d69561 ensure that a table unloads CFS instances when they are cleared. patch by gdusbabek, reviewed by jbellis. CASSANDRA-1548
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1002163 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 13:52:24 +00:00
Jonathan Ellis 2f02b37ff5 support TTL'd index values.
patch by Stu Hood; reviewed by jbellis for CASSANDRA-1536

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1002011 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 04:26:24 +00:00
Eric Evans c22eebc35e update avro sys tests for Clock removal
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1001889 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 19:44:07 +00:00
Jonathan Ellis 8b38ee2806 add describe_snitch to Thrift api.
patch by jhermes; reviewed by jbellis for CASSANDRA-1490


git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1001332 13f79535-47bb-0310-9956-ffa450edef68
2010-09-25 23:56:55 +00:00
Jonathan Ellis d966ed0861 r/m Clock from Thrift api. patch by jbellis; reviewed by slebresne for CASSANDRA-1501
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@999542 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 18:56:23 +00:00
Gary Dusbabek 77cebf9774 avro system tests. patch by gdusbabek, reviewed by jbellis. CASSANDRA-1477
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@997491 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 20:38:59 +00:00
Gary Dusbabek dc5da90c71 revert r996974. fix by adding a switch to files() to allow it to be used to get valid files and generate a count. patch by gdusbabek, reviewed by jbellis. CASSANDRA-1477
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@997489 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 20:38:23 +00:00
Gary Dusbabek 1ab976be2a ensure that compacted sstables are excluded from newly instantiated readers. patch by gdusbabek, reviewed by jbellis. CASSANDRA-1477
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@996974 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 16:28:29 +00:00