[
https://issues.apache.org/jira/browse/ARROW-1832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16262352#comment-16262352
]
ASF GitHub Bot commented on ARROW-1832:
---------------------------------------
trxcllnt commented on a change in pull request #1343: [WIP] ARROW-1832: [JS]
Implement JSON reader for integration tests
URL: https://github.com/apache/arrow/pull/1343#discussion_r152537908
##########
File path: js/src/vector/traits.ts
##########
@@ -17,11 +17,26 @@
import { Vector } from './vector';
import { BoolVector } from './numeric';
-import * as Schema_ from '../format/Schema';
-import * as Message_ from '../format/Message';
-import Type = Schema_.org.apache.arrow.flatbuf.Type;
-import Field = Schema_.org.apache.arrow.flatbuf.Field;
-import FieldNode = Message_.org.apache.arrow.flatbuf.FieldNode;
+import { fb, FieldBuilder, FieldNodeBuilder } from '../format/arrow';
+
+export type Field = ( fb.Schema.Field | FieldBuilder );
+export type FieldNode = ( fb.Message.FieldNode | FieldNodeBuilder );
Review comment:
This is great! I love it
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> [JS] Implement JSON reader for integration tests
> ------------------------------------------------
>
> Key: ARROW-1832
> URL: https://issues.apache.org/jira/browse/ARROW-1832
> Project: Apache Arrow
> Issue Type: New Feature
> Components: JavaScript
> Reporter: Brian Hulette
> Assignee: Brian Hulette
> Labels: pull-request-available
>
> Implementing a JSON reader will allow us to write a "validate" script for the
> consumer half of the integration tests.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)