def test_partial_update_should_reject_invalid_map_values(self):
        """Test rejection of invalid value types in numeric maps
        
        This test verifies that partial updates reject invalid value types in numeric maps.
        """
        test_docs = [self.doc, self.doc2, self.doc3]

        for doc in test_docs:
            with self.subTest(f"Attempting to update invalid map values for document with ID {doc['_id']}"):
                id = doc['_id']
                res = self.config.document.partial_update_documents([{
                    '_id': id,
                    'int_map': {
                        'a': 'string',  # Invalid type
                        'b': 2.5,  # Invalid type
                        'c': True  # Invalid type
                    }
                }], self.index)
                self.assertTrue(res.errors)
                self.assertIn(f"Unsupported field type <class 'str'> for field int_map in doc {id}", res.items[0].error)
                self.assertEqual(400, res.items[0].status)

                # Verify original values unchanged
                get_docs = tensor_search.get_document_by_id(self.config, self.index.name, id)
                if doc.get('int_map.a',
                           None):  # Only assert that the original values are unchanged if they exist in the original document
                    self.assertEqual(1, get_docs['int_map.a'])
                if get_docs.get('int_map.b',
                                None):  # Only assert that the original values are unchanged if they exist in the original document
                    self.assertEqual(2, get_docs['int_map.b'])
                self._assert_fields_unchanged(get_docs, ['int_map.a', 'int_map.b'])
Test rejection of invalid value types in numeric maps
        
        This test verifies that partial updates reject invalid value types in numeric maps.
        
tests/integ_tests/core/document/test_partial_update_semi_structured.py