@gscdump/lakehouse 0.35.1 → 0.35.3
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/_chunks/catalog.d.mts +12 -2
- package/package.json +1 -1
|
@@ -202,9 +202,19 @@ interface IcebergListedDataFile {
|
|
|
202
202
|
bytes: number;
|
|
203
203
|
rowCount: number;
|
|
204
204
|
}
|
|
205
|
-
/**
|
|
205
|
+
/**
|
|
206
|
+
* Minimal profiler contract — start a named span, get back an end callback.
|
|
207
|
+
*
|
|
208
|
+
* The `meta` shape is pinned to `Record<string, string | number | boolean>`
|
|
209
|
+
* to stay structurally identical to `@gscdump/engine`'s `QueryProfiler`
|
|
210
|
+
* (`packages/engine/src/storage.ts`). Engine depends on lakehouse (not the
|
|
211
|
+
* reverse), so this can't be a cross-package re-export without a cycle —
|
|
212
|
+
* matching the shape exactly is what lets a profiler built with engine's
|
|
213
|
+
* `createQueryProfiler` flow into `resolveIcebergDataFiles`/
|
|
214
|
+
* `listIcebergDataFiles` without a type error at the call boundary.
|
|
215
|
+
*/
|
|
206
216
|
interface QueryProfiler {
|
|
207
|
-
start: (name: string) => ((meta?: Record<string,
|
|
217
|
+
start: (name: string) => ((meta?: Record<string, string | number | boolean>) => void) | undefined;
|
|
208
218
|
}
|
|
209
219
|
interface ResolveIcebergDataFilesOptions {
|
|
210
220
|
namespace: string;
|
package/package.json
CHANGED