Exemple #1
0
 /// <summary>
 /// Specifies the input schema. Some data sources (e.g. JSON) can infer the input schema
 /// automatically from data. By specifying the schema here, the underlying data source can
 /// skip the schema inference step, and thus speed up data loading.
 /// </summary>
 public DataFrameReader Schema(StructType schema)
 {
     dataFrameReaderProxy.Schema(schema);
     return(this);
 }