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_repartition_by_range(self):
      # SPARK-41354: test dataframe.repartitionByRange(expressions)
      df = self.connect.readTable(table_name=self.tbl_name)
      plan = df.repartitionByRange(10, "col_a", "col_b")._plan.to_proto(
          self.connect
      )
      self.assertEqual(
          10, plan.root.repartition_by_expression.num_partitions
      )
      self.assertEqual(
          [
              f.sort_order.child.unresolved_attribute.unparsed_identifier
              for f in plan.root.repartition_by_expression.partition_exprs
          ],
          ["col_a", "col_b"],
      )
  
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 35 for calling the SparkConnectPlanTests obj's underlying member method code with example usage: obj.test_repartition_by_range() without return types