# Dremio Tasks
This module contains a collection of tasks for interacting with Dremio Query Engine via the pyarrow library.
# DremioFetch
class
prefect.tasks.dremio.dremio.DremioFetch
(username=None, password=None, hostname=None, flightport=32010, tls=False, certs=None, query=None, **kwargs)[source]Task for fetching results of a query using Dremio Query Engine.
Args:
username (str): user name used to authenticatepassword (str): password used to authenticatehostname (str): Dremio host addressflightport (int, optional): port used to connect to FlightClient, defaults to 32010 if not providedtls (bool): connect to the server endpoint with an encrypted TLS connectioncerts (str): path to a certificatequery (str, optional): query to execute against Dremio**kwargs (Any, optional): additional keyword arguments to pass to the Task constructor
| methods: |
|---|
prefect.tasks.dremio.dremio.DremioFetch.run (username, password, hostname, flightport, tls, certs, query)[source] |
Task run method. Executes a query against Dremio and fetches results.
|
This documentation was auto-generated from commit bd9182e
on July 31, 2024 at 18:02 UTC