Query reader
Module to define behaviour to read from a query.
QueryReader
¶
Bases: Reader
Class to read data from a query.
Source code in mkdocs/lakehouse_engine/packages/io/readers/query_reader.py
__init__(input_spec)
¶
Construct QueryReader instances.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input_spec
|
InputSpec
|
input specification. |
required |
read()
¶
Read data from a query.
Returns:
| Type | Description |
|---|---|
DataFrame
|
A dataframe containing the data from the query. |