|
Ran
|
Jobs
6
|
Files
155
|
Run time
14min
|
Badge
README BADGES
|
push
travis-ci
[AIRFLOW-1150] Fix scripts execution in sparksql hook[] When using the the SparkSqlOperator and submitting a file (ending with `.sql` or `.hql`), a whitespace need to be appended, otherwise a Jinja error will be raised. However the trailing whitespace confused the hook as those files will not end with `.sql` and `.hql`, but with `.sql ` and `.hql `. This PR fixes this. In the test, I've added the `get_after` function to easily check if the path is really stripped or not by the `-f` option. Closes #2259 from gglanzani/master (cherry picked from commit f97bc5ed3) Signed-off-by: Bolke de Bruin <bolke@xs4all.nl>
7384 of 10811 relevant lines covered (68.3%)
4.07 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 6197.1 (TOX_ENV=py27-cdh-airflow_backend_mysql) | 0 |
67.97 |
Travis Job 6197.1 | |
| 2 | 6197.2 (TOX_ENV=py27-cdh-airflow_backend_sqlite) | 0 |
68.06 |
Travis Job 6197.2 | |
| 3 | 6197.3 (TOX_ENV=py27-cdh-airflow_backend_postgres) | 0 |
68.0 |
Travis Job 6197.3 | |
| 4 | 6197.4 (TOX_ENV=py34-cdh-airflow_backend_mysql) | 0 |
67.59 |
Travis Job 6197.4 | |
| 5 | 6197.5 (TOX_ENV=py34-cdh-airflow_backend_sqlite) | 0 |
67.7 |
Travis Job 6197.5 | |
| 6 | 6197.6 (TOX_ENV=py34-cdh-airflow_backend_postgres) | 0 |
67.62 |
Travis Job 6197.6 |