destinations.dataset.ibis_relation
ReadableIbisRelation Objects
class ReadableIbisRelation(BaseReadableDBAPIRelation)
__init__
def __init__(*,
readable_dataset: ReadableDBAPIDataset,
ibis_object: Any = None,
columns_schema: TTableSchemaColumns = None) -> None
Create a lazy evaluated relation to for the dataset of a destination
query
@property
def query() -> Any
build the query
compute_columns_schema
def compute_columns_schema() -> TTableSchemaColumns
provide schema columns for the cursor, may be filtered by selected columns
__getattr__
def __getattr__(name: str) -> Any
Wrap all callable attributes of the expression
limit
def limit(limit: int, **kwargs: Any) -> "ReadableIbisRelation"
limit the result to 'limit' items
head
def head(limit: int = 5) -> "ReadableIbisRelation"
limit the result to 5 items by default
select
def select(*columns: str) -> "ReadableIbisRelation"
set which columns will be selected