class_docstr: These test cases exercise the interface to the proto plan
  generation but do not call Spark.
class_docstr_tok: ["These","test","cases","exercise","the","interface","to","the","proto","plan","generation","but","do","not","call","Spark","."]
code: def test_freqItems(self):
      df = self.connect.readTable(table_name=self.tbl_name)
      plan = (
          df.filter(df.col_name > 3)
          .freqItems(["col_a", "col_b"], 1)
          ._plan.to_proto(self.connect)
      )
      self.assertEqual(plan.root.freq_items.cols, ["col_a", "col_b"])
      self.assertEqual(plan.root.freq_items.support, 1)
      plan = (
          df.filter(df.col_name > 3)
          .freqItems(["col_a", "col_b"])
          ._plan.to_proto(self.connect)
      )
      self.assertEqual(plan.root.freq_items.cols, ["col_a", "col_b"])
      self.assertEqual(plan.root.freq_items.support, 0.01)
  
      plan = df.stat.freqItems(["col_a", "col_b"], 1)._plan.to_proto(
          self.connect
      )
      self.assertEqual(plan.root.freq_items.cols, ["col_a", "col_b"])
      self.assertEqual(plan.root.freq_items.support, 1)
      plan = df.stat.freqItems(["col_a", "col_b"])._plan.to_proto(
          self.connect
      )
      self.assertEqual(plan.root.freq_items.cols, ["col_a", "col_b"])
      self.assertEqual(plan.root.freq_items.support, 0.01)
  
imports: import unittest
  import uuid
  import datetime
  import decimal
  import math
  from pyspark.testing.connectutils import PlanOnlyTestFixture, should_test_connect, connect_requirement_message
  from pyspark.errors import PySparkValueError
label_desc: Use image node_id 18 for calling the SparkConnectPlanTests obj's underlying member method code with example usage: obj.test_freqItems() without return types