def METHOD_NAME(self):
    """Should create a child span for execute with cursor context"""
    stmt = "CREATE TABLE IF NOT EXISTS test (id INT)"
    with self._tracer.start_as_current_span("rootSpan"):
        with self._connection.cursor() as cursor:
            cursor.execute(stmt)
    self.validate_spans("CREATE")
    self.assertTrue(cursor.closed)