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

airbnb / airflow / 6197
69%
master: 0%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 12 May 2017 10:11AM UTC
Jobs 6
Files 155
Run time 14min
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

pending completion
6197

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>

7384 of 10811 relevant lines covered (68.3%)

4.07 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6197.1 (TOX_ENV=py27-cdh-airflow_backend_mysql) 12 May 2017 10:14AM UTC 0
67.97
Travis Job 6197.1
2 6197.2 (TOX_ENV=py27-cdh-airflow_backend_sqlite) 12 May 2017 10:11AM UTC 0
68.06
Travis Job 6197.2
3 6197.3 (TOX_ENV=py27-cdh-airflow_backend_postgres) 12 May 2017 10:17AM UTC 0
68.0
Travis Job 6197.3
4 6197.4 (TOX_ENV=py34-cdh-airflow_backend_mysql) 12 May 2017 10:24AM UTC 0
67.59
Travis Job 6197.4
5 6197.5 (TOX_ENV=py34-cdh-airflow_backend_sqlite) 12 May 2017 10:18AM UTC 0
67.7
Travis Job 6197.5
6 6197.6 (TOX_ENV=py34-cdh-airflow_backend_postgres) 12 May 2017 10:25AM UTC 0
67.62
Travis Job 6197.6
Source Files on build 6197
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #6197
  • d5b0f2a3 on github
  • Prev Build on v1-8-test (#6101)
  • Next Build on v1-8-test (#6218)
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