Skip to content

Questions about Cassandra table models #39

@jjchen

Description

@jjchen

( @krishnan-chandra It seems like you might be the best person to direct this to?)
I have a couple questions about the cassandra tables (in create_everything.cql):

The comment for tid in the results table says that it is the "time at which we record the result", and this seems consistent with what the code in addResult of CassandraBackend (line 340) is doing. However, when we first wrote out the model on the testreduce google doc, there's a comment that says "each git has has one tid associated (when first request for it is received)". So I thought that the tid was a way of connecting the result to a particular commit? Otherwise, is there a way to get a particular test result from the results table (like for a particular commit)? Am I missing something?

Also, what is the function of the delta in test_by_score? I couldn't find where it was used in the code? Does it need to be in the primary key before test? I wanted to be able to query for the score of a particular test from a particular commit, but I don't know what the delta would be.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions