-
Notifications
You must be signed in to change notification settings - Fork 88
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
cassandra-stress doesn't support UDT in user-profile mode #332
Comments
Is that the right repo to report this? |
Yes. At least it looks so, according to previously existing similar issues. |
I don't see who's going to develop it. I reckon upstream don't have it either. |
Yaron, can you share the whole user profile file ? |
I would recommend testing the upstream cassandra-stress from 4.1, if it's kind of working there, backporting might be easy. Getting familiar with tlp-stress might also be a good path to start building the exact cases we need. |
1 similar comment
I would recommend testing the upstream cassandra-stress from 4.1, if it's kind of working there, backporting might be easy. Getting familiar with tlp-stress might also be a good path to start building the exact cases we need. |
@fruch , i couldn't find any updates for this limitation in cassandra repo. I noticed a quite similar issue, opened for years by @dkropachev - https://issues.apache.org/jira/browse/CASSANDRA-15598 |
I think that the fix from @dkropachev was not merged in the upstream but was merged for scylla (or at least that was the plan). |
https://issues.apache.org/jira/browse/CASSANDRA-15598 isn't abot UDT, it's about nested sets. |
@yarongilor if (unsupportedColumns.size() > 0) {
for (ColumnInfo column : unsupportedColumns) {
System.err.printf("WARNING: Table '%s' has column '%s' of unsupported type\n",
tableName, column.name);
}
} the actual problem is in default:
throw new UnsupportedOperationException("Because of this name: "+name+" if you removed it from the yaml and are still seeing this, make sure to drop table"); |
@roydahan , you are correct, i have 3 PRs to their repo, none of them endup even looked at. @yarongilor , the error message that you see is result of having that patch, otherwise you would see it failing by panic. Unfortunately fixing this issue properly would cause major changes to be made, which would make our version diverge too far from the upstream. I am going to check whether this issue is sorted out on the upstream at ======= Update This issue persist on the upstream at |
@dkropachev assuming we are ok with the diverge between the two, how hard would it be to support the nested structures? |
@roydahan , roughly 3 days of work |
@dkropachev do you think you'll be able to fit this task sometime soon? |
@roydahan , I am sorry, next two weeks I am booked beyond capacity, I have it in mind and will find time for it after I finish what I currently have on me. Sorry for delaying it. |
Thanks @dkropachev, it may become high priority for us at the moment, I'll check our options around that. |
After some additional private discussion, for now skipping UDT columns will be the workaround and we agree that adding this new feature cannot be achieved by a quick fix. Nevertheless, @muzarski is going to experiment with it for a bit. |
Creating a UDT and using it in a table schema is not supported by cassandra-stress user-profile mode.
This ability is required for testing specific user-profiles, similar to what is used by customers.
A Dtest for that failed like:
Using a user-profile table schema of:
The following code:
Failed with:
It got a similar failure testing in SCT:
The text was updated successfully, but these errors were encountered: