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

UrbanCCD-UChicago / plenario2 / 930
76%
master: 76%

Build:
Build:
LAST BUILD BRANCH: vue-cleanup
DEFAULT BRANCH: master
Ran 02 Jul 2018 04:02PM UTC
Jobs 1
Files 121
Run time 7s
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
930

push

travis-ci

vforgione
Ingest Bug Fix

We were having an issue consuming a few data sets. After some
investigation, I discovered that it was due to quotes being used in
header rows:

```
One,Two,"Three, or three",Four
```

This would then be translated into the Copy SQL as:

```
COPY ... ("One", "Two", ""Three, or three"", "Four") ...
```

which obviously isn't going to work.

The solution is to _regex_ split the header line rather than the naive
_string_ split. But you may ask, "Why do splits at all? Can't we just
use the CSV module and pull the keys from the first map row?". The
unfortunate answer to this is that the CSV module does not preserve
order -- if you have a header row `a,c,b` then you will get a map with
keys ordered as `a,b,c`. To preserve the order of the headers, you need
to split the line.

Fixes #344

1368 of 1803 relevant lines covered (75.87%)

65.85 hits per line

Jobs
ID Job ID Ran Files Coverage
1 930.1 (MIX_ENV=test) 02 Jul 2018 04:02PM UTC 0
75.87
Travis Job 930.1
Source Files on build 930
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #930
  • ab319877 on github
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