Skip to content

Commit 5c81256

Browse files
authored
chore: clean up test data README whitespace (#147)
1 parent be8b3fe commit 5c81256

47 files changed

Lines changed: 114 additions & 114 deletions

File tree

  • test/test_data
    • append_with_bitmap_multi_stripes.db/append_with_bitmap_multi_stripes
    • avro
      • append_multiple.db/append_multiple
      • append_simple.db/append_simple
    • db_with_blob.db/table_with_blob
    • global_index/btree/btree_compatibility_data
    • orc
      • append_10_external_path.db/append_10_external_path
      • append_table_alter_table_with_cast.db/append_table_alter_table_with_cast
      • append_table_alter_table_with_cast_with_data_evolution.db/append_table_alter_table_with_cast_with_data_evolution
      • append_table_with_alter_table.db/append_table_with_alter_table
      • append_table_with_alter_table_build_in_fieldid.db/append_table_with_alter_table_build_in_fieldid
      • append_table_with_alter_table_with_dense_field.db/append_table_with_alter_table_with_dense_field
      • append_table_with_append_pt_branch.db/append_table_with_append_pt_branch
      • append_table_with_rt_branch.db/append_table_with_rt_branch
      • append_table_with_tag.db/append_table_with_tag
      • append_with_bitmap_alter_table.db/append_with_bitmap_alter_table
      • append_with_btree_with_partition.db/append_with_btree_with_partition
      • append_with_global_index.db/append_with_global_index
      • append_with_global_index_with_partition.db/append_with_global_index_with_partition
      • append_with_multiple_ts_precision_and_timezone.db/append_with_multiple_ts_precision_and_timezone
      • append_with_rangebitmap.db/append_with_rangebitmap
      • append_with_rangebitmap_multi_chunk.db/append_with_rangebitmap_multi_chunk
      • blob_append_table_alter_table_with_cast_with_data_evolution.db/blob_append_table_alter_table_with_cast_with_data_evolution
      • multi_partition_append_table.db/multi_partition_append_table
      • pk_09.db/pk_09
      • pk_dv_index_in_data_with_external.db/pk_dv_index_in_data_with_external
      • pk_dv_index_not_in_data_no_external.db/pk_dv_index_not_in_data_no_external
      • pk_table_partial_update.db/pk_table_partial_update
      • pk_table_with_alter_table.db/pk_table_with_alter_table
      • pk_table_with_dv_cardinality.db/pk_table_with_dv_cardinality
    • parquet
      • append_table_alter_table_with_cast.db/append_table_alter_table_with_cast
      • append_table_alter_table_with_cast_with_data_evolution.db/append_table_alter_table_with_cast_with_data_evolution
      • append_table_with_alter_table.db/append_table_with_alter_table
      • append_table_with_append_pt_branch.db/append_table_with_append_pt_branch
      • append_table_with_rt_branch.db/append_table_with_rt_branch
      • append_with_bitmap_alter_table.db/append_with_bitmap_alter_table
      • append_with_btree_with_partition.db/append_with_btree_with_partition
      • append_with_global_index.db/append_with_global_index
      • append_with_global_index_with_partition.db/append_with_global_index_with_partition
      • append_with_multiple_ts_precision_and_timezone.db/append_with_multiple_ts_precision_and_timezone
      • append_with_rangebitmap.db/append_with_rangebitmap
      • append_with_rangebitmap_multi_chunk.db/append_with_rangebitmap_multi_chunk
      • blob_append_table_alter_table_with_cast_with_data_evolution.db/blob_append_table_alter_table_with_cast_with_data_evolution
      • pk_dv_index_in_data_with_external.db/pk_dv_index_in_data_with_external
      • pk_dv_index_not_in_data_no_external.db/pk_dv_index_not_in_data_no_external
      • pk_table_partial_update.db/pk_table_partial_update
      • pk_table_with_alter_table.db/pk_table_with_alter_table
      • pk_table_with_dv_cardinality.db/pk_table_with_dv_cardinality

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

test/test_data/append_with_bitmap_multi_stripes.db/append_with_bitmap_multi_stripes/README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ Add: Tony, 20, 0, 17.1
1818
Add: Alice, 20, null, 18.1
1919
NoCompact
2020

21-
data-multi-row-groups.parquet is the file generated by C++ paimon, where each row group contains only one row
21+
data-multi-row-groups.parquet is the file generated by C++ paimon, where each row group contains only one row

test/test_data/avro/append_multiple.db/append_multiple/README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ Add: 4, 11, 0, 100, 4.0, null, "four", "ddd", 123, "123.45", "1970-01-04 00:00:0
1111
snapshot-2 (3 data files)
1212
Add: 5, 10, 0, 100, 5.0, 2.0, null, "eee", 123, "123.45", "1970-01-05 00:00:00", "1970-01-05 00:00:00.000", "1970-01-05 00:00:00.000000", "1970-01-05 00:00:00", "1970-01-05 00:00:00.000", "1970-01-05 00:00:00.000000",[[["key",123]],[1,2,3]]
1313
Add: 6, 10, 1, 100, 6.0, 4.0, "six", "fff", 123, "123.45", "1970-01-06 00:00:00", "1970-01-06 00:00:00.000", "1970-01-06 00:00:00.000000", "1970-01-06 00:00:00", "1970-01-06 00:00:00.000", "1970-01-06 00:00:00.000000",[[["key",123]],[1,2,3]]
14-
Add: 7, 11, 0, 100, 7.0, 6.0, "seven", "ggg", 123, "123.45", "1970-01-07 00:00:00", "1970-01-07 00:00:00.000", "1970-01-07 00:00:00.000000", "1970-01-07 00:00:00", "1970-01-07 00:00:00.000", "1970-01-07 00:00:00.000000",[[["key",123]],[1,2,3]]
14+
Add: 7, 11, 0, 100, 7.0, 6.0, "seven", "ggg", 123, "123.45", "1970-01-07 00:00:00", "1970-01-07 00:00:00.000", "1970-01-07 00:00:00.000000", "1970-01-07 00:00:00", "1970-01-07 00:00:00.000", "1970-01-07 00:00:00.000000",[[["key",123]],[1,2,3]]

test/test_data/avro/append_simple.db/append_simple/README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ Add: 1, 2.0, "test", [[["key",123]],[1,2,3]]
77
Add: 1, 2.0, "test", [[["key",123]],[1,2,3]]
88
Add: 1, 2.0, "test", [[["key",123]],[1,2,3]]
99
Add: 1, 2.0, "test", [[["key",123]],[1,2,3]]
10-
NoCompact
10+
NoCompact

test/test_data/db_with_blob.db/table_with_blob/README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ data-d7816e8e-6c6d-4e28-9137-837cdf706350-3.blob
1818
blob_8_5fba0737.bin
1919

2020
data-d7816e8e-6c6d-4e28-9137-837cdf706350-4.blob
21-
blob_9_f54d253c.bin
21+
blob_9_f54d253c.bin

test/test_data/global_index/btree/btree_compatibility_data/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ row_id,key,is_null
2424
4. **Edge cases**: null values, duplicate keys, boundary values
2525

2626
### Usage
27-
This data can be used to verify the compatibility between the C++ BTree index implementation and the Java version.
27+
This data can be used to verify the compatibility between the C++ BTree index implementation and the Java version.

test/test_data/orc/append_10_external_path.db/append_10_external_path/README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ data_split-01
1717
with snapshot-1
1818

1919
data_split-02
20-
with fake external path
20+
with fake external path

test/test_data/orc/append_table_alter_table_with_cast.db/append_table_alter_table_with_cast/README

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ f1:TIMESTAMP(9):3
66
f2:DECIMAL(5, 2):4
77
f3:STRING:5
88
f4:DATE:6
9-
f5:BIGINT:7
9+
f5:BIGINT:7
1010
partition key: key0, key1
1111
bucket count: -1
1212

@@ -21,14 +21,14 @@ NoCompact
2121

2222
schema evolution
2323
updateColumnType("f0", INT())
24-
updateColumnType("f1", STRING())
24+
updateColumnType("f1", STRING())
2525
updateColumnType("f2", DECIMAL(6, 3))
2626
updateColumnType("f3", BOOLEAN())
2727
updateColumnType("f4", TIMESTAMP(9))
28-
dropColumn("f5")
28+
dropColumn("f5")
2929
renameColumn("f0", "f5")
3030
renameColumn("f3", "f0")
31-
renameColumn("f5", "f3")
31+
renameColumn("f5", "f3")
3232
updateColumnPosition(SchemaChange.Move.first("f4"))
3333
addColumn("f6", INT()))
3434

