[GitHub] cassandra issue #90: Update SASI.md
Github user mshuler commented on the issue: https://github.com/apache/cassandra/pull/90 Thanks @joaquincasares :) --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] cassandra pull request #90: Update SASI.md
Github user asfgit closed the pull request at: https://github.com/apache/cassandra/pull/90 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] cassandra pull request #90: Update SASI.md
GitHub user joaquincasares opened a pull request: https://github.com/apache/cassandra/pull/90 Update SASI.md Minor grammatical fixes to improve readability. You can merge this pull request into a Git repository by running: $ git pull https://github.com/joaquincasares/cassandra patch-1 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cassandra/pull/90.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #90 commit df33c3a426b8443a41af94463052e98a8f1a6589 Author: Joaquin CasaresDate: 2016-12-23T02:02:43Z Update SASI.md Minor grammatical fixes to improve readability. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
Re: How do data model a recursive message in Cassandra
Hi, it's better to send such questions to user list, not dev. Best regards, Vladimir Yudovin, Winguzone - Cloud Cassandra Hosting On Wed, 21 Dec 2016 17:25:07 -0500 shyla deshpande deshpandesh...@gmail.com wrote Hi All, The protobuf message 'sessionproto' that I receive has a field that is recursive. How do I define a data model in Cassandra to store this data. itemrelationproto references itemgroupproto and itemgroupproto references itemrelationproto . Thanks. message itemrelationproto { optional string id = 1; optional itemgroupproto itemgroup = 2; } message itemgroupproto { optional string id = 1; optional string displayname = 2; repeated itemrelationproto itemrelations = 3; } message sessionproto { optional string sessionid = 1; optional string displayname = 3; repeated itemrelationproto itemrelations = 4; } create type itemrelationproto ( id text, itemgroup frozenitemgroupproto ); create type itemgroupproto ( id text, displayname text, itemrelations setfrozenitemrelationproto ); create table sessionproto ( sessionid text, displayname text, itemrelations setfrozenitemrelationproto, primary key (sessionid) );