class_docstr: TextSet wraps a set of texts with status.
class_docstr_tok: ["TextSet","wraps","a","set","of","texts","with","status","."]
docstr: Read texts with id from parquet file.
  Schema should be the following:
  "id"(string) and "text"(string).
  
  :param path: The path to the parquet file.
  :param sc: An instance of SparkContext.
  
  :return: DistributedTextSet.
docstr_tok: ["Read","texts","with","id","from","parquet","file",".","Schema","should","be","the","following",":","''","id","''","(","string",")","and","``","text","''","(","string",")",".",":","param","path",":","The","path","to","the","parquet","file",".",":","param","sc",":","An","instance","of","SparkContext",".",":","return",":","DistributedTextSet","."]
code: def read_parquet(cls, path, sc, bigdl_type="float"):
      """
      Read texts with id from parquet file.
      Schema should be the following:
      "id"(string) and "text"(string).
  
      :param path: The path to the parquet file.
      :param sc: An instance of SparkContext.
  
      :return: DistributedTextSet.
      """
      jvalue = callZooFunc(bigdl_type, "textSetReadParquet", path, sc)
      return DistributedTextSet(jvalue=jvalue)
  
imports: import six
  from bigdl.util.common import JavaValue
  from zoo.common.utils import callZooFunc
  from pyspark import RDD
label_desc: Use image node_id 25 for calling the TextSet obj's underlying member method code with example usage: obj.read_parquet(cls, path, sc, bigdl_type) and returns: DistributedTextSet