Convenience constructor that builds the MaxCompute API wrapper from given parameters.
from_params(
cls,
query: str,
endpoint: str,
project: str,
*,
access_id: Optional[str] = None,
secret_access_key: Optional[str] = None,
**kwargs: Any = {}
) -> MaxComputeLoader| Name | Type | Description |
|---|---|---|
query* | str | SQL query to execute. |
endpoint* | str | MaxCompute endpoint. |
project* | str | A project is a basic organizational unit of MaxCompute, which is similar to a database. |
access_id | Optional[str] | Default: NoneMaxCompute access ID. Should be passed in directly or set as the
environment variable |
secret_access_key | Optional[str] | Default: NoneMaxCompute secret access key. Should be passed in
directly or set as the environment variable
|