CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-apache-airflow-backport-providers-apache-sqoop

Apache Airflow backport provider package for Apache Sqoop integration, providing SqoopHook and SqoopOperator for data import/export between relational databases and Hadoop

Overall
score

92%

Overview
Eval results
Files

rubric.jsonevals/scenario-10/

{
  "context": "Evaluates whether the solution uses Apache Airflow's SqoopHook to assemble Sqoop CLI commands from connection metadata, mask credentials before logging, and fail fast on subprocess errors.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Hook setup",
      "description": "Initializes `SqoopHook` with the provided `conn_id` and reads host, port, schema, login, and password from the Airflow connection instead of hardcoding values.",
      "max_score": 20
    },
    {
      "name": "Extra options",
      "description": "Pulls optional Sqoop parameters from `conn.extra_dejson` (such as `job_tracker`, `namenode`, `libjars`, `files`, `archives`, or `password_file`) and folds them into the CLI arguments rather than ignoring connection extras.",
      "max_score": 15
    },
    {
      "name": "Password masking",
      "description": "Uses `SqoopHook.cmd_mask_password` (or its returned value) to generate the masked command string for any logging or return value so that the real password never appears.",
      "max_score": 20
    },
    {
      "name": "Fail-fast execution",
      "description": "Executes the Sqoop CLI through `SqoopHook.popen` and raises `AirflowException` (including stderr output) on any non-zero exit status instead of swallowing errors or using generic subprocess helpers.",
      "max_score": 30
    },
    {
      "name": "Masked logging",
      "description": "Logs or exposes only the `cmd_mask_password`-processed command string when reporting executions, never the raw argument list with plaintext credentials.",
      "max_score": 15
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-apache-airflow-backport-providers-apache-sqoop

tile.json