@@ -59,4 +59,4 @@ Recall with schema-1, result:
5959
["1957-11-01 00:00:00", 1, 1, 130, "2024-11-26 06:38:56.031000031", "333.320", false, null],
6060
["2091-09-07 00:00:00", 1, 1, 140, "2024-11-26 06:38:56.041000041", "444.420", true, null],
6161
["2024-11-26 06:38:56.084000084", 1, 1, 180, "2024-11-26 15:29:01", "8.032", true, -86],
62-
["2024-11-26 06:38:56.094000094", 1, 1, 190, "I'm strange", "-999.420", false, 96]
62+
["2024-11-26 06:38:56.094000094", 1, 1, 190, "I'm strange", "-999.420", false, 96]

test/test_data/orc/append_table_alter_table_with_cast_with_data_evolution.db/append_table_alter_table_with_cast_with_data_evolution/README

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,39 +6,39 @@ f1:TIMESTAMP(9):3
66
f2:DECIMAL(5, 2):4
77
f3:STRING:5
88
f4:DATE:6
9-
f5:BIGINT:7
9+
f5:BIGINT:7
1010
partition key: key0, key1
1111
bucket count: -1
1212

1313
Msgs:
1414
write "key0", "key1", "f0", "f1", "f2"
1515
Add(0, 1, "100", Timestamp(1732603136001l, 1), "0.02")
1616
Add(0, 1, "110", Timestamp(1732603136011l, 11), "11.12")
17-
Add(0, 1, "120", Timestamp(1732603136021l, 21), "22.22")
17+
Add(0, 1, "120", Timestamp(1732603136021l, 21), "22.22")
1818
Add(0, 1, "130", Timestamp(1732603136031l, 31), "333.32")
19-
Add(0, 1, "140", Timestamp(1732603136041l, 41), "444.42")
19+
Add(0, 1, "140", Timestamp(1732603136041l, 41), "444.42")
2020

