Datasets:

wangdx25 commited on
Commit
b49f97e
·
verified ·
1 Parent(s): 0eef7fc

Fix App Flow conversion: preserve source rows and timestamps

Browse files
Files changed (2) hide show
  1. README.md +9 -2
  2. app_flow.tsfile +2 -2
README.md CHANGED
@@ -28,8 +28,15 @@ This dataset was collected at Ant Group and does not contain any Personal Identi
28
  - Source README text and dataset-specific metadata are retained; the source
29
  Usage section is replaced with the executable TsFile Python SDK example below.
30
 
31
- - The encrypted source CSV is decoded as provided; `app_name` and `zone` are TAG columns, `time` becomes millisecond `Time`, and only the pandas export index is removed.
32
- - Rows are stably sorted by `app_name`, `zone`, and `Time`; duplicate or otherwise too-close timestamps within one device receive the smallest deterministic millisecond offsets needed for a strictly increasing TsFile timeline.
 
 
 
 
 
 
 
33
 
34
  ## Usage
35
 
 
28
  - Source README text and dataset-specific metadata are retained; the source
29
  Usage section is replaced with the executable TsFile Python SDK example below.
30
 
31
+ - The encrypted source CSV is decoded as provided; `app_name`, `zone`, and generated `event_rank` are TAG columns, `time` becomes millisecond `Time`, and the CSV export index is retained as the `source_row_id` FIELD.
32
+ - The source contains 1,189 observed `(app_name, zone)` combinations (the source card states 1,083) and 4,766 concurrent duplicate time keys. `event_rank` distinguishes those concurrent rows without changing their original minute timestamps; 4,766 additional rows remain intentionally represented across distinct event-rank devices.
33
+ - All source rows and values are retained and sorted by `app_name`, `zone`, `Time`, and `event_rank`.
34
+
35
+ ## Schema (TsFile structure)
36
+
37
+ - `Time` (INT64, milliseconds) is the original CSV `time` value.
38
+ - `app_name`, `zone`, and `event_rank` are TAG dimensions.
39
+ - `value` and `source_row_id` are FIELD measurements; `source_row_id` is the original CSV export row number.
40
 
41
  ## Usage
42
 
app_flow.tsfile CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1ea656d9e523f9d1920165d00730334360411da1e0fd0273829c66edf08ed440
3
- size 3584864
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c398d41d67f59227711232fa6f11207b35d9587db4b9c102ebaa3924936fdd7
3
+ size 6472739