• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

airbnb / airflow / 6197 / 1
69%
master: 0%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 12 May 2017 10:14AM UTC
Files 155
Run time 8s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

12 May 2017 10:11AM UTC coverage: 67.968% (-0.05%) from 68.016%
TOX_ENV=py27-cdh-airflow_backend_mysql

push

travis-ci

Bolke de Bruin
[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

Source Files on job 6197.1 (TOX_ENV=py27-cdh-airflow_backend_mysql)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 6197
  • Travis Job 6197.1
  • d5b0f2a3 on github
  • Prev Job for TOX_ENV=py27-cdh-airflow_backend_mysql on v1-8-test (#6101.1)
  • Next Job for TOX_ENV=py27-cdh-airflow_backend_mysql on v1-8-test (#6218.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc