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

apache / arrow / 14275
4%

Build:
DEFAULT BRANCH: master
Ran 24 Feb 2021 05:59PM UTC
Jobs 1
Files 48
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

pending completion
14275

push

travis-ci

kszucs
ARROW-4395: [JS] Fix ts-node error running bin/arrow2csv

`ts-node` type-checking is inaccurate, because it only checks files that are touched by node's `require()` calls, leading to errors like this:
```sh
$ cat test/data/cpp/stream/simple.arrow | ./bin/arrow2csv.js

/home/ptaylor/dev/arrow/js/node_modules/ts-node/src/index.ts:228
    return new TSError(diagnosticText, diagnosticCodes)
           ^
TSError: ⨯ Unable to compile TypeScript:
src/vector/map.ts(25,57): error TS2345: Argument of type 'Field<T[string | number | symbol]>[]' is not assignable to parameter of type 'Field<T[keyof T]>[]'.
  Type 'Field<T[string | number | symbol]>' is not assignable to type 'Field<T[keyof T]>'.
    Type 'T[string] | T[number] | T[symbol]' is not assignable to type 'T[keyof T]'.
      Type 'T[symbol]' is not assignable to type 'T[keyof T]'.
        Type 'DataType<Type, any>' is not assignable to type 'T[keyof T]'.
          Type 'symbol' is not assignable to type 'keyof T'.
            Type 'symbol' is not assignable to type 'string | number'.
```

The solution is to update ts-node and run it in transpile-only mode.

Closes https://issues.apache.org/jira/browse/ARROW-4395

Author: ptaylor <paul.e.taylor@me.com>
Author: Paul Taylor <paul.e.taylor@me.com>

Closes #3504 from trxcllnt/js/fix-tsnode-typecheck and squashes the following commits:

066327f0 <Paul Taylor> Merge branch 'master' into js/fix-tsnode-typecheck
89b2a7cc <ptaylor> fix ts-node error running bin/arrow2csv

173 of 4648 relevant lines covered (3.72%)

0.04 hits per line

Jobs
ID Job ID Ran Files Coverage
4 14275.4 (ARROW_TRAVIS_USE_TOOLCHAIN=1 ARROW_TRAVIS_PLASMA=1 ARROW_TRAVIS_ORC=1 ARROW_TRAVIS_PARQUET=1 ARROW_TRAVIS_GANDIVA=1 ARROW_TRAVIS_GANDIVA_JAVA=1 ARROW_BUILD_WARNING_LEVEL=CHECKIN) 24 Feb 2021 05:59PM UTC 0
3.72
Travis Job 14275.4
Source Files on build 14275
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #14275
  • eedda2fb on github
  • Prev Build on master (#14247)
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