multiple RV parent material groups results in duplicate coiids via fetchNASIS_components #58
Labels
bug
NASIS-local
This tag is used for pull requests, issues, discussions etc. for soilDB local NASIS functions
Multiple parent material groups marked as RV results in a duplication of component records when joining to the pmgroup view. Currently, the many:one flattening assumes that the component's RV PM group is the lone value one would like to portray.
Need to add extra checks for anything that uses RV record to "flatten" a many:one relationship. I can't think of any legitimate case where multiple RVs are necessary (usually a data entry error), but regardless of their legitimacy, they will always result in a duplication on a join where the constraint is rvindicator==1.
See also: same problem only for component horizon texture group #32
Here are a few sample component IDs with this problem from MLRA22A:
The text was updated successfully, but these errors were encountered: