code: def test_read_parquet(self):
      file_path = os.path.join(self.resource_path, "orca/data/csv")
      sc = init_nncontext()
      from pyspark.sql.functions import col
  
      spark = OrcaContext.get_spark_session()
      df = spark.read.csv(file_path, header=True)
      df = df.withColumn("sale_price", col("sale_price").cast("int"))
      temp = tempfile.mkdtemp()
      df.write.parquet(os.path.join(temp, "test_parquet"))
      data_shard2 = zoo.orca.data.pandas.read_parquet(
          os.path.join(temp, "test_parquet")
      )
      assert (
          data_shard2.num_partitions() == 2
      ), "number of shard should be 2"
      data = data_shard2.collect()
      df = data[0]
      assert "location" in df.columns
  
      data_shard2 = zoo.orca.data.pandas.read_parquet(
          os.path.join(temp, "test_parquet"),
          columns=["ID", "sale_price"],
      )
      data = data_shard2.collect()
      df = data[0]
      assert len(df.columns) == 2
  
      from pyspark.sql.types import (
          StructType,
          StructField,
          IntegerType,
          StringType,
      )
  
      schema = StructType(
          [
              StructField("ID", StringType(), True),
              StructField("sale_price", IntegerType(), True),
              StructField("location", StringType(), True),
          ]
      )
      data_shard3 = zoo.orca.data.pandas.read_parquet(
          os.path.join(temp, "test_parquet"),
          columns=["ID", "sale_price"],
          schema=schema,
      )
      data = data_shard3.collect()
      df = data[0]
      assert str(df["sale_price"].dtype) == "int64"
  
      shutil.rmtree(temp)
  
imports: import tempfile
  import os.path
  import pytest
  from unittest import TestCase
  import shutil
  import zoo.orca.data
  import zoo.orca.data.pandas
  from zoo.orca import OrcaContext
  from zoo.common.nncontext import *
  from zoo.orca.data.image import write_tfrecord, read_tfrecord
label_desc: Use image node_id 10 for calling the TestSparkBackend obj's underlying member method code with example usage: obj.test_read_parquet() without return types