-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ready: Update TS objects and Commands for TS 1.4 #651
Conversation
@@ -80,13 +81,18 @@ private static ColumnDescription convertPBColumnDescription(RiakTsPB.TsColumnDes | |||
private static FullColumnDescription convertDescribeResultRowToFullColumnDescription(Row row) | |||
{ | |||
/* | |||
* Expected Format for the DESCRIBE function is 5 columns: | |||
* Expected Format for the DESCRIBE function is 5 or 7 columns depending on the version. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO it worth to mention Riak TS version that support each format
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this eventually going to be 8 cols in 1.4?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The ASC/DESC features got moved to 1.5.
2.1+", was meant for a new branch. This reverts commit d02264d.
@@ -338,7 +337,7 @@ public void test_p_TestDescribeTable() throws InterruptedException, ExecutionExc | |||
|
|||
final QueryResult tableDescription = resultFuture.get(); | |||
assertEquals(7, tableDescription.getRowsCount()); | |||
assertEquals(5, tableDescription.getColumnDescriptionsCopy().size()); | |||
assertEquals(7, tableDescription.getColumnDescriptionsCopy().size()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Throws failure on TS 1.3.1, actual = 5.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@christophermancini Ok, try the new commit.
👍 |
Still getting errors against 1.3.1 with the latest commit.
|
Tests against Riak KV 2.1.4 pass. |
Hmm, tests locally against TS 1.3.1 & TS 1.4 work. |
The Siblings issue could be caused by a slow Riak too, we use ListKeys + MultiDelete to clean up, so if something isn't listed in time for deletion you could get siblings when the next test run's data is written. |
Going to merge for now. |
@christophermancini Almost forgot, but I was getting some failures on 1.3.1, when I ran a single node - the coverage api tests won't work with that test configuration.
|
Add Local Key ASC/DESC ordering to the DescribeTable command's results.Moved to 1.5