|
Ran
|
Files
155
|
Run time
8s
|
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>
7348 of 10811 relevant lines covered (67.97%)
0.68 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|