mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-31 12:39:01 +00:00
fix: fields in inspection query (#17224)
This commit is contained in:
parent
7d519e180e
commit
fd2b4ec4ac
@ -798,7 +798,7 @@ public class TestCaseRepository extends EntityRepository<TestCase> {
|
||||
|
||||
@Transaction
|
||||
public TestCase addInspectionQuery(UriInfo uri, UUID testCaseId, String sql) {
|
||||
TestCase original = get(uri, testCaseId, getFields(PATCH_FIELDS));
|
||||
TestCase original = get(uri, testCaseId, getFields("*"));
|
||||
TestCase updated =
|
||||
JsonUtils.readValue(JsonUtils.pojoToJson(original), TestCase.class)
|
||||
.withInspectionQuery(sql);
|
||||
|
Loading…
x
Reference in New Issue
Block a user