Closed arsenalgunnershubert777 closed 7 months ago
Hi @Sat30 thanks for the response, can you clarify what you mean by those bullet points? yes the row level result should be dependent on sqlCondition only, but when changing the assertionFunction the result gets affected when it shouldn't be
@arsenalgunnershubert777
Thank you so much for reporting this issue. It has been fixed as part of PR #553 We will be releasing this to Maven as part of our next release cycle.
Describe the bug When using satisfies check, the columnar row based output seems unexpected based on the assertion being passed in. This specifically occurs when assertion has bound where upper bound < 1.
To Reproduce Steps to reproduce the behavior:
Code:
Output row based dataframe:
Code:
Output row based dataframe (this is correct behavior):
Expected behavior The row based output should show rows that passed and rows that failed based on the columnCondition and shouldn’t be impacted by the assertion. The row based output shouldn’t show every row as false when there are certain rows that passed the columnCondition. The correct example is the one shown directly above.
Screenshots N/A
Additional context This row output issue may be due to this line from Verification result constraintResultToColumn. I'm not sure if that line is needed for some other functionality. Also, the overall verification result check status (Success or Error) seems to be working correctly. Thanks for the help!