code: def test_eval_query_execution(setup):
      rs = np.random.RandomState(0)
      raw = pd.DataFrame(
          {"a": rs.rand(100), "b": rs.rand(100), "c c": rs.rand(100)}
      )
      df = from_pandas_df(raw, chunk_size=(10, 2))
  
      r = mars_eval('c = df.a * 2 + df["c c"]', target=df)
      pd.testing.assert_frame_equal(
          r.execute().fetch(),
          pd.eval(
              'c = raw.a * 2 + raw["c c"]', engine="python", target=raw
          ),
      )
  
      r = df.eval("a + b")
      pd.testing.assert_series_equal(
          r.execute().fetch(), raw.eval("a + b")
      )
  
      _val = 5.0  # noqa: F841
      _val_array = [1, 2, 3]  # noqa: F841
      expr = """
      e = -a + b + 1
      f = b + `c c` + @_val + @_val_array[-1]
      """
      r = df.eval(expr)
      pd.testing.assert_frame_equal(r.execute().fetch(), raw.eval(expr))
  
      copied_df = df.copy()
      copied_df.eval("c = a + b", inplace=True)
      pd.testing.assert_frame_equal(
          copied_df.execute().fetch(), raw.eval("c = a + b")
      )
  
      expr = "a > b | a < `c c`"
      r = df.query(expr)
      pd.testing.assert_frame_equal(
          r.execute(extra_config={"check_index_value": False}).fetch(),
          raw.query(expr),
      )
  
      expr = "a > b & ~(a < `c c`)"
      r = df.query(expr)
      pd.testing.assert_frame_equal(
          r.execute(extra_config={"check_index_value": False}).fetch(),
          raw.query(expr),
      )
  
      expr = "a < b < `c c`"
      r = df.query(expr)
      pd.testing.assert_frame_equal(
          r.execute(extra_config={"check_index_value": False}).fetch(),
          raw.query(expr),
      )
  
      expr = "a < 0.5 and a != 0.1 and b != 0.2"
      r = df.query(expr)
      pd.testing.assert_frame_equal(
          r.execute(extra_config={"check_index_value": False}).fetch(),
          raw.query(expr),
      )
  
      expr = "(a < 0.5 or a > 0.7) and (b != 0.1 or `c c` > 0.2)"
      r = df.query(expr)
      pd.testing.assert_frame_equal(
          r.execute(extra_config={"check_index_value": False}).fetch(),
          raw.query(expr),
      )
  
      copied_df = df.copy()
      copied_df.query("a < b", inplace=True)
      pd.testing.assert_frame_equal(
          copied_df.execute(
              extra_config={"check_index_value": False}
          ).fetch(),
          raw.query("a < b"),
      )
  
imports: import random
  from collections import OrderedDict
  import numpy
  import pandas
  import pytest
  import mars
  from ....config import options, option_context
  from ....dataframe import DataFrame, Series
  from ....tensor import arange, tensor
  from ....tensor.random import rand
  from ....tests.core import require_cudf
  from ....utils import lazy_import, pd_release_version, no_default
  from ...None import eval, cut, qcut, get_dummies
  from ...core import DATAFRAME_OR_SERIES_TYPE
  from ...datasource.dataframe import from_pandas
  from ...datasource.series import from_pandas
  from ...datasource.index import from_pandas
  from ..None import to_gpu, to_cpu
  from ..bloom_filter import filter_by_bloom_filter
  from ..shift import _enable_no_default, _with_column_freq_bug
  from ..to_numeric import to_numeric
  from ..rebalance import DataFrameRebalance
label_desc: Use image node_id 42 for calling a global function with example usage: test_eval_query_execution(setup) without return types