@loaders.gl/scan 5.0.0-alpha.6 → 5.0.0-alpha.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/delta.cjs +302 -90
- package/dist/delta.cjs.map +3 -3
- package/dist/dist.min.js +44 -13
- package/dist/hudi.cjs +302 -90
- package/dist/hudi.cjs.map +3 -3
- package/dist/iceberg.cjs +303 -91
- package/dist/iceberg.cjs.map +3 -3
- package/dist/index.cjs +39 -13
- package/dist/index.cjs.map +1 -1
- package/dist/vector-table-scan-source.d.ts +2 -0
- package/dist/vector-table-scan-source.d.ts.map +1 -1
- package/dist/vector-table-scan-source.js +6 -1
- package/dist/vector-table-scan-source.js.map +1 -1
- package/package.json +8 -8
- package/src/vector-table-scan-source.ts +7 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loaders.gl/scan",
|
|
3
3
|
"description": "Optional scan planning and execution for loaders.gl",
|
|
4
|
-
"version": "5.0.0-alpha.
|
|
4
|
+
"version": "5.0.0-alpha.8",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"publishConfig": {
|
|
@@ -54,13 +54,13 @@
|
|
|
54
54
|
"build-bundle": "ocular-bundle ./bundle.ts --output=dist/dist.min.js"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@loaders.gl/geoarrow": "5.0.0-alpha.
|
|
58
|
-
"@loaders.gl/loader-utils": "5.0.0-alpha.
|
|
59
|
-
"@loaders.gl/parquet": "5.0.0-alpha.
|
|
60
|
-
"@loaders.gl/schema": "5.0.0-alpha.
|
|
61
|
-
"@loaders.gl/schema-utils": "5.0.0-alpha.
|
|
62
|
-
"@loaders.gl/sql": "5.0.0-alpha.
|
|
57
|
+
"@loaders.gl/geoarrow": "5.0.0-alpha.8",
|
|
58
|
+
"@loaders.gl/loader-utils": "5.0.0-alpha.8",
|
|
59
|
+
"@loaders.gl/parquet": "5.0.0-alpha.8",
|
|
60
|
+
"@loaders.gl/schema": "5.0.0-alpha.8",
|
|
61
|
+
"@loaders.gl/schema-utils": "5.0.0-alpha.8",
|
|
62
|
+
"@loaders.gl/sql": "5.0.0-alpha.8",
|
|
63
63
|
"apache-arrow": ">= 17.0.0"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "bdc4536ea5b7d074ea362e372704cbdb180126cc"
|
|
66
66
|
}
|
|
@@ -123,6 +123,11 @@ export abstract class AddressedVectorTableScanSource {
|
|
|
123
123
|
yield makeTableScanBatch(result);
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
+
/** Scans the addressed query result through the same batch contract as `read()`. */
|
|
127
|
+
scan(options: ArrowQueryOptions = {}): AsyncIterableIterator<ArrowTableBatch> {
|
|
128
|
+
return this.read(options);
|
|
129
|
+
}
|
|
130
|
+
|
|
126
131
|
/** Resolves and caches the addressed table while allowing failed loads to be retried. */
|
|
127
132
|
private async getTable(signal?: AbortSignal): Promise<ArrowTable> {
|
|
128
133
|
throwIfAborted(signal);
|
|
@@ -206,7 +211,8 @@ export class VectorFeatureTableScanSource extends AddressedVectorTableScanSource
|
|
|
206
211
|
Object.freeze([...options.request.boundingBox[1]])
|
|
207
212
|
]) as GetFeaturesParameters['boundingBox']
|
|
208
213
|
});
|
|
209
|
-
const
|
|
214
|
+
const boundsCrs = request.requestCrs || request.crs;
|
|
215
|
+
const coordinateReferenceSystems = typeof boundsCrs === 'string' ? [boundsCrs] : undefined;
|
|
210
216
|
super(options, {
|
|
211
217
|
sourceType: 'vector-feature-table',
|
|
212
218
|
description: `Vector feature request for ${normalizeLayers(request.layers).join(', ')}`,
|