| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Update tests for Python 3 compatibility | Wouter Bolsterlee | 2016-07-27 | 1 | -125/+123 |
| | | |||||
| * | Rewrite str_increment() as bytes_increment() | Wouter Bolsterlee | 2016-07-27 | 1 | -13/+15 |
| | | | | | ...and make it work on both Python 3 and 2. | ||||
| * | Port to thriftpy | Wouter Bolsterlee | 2016-03-27 | 1 | -3/+3 |
| | | |||||
| * | No longer confuse batching/caching; add Table.scan(scan_batching=...) | Wouter Bolsterlee | 2014-02-25 | 1 | -0/+7 |
| | | | | | | For details, see the comments added in this commit, and issues #54 and issue #56. | ||||
| * | Revert "Allow batch_size=None in Table.scan() to avoid filter incompatibilities" | Wouter Bolsterlee | 2014-02-25 | 1 | -8/+1 |
| | | | | | | This reverts commit 8481d317804e060b12839b571ef22306074fba9c, since it is not a correct fix. See issue #56. | ||||
| * | Allow batch_size=None in Table.scan() to avoid filter incompatibilities | Wouter Bolsterlee | 2014-01-25 | 1 | -1/+8 |
| | | | | | | | | | Allow None as a valid value for the batch_size argument to Table.scan(), since HBase does not support specifying a batch size when some scanner filters are used. Fixes issue #54. | ||||
| * | Add support for retrieving sorted columns in HBase >= 0.96 | Wouter Bolsterlee | 2013-11-08 | 1 | -0/+19 |
| | | | | | | This is possible with the HBase 0.96 Thrift API. This feature uses a new 'sorted_columns' argument to Table.scan(). Fixes issue #39. | ||||
| * | Default to 0.96 compatibility mode in tests | Wouter Bolsterlee | 2013-11-08 | 1 | -1/+1 |
| | | |||||
| * | Compatibility fixes for HBase 0.96 | Wouter Bolsterlee | 2013-11-08 | 1 | -1/+0 |
| | | | | | | | | | HBase 0.96.0 is more strict wrt column family names without a column qualifier. In previous versions a trailing ':' character after a column family name (e.g. 'cf1:') did not make any difference compared to the version without it (e.g. 'cf1'), but from 0.96.0 this is no longer the case... | ||||
| * | Reduce test loop and add more random failures to simulate the functionality. | Roger Hu | 2013-06-07 | 1 | -3/+4 |
| | | |||||
| * | Delete test table from previous test run before running tests | Wouter Bolsterlee | 2013-06-07 | 1 | -0/+10 |
| |\ | |||||
| | * | Try to remove the table if it exists before starting tests. | Roger Hu | 2013-06-04 | 1 | -0/+9 |
| |/ | | | | Aborting the tests half-way causes issues since teardown_module() is not called. | ||||
| * | Rewrite connection pool exception handling | Wouter Bolsterlee | 2013-06-04 | 1 | -4/+15 |
| | | | | | | | | | | | | | The connection pool now uses a much simpler try/except/finally block in the context manager function to detect network/Thrift errors. The pool will now only refreshes connections when Thrift or socket errors occur, and will not react to unrelated application errors anymore. With this approach, the _ClientProxy hack is not needed anymore, so it has been completely eliminated. See issue #25. | ||||
| * | Set debug log level when running tests as __main__ | Wouter Bolsterlee | 2013-06-04 | 1 | -0/+3 |
| | | |||||
| * | Also allow 'long' type for 'timestamp' args | Wouter Bolsterlee | 2013-05-22 | 1 | -0/+1 |
| | | | | | Fixes issue #23. | ||||
| * | Add tests for the connection pool | Wouter Bolsterlee | 2013-05-20 | 1 | -15/+104 |
| | | |||||
| * | More cosmetic changes | Wouter Bolsterlee | 2013-01-29 | 1 | -14/+19 |
| | | |||||
| * | Cosmetic changes | Wouter Bolsterlee | 2013-01-29 | 1 | -2/+2 |
| | | |||||
| * | Add 'timeout' parameter to Connection constructor | Wouter Bolsterlee | 2013-01-29 | 1 | -0/+6 |
| | | | | | Fixes issue #15. | ||||
| * | Add 'disable' parameter to Connection.delete_table() | Wouter Bolsterlee | 2012-09-12 | 1 | -2/+1 |
| | | |||||
| * | Add unit test for manually closed scanners | Wouter Bolsterlee | 2012-09-12 | 1 | -0/+7 |
| | | | | | | | The unit tests for Table.scan() now test manually closing a scanner using the generator function's .close() method. See issue #8 for more information about this. | ||||
| * | Support HAPPYBASE_TRANSPORT env var for the tests | Wouter Bolsterlee | 2012-07-12 | 1 | -1/+3 |
| | | |||||
| * | Add table_prefix_separator argument to Connection() | Wouter Bolsterlee | 2012-06-04 | 1 | -1/+7 |
| | | | | | Also cleanup error handling in the constructor. Closes issue #3. | ||||
| * | Hit all scanner code paths for 0.90 compatibility tests | Wouter Bolsterlee | 2012-05-24 | 1 | -0/+7 |
| | | |||||
| * | Use HAPPYBASE_COMPAT env var to run compatibility tests | Wouter Bolsterlee | 2012-05-24 | 1 | -7/+9 |
| | | | | | ...by lack of better way to do it. | ||||
| * | Implement partial scanner API for HBase 0.90 compat mode | Wouter Bolsterlee | 2012-05-24 | 1 | -1/+9 |
| | | |||||
| * | Initial steps for HBase/Thrift compatibility modes | Wouter Bolsterlee | 2012-05-23 | 1 | -0/+4 |
| | | |||||
| * | Avoid limited scannerOpenWithPrefix() Thrift API | Wouter Bolsterlee | 2012-05-23 | 1 | -6/+0 |
| | | | | | | | | Avoid the scannerOpenWithPrefix() Thrift function by implementing the prefix matching logic on the client side, and using scannerOpenWithScan afterwards. The result is that prefix scans now support both 'timestamp' and 'filter' parameters, whereas that raised NotImplementedError before. | ||||
| * | Implement a str_increment() utility function | Wouter Bolsterlee | 2012-05-23 | 1 | -6/+31 |
| | | |||||
| * | Add unit tests (requires nose) | Wouter Bolsterlee | 2012-05-20 | 3 | -0/+427 |