2121
write "key0", "key1", "f3", "f4", "f5"
2222
Add(0, 1, "True", 4, 5l)
2323
Add(0, 1, "1", -44, 25l)
2424
Add(0, 1, "nO", 444, 35l)
2525
Add(0, 1, "0", -4444, 45l)
26-
Add(0, 1, "Yes", 44444, 55l)
26+
Add(0, 1, "Yes", 44444, 55l)
2727

2828
set first row id to 0
2929
commit snapshot-1
3030
NoCompact
3131

3232
schema evolution
3333
updateColumnType("f0", INT())
34-
updateColumnType("f1", STRING())
34+
updateColumnType("f1", STRING())
3535
updateColumnType("f2", DECIMAL(6, 3))
3636
updateColumnType("f3", BOOLEAN())
3737
updateColumnType("f4", TIMESTAMP(9))
38-
dropColumn("f5")
38+
dropColumn("f5")
3939
renameColumn("f0", "f5")
4040
renameColumn("f3", "f0")
41-
renameColumn("f5", "f3")
41+
renameColumn("f5", "f3")
4242
updateColumnPosition(SchemaChange.Move.first("f4"))
4343
addColumn("f6", INT())
4444

@@ -52,11 +52,11 @@ f0:BOOLEAN:5
5252
f6:INT:8
5353

5454
write "f4", "key0", "key1", "f3", "f1"
55-
Add(Timestamp(1732603136054l, 54), 0, 1, 150, "2024-11-26 15:28:31")
55+
Add(Timestamp(1732603136054l, 54), 0, 1, 150, "2024-11-26 15:28:31")
5656
Add(Timestamp(1732603136064l, 64), 0, 1, 160, "2024-11-26 15:28:41")
5757
Add(Timestamp(1732603136074l, 74), 0, 1, 170, "2024-11-26 15:28:51")
5858
Add(Timestamp(1732603136084l, 84), 0, 1, 180, "2024-11-26 15:29:01")
59-
Add(Timestamp(1732603136094l, 94), 0, 1, 190, "I'm strange")
59+
Add(Timestamp(1732603136094l, 94), 0, 1, 190, "I'm strange")
6060

