Skip to content

ops.read

LakeOps provides methods for user management including creation, read and write dataset from/to a datalake through a storage path or schema/table name.

read(path, format='delta', options=None)

Read a table from a storage path or schema/table name.

Parameters:

Name Type Description Default
path str

Storage path or schema/table name or Google Sheet ID to read from

required
format str

Table format (default: 'delta')

'delta'
options Optional[Dict[str, Any]]

Additional options to pass to the underlying engine

None

Returns:

Type Description
Any

pyspark.sql.DataFrame: If using SparkEngine

Any

polars.DataFrame: If using PolarsEngine (default)