From f3f3b867ef8871242d2e113be91669a95d581e18 Mon Sep 17 00:00:00 2001 From: Paul Taylor Date: Thu, 18 Jan 2018 22:55:16 -0800 Subject: [PATCH] rename table.ts to recordbatch.ts in preparation for merging latest --- js/src/Arrow.ts | 6 +----- js/src/ipc/reader/arrow.ts | 2 +- js/src/ipc/reader/vector.ts | 2 +- js/src/{table.ts => recordbatch.ts} | 0 4 files changed, 3 insertions(+), 7 deletions(-) rename js/src/{table.ts => recordbatch.ts} (100%) diff --git a/js/src/Arrow.ts b/js/src/Arrow.ts index bcaf3690097b8..911ffb796f213 100644 --- a/js/src/Arrow.ts +++ b/js/src/Arrow.ts @@ -21,7 +21,7 @@ import { Vector } from './vector'; import * as vector_ from './vector'; import * as util_ from './util/int'; import { Schema, Field, Type } from './type'; -import { Table, RecordBatch } from './table'; +import { Table, RecordBatch } from './recordbatch'; import { read, readAsync } from './ipc/reader/arrow'; export import View = vector_.View; @@ -130,11 +130,7 @@ try { Arrow['Table'] = Table; Arrow['RecordBatch'] = RecordBatch; Arrow['Vector'] = Vector; - // Arrow['DataType'] = type_.DataType; - // Arrow['Uint64'] = util_.Uint64; - // Arrow['Int64'] = util_.Int64; - // Arrow['Int128'] = util_.Int128; } } catch (e) { /* not the UMD bundle */ } /* end umd exports */ diff --git a/js/src/ipc/reader/arrow.ts b/js/src/ipc/reader/arrow.ts index bf525533116eb..af535900cbf46 100644 --- a/js/src/ipc/reader/arrow.ts +++ b/js/src/ipc/reader/arrow.ts @@ -16,7 +16,7 @@ // under the License. import { readJSON } from './json'; -import { RecordBatch } from '../../table'; +import { RecordBatch } from '../../recordbatch'; import { readBuffers, readBuffersAsync } from './binary'; import { readRecordBatches, readRecordBatchesAsync, TypeDataLoader } from './vector'; import { Schema } from '../../type'; diff --git a/js/src/ipc/reader/vector.ts b/js/src/ipc/reader/vector.ts index 6386eb7b689cd..c659294522f12 100644 --- a/js/src/ipc/reader/vector.ts +++ b/js/src/ipc/reader/vector.ts @@ -16,7 +16,7 @@ // under the License. import { Vector } from '../../vector'; -import { RecordBatch } from '../../table'; +import { RecordBatch } from '../../recordbatch'; import { TypeVisitor } from '../../visitor'; import { FlatType, NestedType, ListType } from '../../type'; import { Message, FieldMetadata, BufferMetadata } from '../metadata'; diff --git a/js/src/table.ts b/js/src/recordbatch.ts similarity index 100% rename from js/src/table.ts rename to js/src/recordbatch.ts