-
Notifications
You must be signed in to change notification settings - Fork 1
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
Merging two Nblast results tables #466
Comments
@Robbie1977 do we want to tackle this from the xmi or from the datasource bundle? |
@dosumis @ddelpiano I think to take the last query results values as the overriding values will give us a workable solution for the moment!? |
Disagree - really confusing. Doing this in a non-confusing way is challenging. As stated in #464 (comment), I think we just block for now: Any two results tables where both have a score column => user message about this combination not being supported. One of those two results table could already be compound. |
@dosumis @ddelpiano As a workable solution I think the first query determines the results content and additional queries only remove non-matches but don't change the data displayed (in remaining rows)? |
@Robbie1977 that is pretty much what @jrmartin implemented with the last PR he opened today (first query drives the results, if the same column is found in the second query results that have to be merged we skip the columns already present and add to the record with the same id only the columns that it is missing), if that suitable we are good with that (sounds good to me), differently if @dosumis considers this still not enough to preserve the validity of the data we need to think about this a bit and allocate some development. |
@jrmartin PR is fine for everything except the 2 NBLAST case - which I think is just hard. It will not be clear to users which NBLAST the score refers to. Merged results could have a low similarity score in second NBLAST query. Is it really hard to just block compound queries when both results tables to combine have a score column? |
@dosumis it will require some development for sure, we cannot hardcode the header field in the datasource bundle since if this bundle is used in other applications and it's not feasible. Pseudo code below, not real code and not real geppetto classes, just an example:
|
Merging two NBLAST results doesn't fit the current paradigm of results table merging.
MVP: Block combination of any two results where both have a score column => user message about this not being supported.
Sketch of spec for supporting in future:
The text was updated successfully, but these errors were encountered: