@drakkar.software/starfish-events 3.0.0-alpha.40
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/encode.d.ts +11 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3071 -0
- package/dist/index.js.map +7 -0
- package/dist/plugin.d.ts +92 -0
- package/package.json +42 -0
package/dist/encode.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Encode an array of flat event row objects as a Parquet-format `Uint8Array`.
|
|
3
|
+
*
|
|
4
|
+
* Missing fields default to empty string. All values are stored as STRING
|
|
5
|
+
* (VARCHAR-equivalent in Parquet). `received_at` should be an ISO-8601 UTC
|
|
6
|
+
* timestamp stamped by the plugin at ingest time.
|
|
7
|
+
*
|
|
8
|
+
* Privacy: caller is responsible for never passing distinct_id/properties/
|
|
9
|
+
* context to logs; this function stores whatever it receives opaquely.
|
|
10
|
+
*/
|
|
11
|
+
export declare function encodeParquet(rows: Record<string, unknown>[]): Uint8Array;
|
package/dist/index.d.ts
ADDED