6161
set first row id to 5
6262
commit snapshot-2
@@ -67,7 +67,7 @@ Add(Timestamp(1732603136054l, 154), 0, 1, "55.002", true, 56)
6767
Add(Timestamp(1732603136064l, 164), 0, 1, "666.012", false, 66)
6868
Add(Timestamp(1732603136074l, 174), 0, 1, "-77.022", true, 76)
6969
Add(Timestamp(1732603136084l, 184), 0, 1, "8.032", true, -86)
70-
Add(Timestamp(1732603136094l, 194), 0, 1, "-999.420", false, 96)
70+
Add(Timestamp(1732603136094l, 194), 0, 1, "-999.420", false, 96)
7171

7272
set first row id to 5
7373
commit snapshot-3

test/test_data/orc/append_table_with_alter_table.db/append_table_with_alter_table/README

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
key0:int:0 key1:int:1 a:int:2 b:int:3 c:int:4 d:int:5 k:int:6
1+
key0:int:0 key1:int:1 a:int:2 b:int:3 c:int:4 d:int:5 k:int:6
22
partition key: key0, key1
33
bucket count: -1
44

@@ -9,7 +9,7 @@ Add(0, 1, 22, 23, 24, 25, 26)
99
Add(0, 1, 32, 33, 34, 35, 36)
1010

1111
Add(1, 1, 42, 43, 44, 45, 46)
12-
Add(1, 1, 52, 53, 54, 55, 56)
12+
Add(1, 1, 52, 53, 54, 55, 56)
1313

1414
NoCompact
1515

@@ -26,10 +26,10 @@ key0:int:0 key1:int:1 k:int:6 c:int:3 d:int:7 a:int:5 e:int:8
2626
snapshot-2
2727
Add(0, 1, 66, 63, 517, 65, 618)
2828
Add(0, 1, 76, 73, 527, 75, 628)
29-
Add(0, 1, 86, 83, 537, 85, 638)
29+
Add(0, 1, 86, 83, 537, 85, 638)
3030

3131
Add(1, 1, 96, 93, 547, 95, 648)
32-
Add(1, 1, 106, 103, 557, 105, 658)
32+
Add(1, 1, 106, 103, 557, 105, 658)
3333

3434
NoCompact
3535

@@ -43,4 +43,4 @@ Recall with schema-1, result:
4343
1, 1, 46, 43, null, 45, null
4444
1, 1, 56, 53, null, 55, null
4545
1, 1, 96, 93, 547, 95, 648
46-
1, 1, 106, 103, 557, 105, 658
46+
1, 1, 106, 103, 557, 105, 658

test/test_data/orc/append_table_with_alter_table_build_in_fieldid.db/append_table_with_alter_table_build_in_fieldid/README

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
key0:int:0 key1:int:1 a:int:2 b:int:3 c:int:4 d:int:5 k:int:6
1+
key0:int:0 key1:int:1 a:int:2 b:int:3 c:int:4 d:int:5 k:int:6
22
partition key: key0, key1
33
bucket count: -1
44

@@ -9,7 +9,7 @@ Add(0, 1, 22, 23, 24, 25, 26)
99
Add(0, 1, 32, 33, 34, 35, 36)
1010

1111
Add(1, 1, 42, 43, 44, 45, 46)
12-
Add(1, 1, 52, 53, 54, 55, 56)
12+
Add(1, 1, 52, 53, 54, 55, 56)
1313

1414
NoCompact
1515

@@ -26,10 +26,10 @@ key0:int:0 key1:int:1 k:int:6 c:int:3 d:int:7 a:int:5 e:int:8
2626
snapshot-2
2727
Add(0, 1, 66, 63, 517, 65, 618)
2828
Add(0, 1, 76, 73, 527, 75, 628)
29-
Add(0, 1, 86, 83, 537, 85, 638)
29+
Add(0, 1, 86, 83, 537, 85, 638)
3030

3131
Add(1, 1, 96, 93, 547, 95, 648)
32-
Add(1, 1, 106, 103, 557, 105, 658)
32+
Add(1, 1, 106, 103, 557, 105, 658)
3333

3434
NoCompact
3535

@@ -43,4 +43,4 @@ Recall with schema-1, result:
4343
1, 1, 46, 43, null, 45, null
4444
1, 1, 56, 53, null, 55, null
4545
1, 1, 96, 93, 547, 95, 648
46-
1, 1, 106, 103, 557, 105, 658
46+
1, 1, 106, 103, 557, 105, 658

0 commit comments

Comments
 (0)