Skip to content

Commit

Permalink
rebase
Browse files Browse the repository at this point in the history
Signed-off-by: Xun Li <[email protected]>
  • Loading branch information
lixun910 committed Nov 28, 2023
1 parent 9ad14c9 commit 19edcf1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -335,9 +335,14 @@ export function getTriangleIndices(
* get binary polygons from geoarrow polygon column
* @param chunk one chunk of geoarrow polygon column
* @param geoEncoding the geo encoding of the geoarrow polygon column
* @param options options for getting binary geometries
* @returns BinaryGeometryContent
*/
function getBinaryPolygonsFromChunk(chunk: arrow.Data, geoEncoding: string): BinaryGeometryContent {
function getBinaryPolygonsFromChunk(
chunk: arrow.Data,
geoEncoding: string,
options?: BinaryGeometriesFromArrowOptions
): BinaryGeometryContent {
const isMultiPolygon = geoEncoding === 'geoarrow.multipolygon';

const polygonData = isMultiPolygon ? chunk.children[0] : chunk;
Expand Down
1 change: 0 additions & 1 deletion modules/arrow/src/parsers/parse-arrow-in-batches.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ export function parseArrowInBatches(
shape: 'arrow-table',
batchType: 'data',
data: new arrow.Table([recordBatch]),
rawArrayBuffer: asyncIterator,
length: recordBatch.data.length
};
// processBatch(recordBatch);
Expand Down

0 comments on commit 19edcf1

Please sign in to comment.