Re: Implement ThreadIdGuessingAlgorithm for the distributed module

2021-07-22 Thread Quan tran hong
not have the right table structure > and > >>>> likely should rework the CREATE TABLE statement. > >>>>> => This new message should have this threadId. > >>>>> New unrelated message > >>>>> > >>>>> Assume that w

Re: Implement ThreadIdGuessingAlgorithm for the distributed module

2021-07-21 Thread [email protected]
t;>>> Assume that we do a query for a new unrelated message. >>>>> >>>>> SELECT threadId FROM threadtable WHERE username = 'quan' AND >> baseSubject >>>> = >>>>> 'unrelatedBaseSubject' AND mimeMessageId IN ('

Re: Implement ThreadIdGuessingAlgorithm for the distributed module

2021-07-21 Thread Quan tran hong
> >>> => This new message should have a new threadId. > >>> Insert new message data > >>> > >>> After having a threadId, we need to insert new message data into the > >> thread > >>> table. > >>> > >>&g

Re: Implement ThreadIdGuessingAlgorithm for the distributed module

2021-07-21 Thread [email protected]
geID2', 'baseSubject1'); >>> >>> insert into ThreadTable (messageId, threadId, username, mimeMessageId, >>> baseSubject) values (now(), 02294fe1-e941-11eb-a8ee-77de5498f1fa, 'quan', >>> 'MimeMessageID3', 'baseSubject1'); >

Re: Implement ThreadIdGuessingAlgorithm for the distributed module

2021-07-21 Thread Quan tran hong
> > table. > > > > insert into ThreadTable (messageId, threadId, username, mimeMessageId, > > baseSubject) values (now(), 02294fe1-e941-11eb-a8ee-77de5498f1fa, 'quan', > > 'MimeMessageID2', 'baseSubject1'); > > > > insert into ThreadTa

Re: Implement ThreadIdGuessingAlgorithm for the distributed module

2021-07-20 Thread [email protected]
delete the data in there? > > > Best Regards, > > Quan > > > > > > Vào Th 2, 19 thg 7, 2021 vào lúc 18:23 [email protected] < > [email protected]> đã viết: > >> Hello Quan, >> >> On 19/07/2021 17:59, Quan tran hong wrote: >

Re: Implement ThreadIdGuessingAlgorithm for the distributed module

2021-07-20 Thread Quan tran hong
8f1fa, 'quan', 'MimeMessageID3', 'baseSubject1'); Conclusion I think this data model complies with the needed request for the guessing algorithm problem, but it looks like still maybe there is room for improvement. Best Regards, Quan Vào Th 2, 19 thg 7, 2021 và

Re: Implement ThreadIdGuessingAlgorithm for the distributed module

2021-07-19 Thread [email protected]
Hello Quan, On 19/07/2021 17:59, Quan tran hong wrote: > Hi, > I am starting to implement ThreadIdGuessingAlgorithm for the distributed > module. Because this is a breaking change and I am new to Cassandra also, > therefore I want to have some discussion with you about how to do this

Implement ThreadIdGuessingAlgorithm for the distributed module

2021-07-19 Thread Quan tran hong
Hi, I am starting to implement ThreadIdGuessingAlgorithm for the distributed module. Because this is a breaking change and I am new to Cassandra also, therefore I want to have some discussion with you about how to do this. For the ones who did not catch up with this work, please have a look at