Series.new should handle typed array and buffer inputs

This issue has been created since 2021-07-02.
Typed Array input
> {Series} = require("@rapidsai/cudf")

> Series.new(new Int32Array([1, 2, 3]))
Uncaught Error: Unrecognized type 'NONE'
    at inferDType (/opt/node-rapids/node_modules/apache-arrow/visitor.js:276:11)
    at getVisitFn (/opt/node-rapids/node_modules/apache-arrow/visitor.js:63:17)
    at ArrowToCUDFTypeVisitor.getVisitFn (/opt/node-rapids/node_modules/apache-arrow/visitor.js:32:16)
    at ArrowToCUDFTypeVisitor.getVisitFn (/opt/node-rapids/modules/cudf/build/js/types/mappings.js:44:30)
    at ArrowToCUDFTypeVisitor.visit (/opt/node-rapids/node_modules/apache-arrow/visitor.js:29:21)
    at Object.arrowToCUDFType (/opt/node-rapids/modules/cudf/build/js/types/mappings.js:97:24)
    at asColumn (/opt/node-rapids/modules/cudf/build/js/series.js:803:33)
    at Function.new (/opt/node-rapids/modules/cudf/build/js/series.js:33:31)
Buffer input
> {Series} = require("@rapidsai/cudf")
> {Int32Buffer} = require("@nvidia/cuda")

> Series.new(new Int32Buffer([1, 2, 3]))
Uncaught Error: Unrecognized type 'NONE'
    at inferDType (/opt/node-rapids/node_modules/apache-arrow/visitor.js:276:11)
    at getVisitFn (/opt/node-rapids/node_modules/apache-arrow/visitor.js:63:17)
    at ArrowToCUDFTypeVisitor.getVisitFn (/opt/node-rapids/node_modules/apache-arrow/visitor.js:32:16)
    at ArrowToCUDFTypeVisitor.getVisitFn (/opt/node-rapids/modules/cudf/build/js/types/mappings.js:44:30)
    at ArrowToCUDFTypeVisitor.visit (/opt/node-rapids/node_modules/apache-arrow/visitor.js:29:21)
    at Object.arrowToCUDFType (/opt/node-rapids/modules/cudf/build/js/types/mappings.js:97:24)
    at asColumn (/opt/node-rapids/modules/cudf/build/js/series.js:803:33)
    at Function.new (/opt/node-rapids/modules/cudf/build/js/series.js:33:31)

Both of these cases should return Int32Series (and similarly for other array/buffer input types).

More Details About Repo
Owner Name rapidsai
Repo Name node
Full Name rapidsai/node
Language TypeScript
Created Date 2020-06-01
Updated Date 2022-08-11
Star Count 98
Watcher Count 7
Fork Count 17
Issue Count 20

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
Potential memory leack in pythonQTPrivate object 0 2022-03-14 2022-07-21
snowflake-kaka-connector not able to decrypt private key 1 2021-10-05 2022-08-01
Semantic versioning for resource dependencies 0 2022-04-14 2022-04-28
Rate limit console requests 0 2022-04-19 2022-04-28
Add MSRV to the cargo manifest(s) 0 2022-04-20 2022-04-28
Add Client::from_env to construct a `Client` from a console env fd 0 2022-04-20 2022-07-12
Termination with uncaught exception of type c10 2 2022-04-12 2022-07-19
Run tests in network namespace 0 2022-04-22 2022-04-28
17 June 2021 - Cloud Service Certification Project Meeting - End of Sprint 2 / Start Sprint 3 10 2021-06-11 2022-05-23
logocenter_name and self_contained doc 0 2021-04-30 2022-07-24
Reduce size of vignettes 1 2021-08-20 2022-07-08
error of summary.compare_category() 1 2022-03-03 2022-06-30
issue of diagnose_paged_report() 1 2021-08-17 2022-06-30
Encoding issue for opengraph title of a shop 0 2021-10-25 2021-10-28
Azure CIS 1.3.0 - Enable Activity Log Alerts 2 2021-10-26 2022-07-28
Support OpenBSD 3 2019-04-10 2021-12-23
Raspberry Pi PoE+ hat fan not working 6 2021-10-01 2022-07-17
Django Debug Toolbar 3 2022-05-05 2022-08-12
Symbol not found: _libpostal_address_parser_response_destroy on macos M1 2 2021-04-05 2022-07-21
Log colors 1 2021-11-09 2022-01-15
我搞了一个类似的请求库 0 2021-06-20 2022-01-11
Unable to ping VPS server but mptcp works (but unstable and slower) 0 2022-07-22 2022-08-04
Adding latency to WAN interface 6 2022-07-22 2022-08-04
Float and integer equality 2 2022-01-10 2022-02-08
[BR]: fail2ban not picking up changes to jail.local file 2 2021-10-07 2022-08-10
Image size render too big from 768 - 1024 dimension 6 2021-09-03 2022-08-01
Suddenly background geolocation stopped working 8 2021-05-25 2022-08-06
Problem with ES6 import n MS Edge 1 2022-02-08 2022-08-02
Pako and CVE-2018-25032 vulnerability 2 2022-04-01 2022-08-02
"invalid distance too far back" with 2.0? 5 2022-03-09 2022-08-02
What does this error mean? > #/paths/~1v1~1action~1amend/post/parameters/3/schema, expected 'string' to be 'number' 0 2022-05-17 2022-08-02
@ts-check command in index file make typescript project fail to build 0 2022-01-26 2022-08-02
swagger2openapi报错,Swagger schema parse error! 0 2022-06-17 2022-08-02
Does Bullet work with Rails Engine? 3 2019-05-27 2022-08-11
Please consider adding a link as to where to find the license skus 3 2022-06-01 2022-07-15
[Bug]: Impossible to know receiver of shared tab in polish 1 2022-07-11 2022-07-17
Running web repo locally using Docker failing 2 2022-04-28 2022-08-09
ENH: support column oriented table output. + schema 2 2022-02-05 2022-08-02
Support pyproject.toml and setup.cfg 2 2021-10-15 2022-08-06
[BUG] Radial basis function interpolation with anything other than linearRadial basis functions is wrong 17 2022-02-18 2022-08-02
Bug Report: Deploy Diagnostic Settings to Azure Services initiative was not assigned 5 2021-08-31 2022-04-30
Lightgun cursor offset in jpark and luckywld 47 2021-11-30 2022-07-18
Bicep build --no-summary option not working 2 2022-02-01 2022-08-11
Youtube heavily throttling peertube 4 2021-11-22 2022-08-07
Add nvme disks on off1 (production Product Opener) and off2 (production MongoDB) -- install Feb 15th 2021 5 2021-01-16 2022-07-21
YSQL: the ysql_dump utility does not honour PGHOST environment variable 0 2022-07-07 2022-08-02
[Spark Connector]: Upgrade Cassandra driver to 4.6.0-yb-10 0 2021-11-09 2022-08-11
Failed to convert text to speech - error -1 0 2021-12-07 2022-08-01
text 可以加个属性,固定字体大小,而不是现在的自适应 0 2021-05-18 2022-07-19
Need a way to include only a specific platform implementation from a plugin 0 2022-02-25 2022-03-07