-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathspec_starrocks.json
More file actions
890 lines (889 loc) · 28.9 KB
/
spec_starrocks.json
File metadata and controls
890 lines (889 loc) · 28.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
{
"properties": {
"name": "Starrocks",
"realName": "StarRocks",
"icon": "icons/starrocks.png",
"id": "starrocks",
"docs": "${docs}",
"tags": ["Database"]
},
"configOptions": {
"capabilities": [
{
"id": "dml_insert_policy",
"alternatives": [
"update_on_exists",
"just_insert"
]
},
{
"id": "flush_offset_callback"
}
],
"connection": {
"type": "object",
"properties": {
"host": {
"type": "string",
"title": "${host}",
"x-decorator": "FormItem",
"x-component": "Input",
"apiServerKey": "database_host",
"required": true,
"x-decorator-props": {
"tooltip": "${hostTip}"
},
"x-index": 10
},
"port": {
"type": "string",
"title": "${port}",
"default": 9030,
"x-decorator": "FormItem",
"x-component": "InputNumber",
"apiServerKey": "database_port",
"required": true,
"x-decorator-props": {
"tooltip": "${portTip}"
},
"x-index": 20
},
"useHTTPS": {
"type": "boolean",
"title": "${useHTTPS}",
"default": false,
"x-decorator": "FormItem",
"x-component": "Switch",
"x-index": 29
},
"starrocksHttp": {
"type": "string",
"title": "${starrocksHttp}",
"x-decorator": "FormItem",
"x-component": "Input",
"required": true,
"x-decorator-props": {
"tooltip": "${starrocksHttp}"
},
"x-index": 30
},
"database": {
"type": "string",
"title": "${database}",
"x-decorator": "FormItem",
"x-component": "Input",
"apiServerKey": "database_name",
"required": true,
"x-decorator-props": {
"tooltip": "${databaseTip}"
},
"x-index": 40
},
"user": {
"type": "string",
"title": "${user}",
"x-decorator": "FormItem",
"x-component": "Input",
"apiServerKey": "database_username",
"x-index": 50
},
"password": {
"type": "string",
"title": "${password}",
"x-decorator": "FormItem",
"x-component": "Password",
"apiServerKey": "database_password",
"x-index": 60
},
"backendNum": {
"type": "string",
"title": "${backendNum}",
"x-decorator": "FormItem",
"x-component": "InputNumber",
"apiServerKey": "backend_Num",
"required": false,
"x-decorator-props": {
"tooltip": "${backendNumTip}"
},
"x-index": 61
},
"OPTIONAL_FIELDS": {
"type": "void",
"properties": {
"catalog": {
"type": "string",
"title": "${catalog}",
"x-decorator": "FormItem",
"x-component": "Input",
"apiServerKey": "catalog_name",
"x-decorator-props": {
"tooltip": "${catalogTip}"
},
"x-index": 35
},
"extParams": {
"type": "string",
"title": "${extParams}",
"x-decorator": "FormItem",
"x-component": "Input",
"apiServerKey": "extParams",
"x-decorator-props": {
"tooltip": "${extParamsTip}"
},
"x-index": 70
},
"timezone": {
"type": "string",
"title": "${timezone}",
"default": "",
"x-decorator": "FormItem",
"x-decorator-props": {
"feedbackLayout": "none"
},
"x-component": "Select",
"enum": [
{
"label": "",
"value": ""
},
{
"label": "UTC -11",
"value": "-11:00"
},
{
"label": "UTC -10",
"value": "-10:00"
},
{
"label": "UTC -09",
"value": "-09:00"
},
{
"label": "UTC -08",
"value": "-08:00"
},
{
"label": "UTC -07",
"value": "-07:00"
},
{
"label": "UTC -06",
"value": "-06:00"
},
{
"label": "UTC -05",
"value": "-05:00"
},
{
"label": "UTC -04",
"value": "-04:00"
},
{
"label": "UTC -03",
"value": "-03:00"
},
{
"label": "UTC -02",
"value": "-02:00"
},
{
"label": "UTC -01",
"value": "-01:00"
},
{
"label": "UTC",
"value": "+00:00"
},
{
"label": "UTC +01",
"value": "+01:00"
},
{
"label": "UTC +02",
"value": "+02:00"
},
{
"label": "UTC +03",
"value": "+03:00"
},
{
"label": "UTC +04",
"value": "+04:00"
},
{
"label": "UTC +05",
"value": "+05:00"
},
{
"label": "UTC +06",
"value": "+06:00"
},
{
"label": "UTC +07",
"value": "+07:00"
},
{
"label": "UTC +08",
"value": "+08:00"
},
{
"label": "UTC +09",
"value": "+09:00"
},
{
"label": "UTC +10",
"value": "+10:00"
},
{
"label": "UTC +11",
"value": "+11:00"
},
{
"label": "UTC +12",
"value": "+12:00"
},
{
"label": "UTC +13",
"value": "+13:00"
},
{
"label": "UTC +14",
"value": "+14:00"
}
],
"x-index": 80
},
"timezoneTips": {
"type": "void",
"title": " ",
"x-decorator": "FormItem",
"x-decorator-props": {
"colon": false
},
"x-component": "Text",
"x-component-props": {
"icon": "info",
"content": "${timezoneTips}"
},
"x-index": 81
}
}
}
}
},
"node": {
"type": "object",
"properties": {
"uniqueKeyType": {
"type": "string",
"title": "${uniqueKeyType}",
"default": "Primary",
"x-decorator": "FormItem",
"x-decorator-props": {
"tooltip": "${uniqueKeyTypeTip}"
},
"x-component": "Select",
"x-index": 1,
"enum": [
{
"label": "Primary",
"value": "Primary"
},
{
"label": "Duplicate",
"value": "Duplicate"
},
{
"label": "Aggregate",
"value": "Aggregate"
},
{
"label": "Unique",
"value": "Unique"
}
],
"x-reactions": [
{
"dependencies": ["$inputs"],
"fulfill": {
"state": {
"display": "{{$deps[0].length > 0 ? \"visible\":\"hidden\"}}"
}
}
}
]
},
"duplicateKey": {
"title": "${duplicateKey}",
"type": "array",
"x-index": 2,
"required": true,
"default": null,
"x-decorator": "FormItem",
"x-decorator-props": {
"tooltip": "${duplicateKeyTip}"
},
"x-component": "FieldSelect",
"x-component-props": {
"allowCreate": false,
"multiple": true,
"filterable": true
},
"x-reactions": [
"{{useAsyncDataSourceByConfig({service: loadNodeFieldOptions, withoutField: true}, $values.$inputs[0])}}",
{
"dependencies":["writeStrategy", ".uniqueKeyType", "type"],
"fulfill":{
"state":{
"display": "{{$deps[0] === \"appendWrite\" && $deps[1] === \"Duplicate\" && $deps[2] !== 'database' ? \"visible\":\"hidden\"}}"
}
}
}
]
},
"distributedKey": {
"title": "${distributedKey}",
"type": "array",
"x-index": 3,
"x-decorator": "FormItem",
"x-decorator-props": {
"tooltip": "${distributedKeyTip}"
},
"x-component": "FieldSelect",
"x-component-props": {
"allowCreate": false,
"multiple": true,
"filterable": true
},
"x-reactions": [
"{{useAsyncDataSourceByConfig({service: loadNodeFieldOptions, withoutField: true}, $values.$inputs[0])}}",
{
"dependencies":["$inputs", "type"],
"fulfill":{
"state":{
"display": "{{$deps[0].length > 0 && $deps[1] !== 'database' ? \"visible\":\"hidden\"}}"
}
}
}
]
},
"bucket": {
"type": "string",
"title": "${bucket}",
"default": 2,
"x-decorator": "FormItem",
"x-component": "InputNumber",
"x-index": 4,
"x-decorator-props": {
"min": 1,
"max": 100
},
"x-reactions": {
"dependencies": ["$inputs"],
"fulfill": {
"state": {
"display": "{{$deps[0].length ? \"visible\":\"hidden\"}}"
}
}
}
},
"tableProperties": {
"type": "array",
"title": "${tableProperties}",
"x-decorator": "FormItem",
"x-decorator-props": {
"tooltip": "${tablePropertiesTip}"
},
"default": [
{"propKey": "replication_num", "propValue": "3"},
{"propKey": "compression", "propValue": "LZ4"}
],
"x-component": "ArrayItems",
"x-reactions": [
{
"dependencies": ["$inputs"],
"fulfill": {
"state": {
"display": "{{$deps[0].length ? \"visible\":\"hidden\"}}"
}
}
},
{
"dependencies": [".uniqueKeyType"],
"fulfill": {
"state": {
"value":
"{{{Aggregate: [{\"propKey\":\"replication_num\",\"propValue\":\"1\"}],Unique: [{\"propKey\":\"replication_num\",\"propValue\":\"1\"},{\"propKey\":\"enable_unique_key_merge_on_write\",\"propValue\":\"true\"},{\"propKey\":\"store_row_column\",\"propValue\":\"true\"}],Duplicate: [{\"propKey\":\"replication_num\",\"propValue\":\"1\"}]}[$deps[0]]}}"
}
}
}
],
"x-index": 5,
"items": {
"type": "object",
"properties": {
"space": {
"type": "void",
"x-component": "Space",
"properties": {
"propKey": {
"type": "string",
"x-decorator": "FormItem",
"x-component": "Input",
"x-component-props": {
"placeholder": "${propKey}"
},
"x-index": 1
},
"propValue": {
"type": "number",
"x-decorator": "FormItem",
"x-component": "Input",
"x-component-props": {
"placeholder": "${propValue}"
},
"x-index": 2
},
"remove": {
"type": "void",
"x-decorator": "FormItem",
"x-component": "ArrayItems.Remove"
}
}
}
}
},
"properties": {
"add": {
"type": "void",
"title": "${prompt}",
"x-component": "ArrayItems.Addition",
"x-component-props": {
"defaultValue": { "propKey": "", "propValue": "" }
}
}
}
},
"writeByteBufferCapacity": {
"required": true,
"type": "int",
"x-index": 6,
"title": "${writeByteBufferCapacity}",
"default": 10240,
"x-decorator": "FormItem",
"x-component": "InputNumber",
"x-reactions": {
"dependencies": ["$inputs"],
"fulfill": {
"state": {
"display": "{{$deps[0].length ? \"visible\":\"hidden\"}}"
}
}
},
"apiServerKey": "node_writeByteBufferCapacity"
},
"writeFormat": {
"type": "string",
"title": "${writeFormat}",
"default": "json",
"x-index": 7,
"x-decorator": "FormItem",
"x-decorator-props": {
"feedbackLayout": "none"
},
"x-component": "Select",
"x-reactions": {
"dependencies": ["$inputs"],
"fulfill": {
"state": {
"display": "{{$deps[0].length ? \"visible\":\"hidden\"}}"
}
}
},
"enum": [
{
"label": "Json",
"value": "json"
},
{
"label": "CSV",
"value": "csv"
}
]
},
"flushSizeMB": {
"required": false,
"type": "int",
"x-index": 8,
"title": "${flushSizeMB}",
"default": 100,
"x-decorator": "FormItem",
"x-component": "InputNumber",
"x-decorator-props": {
"tooltip": "${flushSizeMBTip}",
"min": 1,
"max": 1024
},
"x-reactions": {
"dependencies": ["$inputs"],
"fulfill": {
"state": {
"display": "{{$deps[0].length ? \"visible\":\"hidden\"}}"
}
}
},
"apiServerKey": "node_flushSizeMB"
},
"flushTimeoutSeconds": {
"required": false,
"type": "int",
"x-index": 9,
"title": "${flushTimeoutSeconds}",
"default": 300,
"x-decorator": "FormItem",
"x-component": "InputNumber",
"x-decorator-props": {
"tooltip": "${flushTimeoutSecondsTip}",
"min": 1,
"max": 3600
},
"x-reactions": {
"dependencies": ["$inputs"],
"fulfill": {
"state": {
"display": "{{$deps[0].length ? \"visible\":\"hidden\"}}"
}
}
},
"apiServerKey": "node_flushTimeoutSeconds"
},
"minuteLimitMB": {
"required": false,
"type": "int",
"x-index": 10,
"title": "${minuteLimitMB}",
"default": 0,
"x-decorator": "FormItem",
"x-component": "InputNumber",
"x-decorator-props": {
"tooltip": "${minuteLimitMBTip}",
"min": 0,
"max": 10000
},
"x-reactions": {
"dependencies": ["$inputs"],
"fulfill": {
"state": {
"display": "{{$deps[0].length ? \"visible\":\"hidden\"}}"
}
}
},
"apiServerKey": "node_minuteLimitMB"
}
}
}
},
"messages": {
"default": "en_US",
"en_US": {
"host": "DB Address",
"hostTip": "The address of the database, it can be an IP address or a domain name, for example: 192.168.1.200",
"port": "Port",
"portTip": "The port number of the database, the default port of Starrocks is 9030",
"starrocksHttp": "http/https Address",
"starrocksHttpTip": "The address of the Starrocks Http/Https interface, for example: 192.168.1.200:8030",
"catalog": "Starrocks Catalog",
"catalogTip": "The directory of Starrocks can be left blank for non clustered Starrocks or those that do not require narrowing down the data range, such as Starrocks_cluster",
"database": "DB Name",
"databaseTip": "The name of the database, you can list all Starrocks databases with the \\\\\"show databases\\\\\" command, case sensitive",
"user": "User",
"password": "Password",
"extParams": "Other connection string parameters",
"extParamsTip": "Additional connection parameters in URI, you can write according to personalized scenarios",
"timezone": "Timezone for Datetime",
"timezoneTips": "Affect Type: DATE",
"writeByteBufferCapacity": "Write buffer capacity(KB)",
"writeFormat": "Write format",
"doc": "docs/readme_en_US.md",
"duplicateKey": "duplicateKey",
"distributedKey": "distributedKey",
"uniqueKeyType": "Key Type",
"uniqueKeyTypeTip": "In the key type, Unique means unique key, Duplicate means duplicate key, Aggregate means aggregate key",
"duplicateKeyTip": "Sort field, default to update condition field when selecting Duplicate key type, only enable this configuration when append write mode has no update condition",
"distributedKeyTip": "Partition field, used for partitioned tables, the selected field must contain key fields, not filled in by default according to key field partition",
"bucket": "Bucket",
"prompt": "Add",
"tableProperties": "Table Properties",
"tablePropertiesTip": "Table properties, for example: {replication_num: 3, storage_format: v2}",
"propKey": "Property Name",
"propValue": "Property Value",
"useHTTPS": "Enable HTTPS",
"backendNum": "The number of BE nodes",
"backendNumTip": "During Starrocks connection testing, a table is created and data is written to Starrocks for testing. It is necessary to obtain the number of BE nodes when building a table. If the table is not built according to the number of BE nodes, it may cause an error. admin permission is required to obtain the number of BE nodes. If you do not want to grant admin permission, please enter the number of BE manually to avoid errors in the table.",
"flushSizeMB": "Flush Size (MB)",
"flushSizeMBTip": "Buffer data locally and flush when reaching this size threshold (in MB). Default is 100MB. This setting takes priority over general write count configurations.",
"flushTimeoutSeconds": "Flush Timeout (Seconds)",
"flushTimeoutSecondsTip": "Maximum wait time before flushing buffered data (in seconds). Default is 300 seconds. This setting takes priority over general timeout configurations.",
"minuteLimitMB": "Per-Minute Write Limit (MB)",
"minuteLimitMBTip": "Maximum data to write per minute (in MB). Set to 0 to disable limit. If exceeded, writing will pause until the next minute."
},
"zh_CN": {
"host": "数据库地址",
"hostTip": "数据库的地址,它可以是IP地址或者域名,例如:192.168.1.200",
"port": "端口",
"portTip": "数据库的端口号,Starrocks默认端口9030",
"StarrocksHttp": "http/https接口地址",
"StarrocksHttpTip": "Starrocks的http/https接口地址,例如:192.168.1.200:8030",
"catalog": "Starrocks目录",
"catalogTip": "Starrocks的目录,非集群Starrocks或不需要缩小数据范围的可以不填写,例如:Starrocks_cluster",
"database": "数据库名称",
"databaseTip": "数据库名称,可以通过 show databases 命令列出Starrocks所有数据库,区分大小写",
"user": "账号",
"password": "密码",
"extParams": "其他连接串参数",
"extParamsTip": "URI额外的连接参数,可以根据个性化场景书写",
"timezone": "时间类型的时区",
"timezoneTips": "影响类型: DATE",
"writeByteBufferCapacity": "写入缓冲区容量(KB)",
"writeFormat": "写入格式",
"doc": "docs/readme_zh_CN.md",
"duplicateKey": "排序字段",
"distributedKey": "分区字段",
"uniqueKeyType": "键类型",
"uniqueKeyTypeTip": "键类型中Unique表示唯一键,Duplicate表示重复键,Aggregate表示聚合键",
"duplicateKeyTip": "排序字段,在选择Duplicate键类型时默认按更新条件字段,追加写入方式无更新条件时才启用该配置",
"distributedKeyTip": "分区字段,用于分区表,选取字段必须是键字段包含,不填默认按键字段分区",
"bucket": "分桶数",
"prompt": "添加",
"tableProperties": "表属性",
"tablePropertiesTip": "表属性,例如:{replication_num: 3, storage_format: v2}",
"propKey": "属性名",
"propValue": "属性值",
"useHTTPS": "开启HTTPS",
"backendNum": "BE节点的数量",
"backendNumTip": "Starrocks连接测试时,会在Starrocks建表并写入数据进行测试。在建表时需要获取BE节点数量,如果不根据BE数量去建表可能会导致报错。获取BE节点的数量需要admin 权限,如果不想授予admin权限,请手动输入BE数量,以免建表报错。",
"flushSizeMB": "刷新大小 (MB)",
"flushSizeMBTip": "本地缓冲数据,达到此大小阈值时刷新(单位:MB)。默认值为100MB。此设置优先级高于通用写入条数配置。",
"flushTimeoutSeconds": "刷新超时 (秒)",
"flushTimeoutSecondsTip": "刷新缓冲数据前的最大等待时间(单位:秒)。默认值为300秒。此设置优先级高于通用超时配置。",
"minuteLimitMB": "每分钟写入限制 (MB)",
"minuteLimitMBTip": "每分钟最大写入数据量(单位:MB)。设置为0表示不限制。如果超过限制,将暂停写入直到下一分钟。"
},
"zh_TW": {
"host": "數據庫地址",
"hostTip": "數據庫的地址,它可以是IP地址或者域名,例如:192.168.1.200",
"port": "端口",
"portTip": "數據庫的端口號,Starrocks默認端口9030",
"StarrocksHttp": "http/https接口地址",
"StarrocksHttpTip": "Starrocks的http/https接口地址,例如:192.168.1.200:8030",
"catalog": "Starrocks目錄",
"catalogTip": "Starrocks的目錄,非集群Starrocks或不需要縮小數據範圍的可以不填寫,例如:Starrocks_cluster",
"database": "数据库名称",
"databaseTip": "数据库名称,可以通过 show databases 命令列出Starrocks所有数据库,区分大小写",
"user": "账号",
"password": "密码",
"extParams": "其他连接串参数",
"extParamsTip": "URI額外的連接參數,可以根據個性化場景書寫",
"timezone": "时间类型的时区",
"timezoneTips": "影響類型: DATE",
"writeByteBufferCapacity": "寫入緩沖區容量(KB)",
"writeFormat": "寫入格式",
"doc": "docs/readme_zh_CN.md",
"duplicateKey": "排序字段",
"distributedKey": "分区字段",
"uniqueKeyType": "鍵類型",
"uniqueKeyTypeTip": "鍵類型中Unique表示唯一鍵,Duplicate表示重複鍵,Aggregate表示聚合鍵",
"duplicateKeyTip": "排序字段,在選擇Duplicate鍵類型時默認按更新條件字段,追加寫入方式無更新條件時才啟用該配置",
"distributedKeyTip": "分區字段,用於分區表,選取字段必須是鍵字段包含,不填默認按鍵字段分區",
"bucket": "分桶數",
"prompt": "添加",
"tableProperties": "表屬性",
"tablePropertiesTip": "表屬性,例如:{replication_num: 3, storage_format: v2}",
"propKey": "屬性名",
"propValue": "屬性值",
"useHTTPS": "開啓HTTPS",
"backendNum": "BE節點的數量",
"backendNumTip": "Starrocks連接測試時,會在Starrocks建表並寫入數據進行測試。在建表時需要獲取BE節點數量,如果不根據BE數量去建表可能會導致報錯。獲取BE節點的數量需要admin 權限,如果不想授予admin權限,請手動輸入BE數量,以免建表報錯。",
"flushSizeMB": "刷新大小 (MB)",
"flushSizeMBTip": "本地緩衝數據,達到此大小閾值時刷新(單位:MB)。默認值為100MB。此設置優先級高於通用寫入條數配置。",
"flushTimeoutSeconds": "刷新超時 (秒)",
"flushTimeoutSecondsTip": "刷新緩衝數據前的最大等待時間(單位:秒)。默認值為300秒。此設置優先級高於通用超時配置。",
"minuteLimitMB": "每分鐘寫入限制 (MB)",
"minuteLimitMBTip": "每分鐘最大寫入數據量(單位:MB)。設置為0表示不限制。如果超過限制,將暫停寫入直到下一分鐘。"
}
},
"dataTypes": {
"tinyint[($zerofill)]": {
"to": "TapNumber",
"bit": 8,
"precision": 3,
"value": [
-128,
127
]
},
"smallint[($zerofill)]": {
"to": "TapNumber",
"bit": 16,
"value": [
-32768,
32767
],
"precision": 5
},
"int[($zerofill)]": {
"to": "TapNumber",
"bit": 32,
"precision": 10,
"value": [
-2147483648,
2147483647
]
},
"bigint[($zerofill)]": {
"to": "TapNumber",
"bit": 64,
"precision": 19,
"value": [
-9223372036854775808,
9223372036854775807
]
},
"largeint": {
"bit": 128,
"to": "TapNumber"
},
"float": {
"to": "TapNumber",
"precision": [
1,
6
],
"scale": [
0,
6
],
"fixed": false
},
"double": {
"to": "TapNumber",
"precision": [
1,
17
],
"preferPrecision": 11,
"preferScale": 4,
"scale": [
0,
17
],
"fixed": false
},
"decimal[($precision,$scale)]": {
"bit": 128,
"precision": [
1,
27
],
"defaultPrecision": 10,
"scale": [
0,
9
],
"defaultScale": 0,
"to": "TapNumber"
},
"decimalv3[($precision,$scale)]": {
"to": "TapNumber",
"precision": [
1,
65
],
"scale": [
0,
30
],
"defaultPrecision": 10,
"defaultScale": 0,
"unsigned": "unsigned",
"fixed": true,
"queryOnly": true
},
"date": {
"byte": 3,
"range": [
"1000-01-01",
"9999-12-31"
],
"to": "TapDate"
},
"datev2": {
"byte": 3,
"range": [
"1000-01-01",
"9999-12-31"
],
"to": "TapDate",
"queryOnly": true
},
"datetime": {
"byte": 8,
"range": [
"1000-01-01 00:00:00",
"9999-12-31 23:59:59"
],
"to": "TapDateTime"
},
"datetimev2[($fraction)]": {
"to": "TapDateTime",
"range": [
"1000-01-01 00:00:00",
"9999-12-31 23:59:59"
],
"pattern": "yyyy-MM-dd HH:mm:ss",
"fraction": [
0,
6
],
"defaultFraction": 0,
"queryOnly": true
},
"char[($byte)]": {
"byte": 255,
"to": "TapString",
"defaultByte": 1,
"fixed": true,
"pkEnablement": false
},
"varchar[($byte)]": {
"byte": "65533",
"to": "TapString",
"defaultByte": 1
},
"binary[($byte)]": {
"to": "TapBinary",
"byte": "2g",
"defaultByte": 1,
"fixed": true
},
"varbinary[($byte)]": {
"to": "TapBinary",
"byte": "1m",
"defaultByte": 1
},
"string": {
"byte": "2147483643",
"to": "TapString"
},
"HLL": {
"byte": "16385",
"to": "TapNumber",
"queryOnly": true
},
"text": {
"to": "TapString",
"byte": "64k",
"pkEnablement": false
}
}
}