DataFrameReader.Load Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Load() |
Loads input in as a DataFrame, for data sources that don't require a path (e.g. external key-value stores). |
Load(String) |
Loads input in as a DataFrame, for data sources that require a path (e.g. data backed by a local or distributed file system). |
Load(String[]) |
Loads input in as a DataFrame from the given paths. |
Load()
Loads input in as a DataFrame, for data sources that don't require a path (e.g. external key-value stores).
public Microsoft.Spark.Sql.DataFrame Load ();
member this.Load : unit -> Microsoft.Spark.Sql.DataFrame
Public Function Load () As DataFrame
Returns
DataFrame object
Applies to
Load(String)
Loads input in as a DataFrame, for data sources that require a path (e.g. data backed by a local or distributed file system).
public Microsoft.Spark.Sql.DataFrame Load (string path);
member this.Load : string -> Microsoft.Spark.Sql.DataFrame
Public Function Load (path As String) As DataFrame
Parameters
- path
- String
Input path
Returns
DataFrame object
Applies to
Load(String[])
Loads input in as a DataFrame from the given paths.
public Microsoft.Spark.Sql.DataFrame Load (params string[] paths);
member this.Load : string[] -> Microsoft.Spark.Sql.DataFrame
Public Function Load (ParamArray paths As String()) As DataFrame
Parameters
- paths
- String[]
Input paths
Returns
DataFrame object
Remarks
Paths can be empty if data sources don't require a path (e.g. external key-value stores).