mirror of
				https://github.com/open-metadata/OpenMetadata.git
				synced 2025-10-31 10:39:30 +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 |   @Transaction | ||||||
|   public TestCase addInspectionQuery(UriInfo uri, UUID testCaseId, String sql) { |   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 = |     TestCase updated = | ||||||
|         JsonUtils.readValue(JsonUtils.pojoToJson(original), TestCase.class) |         JsonUtils.readValue(JsonUtils.pojoToJson(original), TestCase.class) | ||||||
|             .withInspectionQuery(sql); |             .withInspectionQuery(sql); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Teddy
						Teddy