tessl install tessl/pypi-apache-airflow-backport-providers-apache-sqoop@2021.3.0Apache Airflow backport provider package for Apache Sqoop integration, providing SqoopHook and SqoopOperator for data import/export between relational databases and Hadoop
Agent Success
Agent success rate when using this tile
92%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.39x
Baseline
Agent success rate without this tile
66%
Create a helper that runs a relational-to-HDFS import focused on mapper parallelism, split tuning, and per-run JVM/system properties. The helper should keep configuration minimal while surfacing the tuning controls.
-Dkey=value for the import run; the command preview lists each injected property. @test@generates
from typing import Any, Dict, Optional, TypedDict
class ImportRequest(TypedDict):
conn_id: str
table: str
target_dir: str
num_mappers: Optional[int]
split_by: Optional[str]
properties: Optional[Dict[str, str]]
class ImportResult(TypedDict):
target_dir: str
command_preview: str
def run_tuned_import(request: ImportRequest) -> ImportResult:
"""Runs an import using the Sqoop provider with mapper tuning and JVM property injection."""Provides Sqoop import functionality with mapper tuning and JVM property flags.