code: def test_update_where_column_dne(dataframe, spark_dataframe):
      """Test update_where. Target column name does not exists."""
      assert_frame_equal(
          spark_dataframe.update_where(
              conditions="""
              `decorated-elephant` = 1 AND `animals@#$%^` = 'rabbit'
              """,
              target_column_name="c",
              target_val=10,
          ).toPandas(),
          dataframe.update_where(
              (dataframe["decorated-elephant"] == 1)
              & (dataframe["animals@#$%^"] == "rabbit"),
              "c",
              10,
          ),
      )
  
file_path: pyjanitor/tests/spark/functions/test_update_where_spark.py
imports: import pytest
  from helpers import running_on_ci
  from pandas.testing import assert_frame_equal
  import janitor.spark
label_desc: Use image node_id 4 for calling a global function with example usage: test_update_where_column_dne(dataframe, spark_dataframe) without return types