node-red-contrib-prib-functions 0.23.3 → 0.26.0
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/.github/copilot-instructions.md +36 -0
- package/README.md +15 -0
- package/columnar/columnar.html +258 -0
- package/columnar/columnar.js +1055 -0
- package/columnar/icons/columnar.svg +38 -0
- package/fileSystem/filesystem.html +299 -0
- package/fileSystem/filesystem.js +170 -0
- package/gitlab/gitlab.html +191 -0
- package/gitlab/gitlab.js +248 -0
- package/gitlab/icons/gitlab.svg +17 -0
- package/lib/typedInput.js +18 -2
- package/logisticRegression/icons/logisticregression.svg +22 -0
- package/logisticRegression/logisticRegression.html +136 -0
- package/logisticRegression/logisticRegression.js +83 -0
- package/package.json +19 -8
- package/test/columnar.js +509 -0
- package/test/data/.config.nodes.json +114 -70
- package/test/data/.config.nodes.json.backup +104 -71
- package/test/data/.config.runtime.json +2 -1
- package/test/data/.config.runtime.json.backup +2 -1
- package/test/data/.config.users.json +3 -2
- package/test/data/.config.users.json.backup +3 -2
- package/test/data/.flow.json.backup +561 -5
- package/test/data/flow.json +571 -2
- package/test/data/package-lock.json +1 -1
- package/test/data/shares/.config.nodes.json +74 -52
- package/test/data/shares/.config.nodes.json.backup +589 -0
- package/test/data/shares/.config.runtime.json +2 -1
- package/test/data/shares/.config.runtime.json.backup +2 -1
- package/test/data/shares/.config.users.json +3 -2
- package/test/data/shares/.config.users.json.backup +5 -1
- package/test/dataAnalysisExtensions.js +93 -93
- package/test/logisticRegression.js +379 -0
- package/test/transform.js +11 -11
- package/test/transformConfluence.js +4 -2
- package/test/transformNumPy.js +3 -1
- package/test/transformXLSX.js +4 -2
- package/test/transformXML.js +4 -2
- package/test-runner.js +400 -0
- package/test.parq +0 -0
- package/test_select.js +37 -0
|
@@ -20,6 +20,14 @@
|
|
|
20
20
|
"disabled": false,
|
|
21
21
|
"info": ""
|
|
22
22
|
},
|
|
23
|
+
{
|
|
24
|
+
"id": "43a74ee3902ea5d5",
|
|
25
|
+
"type": "tab",
|
|
26
|
+
"label": "filesystem",
|
|
27
|
+
"disabled": false,
|
|
28
|
+
"info": "",
|
|
29
|
+
"env": []
|
|
30
|
+
},
|
|
23
31
|
{
|
|
24
32
|
"id": "955f4808.fd1898",
|
|
25
33
|
"type": "tab",
|
|
@@ -140,6 +148,22 @@
|
|
|
140
148
|
"disabled": false,
|
|
141
149
|
"info": ""
|
|
142
150
|
},
|
|
151
|
+
{
|
|
152
|
+
"id": "d98540e8ed31a4a1",
|
|
153
|
+
"type": "tab",
|
|
154
|
+
"label": "logistic Regression",
|
|
155
|
+
"disabled": false,
|
|
156
|
+
"info": "",
|
|
157
|
+
"env": []
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"id": "8aa8799ad5afca2b",
|
|
161
|
+
"type": "tab",
|
|
162
|
+
"label": "Columnar store",
|
|
163
|
+
"disabled": false,
|
|
164
|
+
"info": "",
|
|
165
|
+
"env": []
|
|
166
|
+
},
|
|
143
167
|
{
|
|
144
168
|
"id": "680198a3be420949",
|
|
145
169
|
"type": "group",
|
|
@@ -1999,9 +2023,9 @@
|
|
|
1999
2023
|
"infiniteIsNull": false,
|
|
2000
2024
|
"payload": "",
|
|
2001
2025
|
"payloadType": "date",
|
|
2002
|
-
"result": "$boolean(
|
|
2026
|
+
"result": "$boolean(_matrix.toArray()=[[1,0],[0,1]])",
|
|
2003
2027
|
"resultType": "jsonata",
|
|
2004
|
-
"resultProperty": "msg
|
|
2028
|
+
"resultProperty": "msg",
|
|
2005
2029
|
"topic": "",
|
|
2006
2030
|
"x": 170,
|
|
2007
2031
|
"y": 480,
|
|
@@ -2069,6 +2093,24 @@
|
|
|
2069
2093
|
[]
|
|
2070
2094
|
]
|
|
2071
2095
|
},
|
|
2096
|
+
{
|
|
2097
|
+
"id": "ae223fa13da104ff",
|
|
2098
|
+
"type": "function",
|
|
2099
|
+
"z": "ae9957f07bd56e1b",
|
|
2100
|
+
"name": "function 1",
|
|
2101
|
+
"func": "\nreturn msg;",
|
|
2102
|
+
"outputs": 1,
|
|
2103
|
+
"timeout": 0,
|
|
2104
|
+
"noerr": 0,
|
|
2105
|
+
"initialize": "",
|
|
2106
|
+
"finalize": "",
|
|
2107
|
+
"libs": [],
|
|
2108
|
+
"x": 480,
|
|
2109
|
+
"y": 580,
|
|
2110
|
+
"wires": [
|
|
2111
|
+
[]
|
|
2112
|
+
]
|
|
2113
|
+
},
|
|
2072
2114
|
{
|
|
2073
2115
|
"id": "c4e5d98c.1db6f8",
|
|
2074
2116
|
"type": "Monitor Flow",
|
|
@@ -7315,8 +7357,8 @@
|
|
|
7315
7357
|
"infiniteIsNull": false,
|
|
7316
7358
|
"payload": "{\"worksheet1\":[[11,12],[21,22],[31,32]],\"worksheet2\":[[11,12],[21,22]]}",
|
|
7317
7359
|
"payloadType": "json",
|
|
7318
|
-
"result": "",
|
|
7319
|
-
"resultType": "
|
|
7360
|
+
"result": "{\"worksheet1\":[[11,12],[21,22],[31,32]],\"worksheet2\":[[11,12],[21,22]]}",
|
|
7361
|
+
"resultType": "json",
|
|
7320
7362
|
"resultProperty": "msg.payload",
|
|
7321
7363
|
"topic": "",
|
|
7322
7364
|
"x": 260,
|
|
@@ -7454,7 +7496,7 @@
|
|
|
7454
7496
|
"stringType": "str",
|
|
7455
7497
|
"delimiter": ",",
|
|
7456
7498
|
"compressionType": "setGzip",
|
|
7457
|
-
"x":
|
|
7499
|
+
"x": 160,
|
|
7458
7500
|
"y": 320,
|
|
7459
7501
|
"wires": [
|
|
7460
7502
|
[
|
|
@@ -7504,5 +7546,519 @@
|
|
|
7504
7546
|
"0e4f57304e89edb8"
|
|
7505
7547
|
]
|
|
7506
7548
|
]
|
|
7549
|
+
},
|
|
7550
|
+
{
|
|
7551
|
+
"id": "835d891c3b7b9451",
|
|
7552
|
+
"type": "debug",
|
|
7553
|
+
"z": "d98540e8ed31a4a1",
|
|
7554
|
+
"name": "debug 3",
|
|
7555
|
+
"active": true,
|
|
7556
|
+
"tosidebar": true,
|
|
7557
|
+
"console": false,
|
|
7558
|
+
"tostatus": false,
|
|
7559
|
+
"complete": "true",
|
|
7560
|
+
"targetType": "full",
|
|
7561
|
+
"statusVal": "",
|
|
7562
|
+
"statusType": "auto",
|
|
7563
|
+
"x": 740,
|
|
7564
|
+
"y": 420,
|
|
7565
|
+
"wires": []
|
|
7566
|
+
},
|
|
7567
|
+
{
|
|
7568
|
+
"id": "b850a29956571494",
|
|
7569
|
+
"type": "logisticRegression",
|
|
7570
|
+
"z": "d98540e8ed31a4a1",
|
|
7571
|
+
"name": "",
|
|
7572
|
+
"modelName": "test",
|
|
7573
|
+
"action": "fit",
|
|
7574
|
+
"learningRate": 0.1,
|
|
7575
|
+
"iterations": 2000,
|
|
7576
|
+
"fitIntercept": true,
|
|
7577
|
+
"l2": 0,
|
|
7578
|
+
"tolerance": 1e-7,
|
|
7579
|
+
"verbose": false,
|
|
7580
|
+
"threshold": 0.5,
|
|
7581
|
+
"x": 420,
|
|
7582
|
+
"y": 180,
|
|
7583
|
+
"wires": [
|
|
7584
|
+
[
|
|
7585
|
+
"835d891c3b7b9451",
|
|
7586
|
+
"1c969461651d15fa"
|
|
7587
|
+
]
|
|
7588
|
+
]
|
|
7589
|
+
},
|
|
7590
|
+
{
|
|
7591
|
+
"id": "1c969461651d15fa",
|
|
7592
|
+
"type": "test",
|
|
7593
|
+
"z": "d98540e8ed31a4a1",
|
|
7594
|
+
"name": "",
|
|
7595
|
+
"errorFactor": 0,
|
|
7596
|
+
"escapeString": false,
|
|
7597
|
+
"infiniteIsNull": false,
|
|
7598
|
+
"payload": "{\"X\":[[0,0],[0,1],[1,0],[1,1]],\"y\":[0,1,1,1]}",
|
|
7599
|
+
"payloadType": "json",
|
|
7600
|
+
"result": "Model fitted and stored as: test",
|
|
7601
|
+
"resultType": "str",
|
|
7602
|
+
"resultProperty": "msg.result",
|
|
7603
|
+
"topic": "",
|
|
7604
|
+
"x": 180,
|
|
7605
|
+
"y": 80,
|
|
7606
|
+
"wires": [
|
|
7607
|
+
[
|
|
7608
|
+
"b850a29956571494"
|
|
7609
|
+
],
|
|
7610
|
+
[],
|
|
7611
|
+
[
|
|
7612
|
+
"f903d1b11568c38c"
|
|
7613
|
+
]
|
|
7614
|
+
]
|
|
7615
|
+
},
|
|
7616
|
+
{
|
|
7617
|
+
"id": "a4ff87db6b6a4889",
|
|
7618
|
+
"type": "logisticRegression",
|
|
7619
|
+
"z": "d98540e8ed31a4a1",
|
|
7620
|
+
"name": "",
|
|
7621
|
+
"modelName": "test",
|
|
7622
|
+
"action": "predict",
|
|
7623
|
+
"learningRate": 0.1,
|
|
7624
|
+
"iterations": 2000,
|
|
7625
|
+
"fitIntercept": true,
|
|
7626
|
+
"l2": 0,
|
|
7627
|
+
"tolerance": 1e-7,
|
|
7628
|
+
"verbose": false,
|
|
7629
|
+
"threshold": 0.5,
|
|
7630
|
+
"x": 460,
|
|
7631
|
+
"y": 360,
|
|
7632
|
+
"wires": [
|
|
7633
|
+
[
|
|
7634
|
+
"835d891c3b7b9451",
|
|
7635
|
+
"f903d1b11568c38c",
|
|
7636
|
+
"21167b6b6f5c0cbc"
|
|
7637
|
+
]
|
|
7638
|
+
]
|
|
7639
|
+
},
|
|
7640
|
+
{
|
|
7641
|
+
"id": "f903d1b11568c38c",
|
|
7642
|
+
"type": "test",
|
|
7643
|
+
"z": "d98540e8ed31a4a1",
|
|
7644
|
+
"name": "",
|
|
7645
|
+
"errorFactor": 0,
|
|
7646
|
+
"escapeString": false,
|
|
7647
|
+
"infiniteIsNull": false,
|
|
7648
|
+
"payload": "[[0, 0], [1, 1], [0.5, 0.5]]",
|
|
7649
|
+
"payloadType": "json",
|
|
7650
|
+
"result": "[0,1,1]",
|
|
7651
|
+
"resultType": "json",
|
|
7652
|
+
"resultProperty": "msg.result",
|
|
7653
|
+
"topic": "",
|
|
7654
|
+
"x": 140,
|
|
7655
|
+
"y": 280,
|
|
7656
|
+
"wires": [
|
|
7657
|
+
[
|
|
7658
|
+
"a4ff87db6b6a4889"
|
|
7659
|
+
],
|
|
7660
|
+
[],
|
|
7661
|
+
[]
|
|
7662
|
+
]
|
|
7663
|
+
},
|
|
7664
|
+
{
|
|
7665
|
+
"id": "21167b6b6f5c0cbc",
|
|
7666
|
+
"type": "logisticRegression",
|
|
7667
|
+
"z": "d98540e8ed31a4a1",
|
|
7668
|
+
"name": "",
|
|
7669
|
+
"modelName": "test",
|
|
7670
|
+
"action": "predictProba",
|
|
7671
|
+
"learningRate": 0.1,
|
|
7672
|
+
"iterations": 2000,
|
|
7673
|
+
"fitIntercept": true,
|
|
7674
|
+
"l2": 0,
|
|
7675
|
+
"tolerance": 1e-7,
|
|
7676
|
+
"verbose": false,
|
|
7677
|
+
"threshold": 0.5,
|
|
7678
|
+
"x": 440,
|
|
7679
|
+
"y": 480,
|
|
7680
|
+
"wires": [
|
|
7681
|
+
[
|
|
7682
|
+
"835d891c3b7b9451"
|
|
7683
|
+
]
|
|
7684
|
+
]
|
|
7685
|
+
},
|
|
7686
|
+
{
|
|
7687
|
+
"id": "6dcc4342cb95db99",
|
|
7688
|
+
"type": "columnar",
|
|
7689
|
+
"z": "8aa8799ad5afca2b",
|
|
7690
|
+
"name": "",
|
|
7691
|
+
"action": "appendFile",
|
|
7692
|
+
"filePath": "C:\\Users\\peter\\data\\columnarStore\\test",
|
|
7693
|
+
"x": 350,
|
|
7694
|
+
"y": 180,
|
|
7695
|
+
"wires": [
|
|
7696
|
+
[
|
|
7697
|
+
"f7056a42ba573367"
|
|
7698
|
+
]
|
|
7699
|
+
]
|
|
7700
|
+
},
|
|
7701
|
+
{
|
|
7702
|
+
"id": "f7056a42ba573367",
|
|
7703
|
+
"type": "debug",
|
|
7704
|
+
"z": "8aa8799ad5afca2b",
|
|
7705
|
+
"name": "debug 4",
|
|
7706
|
+
"active": true,
|
|
7707
|
+
"tosidebar": true,
|
|
7708
|
+
"console": false,
|
|
7709
|
+
"tostatus": false,
|
|
7710
|
+
"complete": "true",
|
|
7711
|
+
"targetType": "full",
|
|
7712
|
+
"statusVal": "",
|
|
7713
|
+
"statusType": "auto",
|
|
7714
|
+
"x": 700,
|
|
7715
|
+
"y": 360,
|
|
7716
|
+
"wires": []
|
|
7717
|
+
},
|
|
7718
|
+
{
|
|
7719
|
+
"id": "69adf3d24df340b6",
|
|
7720
|
+
"type": "inject",
|
|
7721
|
+
"z": "8aa8799ad5afca2b",
|
|
7722
|
+
"name": "",
|
|
7723
|
+
"props": [
|
|
7724
|
+
{
|
|
7725
|
+
"p": "payload"
|
|
7726
|
+
},
|
|
7727
|
+
{
|
|
7728
|
+
"p": "topic",
|
|
7729
|
+
"vt": "str"
|
|
7730
|
+
}
|
|
7731
|
+
],
|
|
7732
|
+
"repeat": "",
|
|
7733
|
+
"crontab": "",
|
|
7734
|
+
"once": false,
|
|
7735
|
+
"onceDelay": 0.1,
|
|
7736
|
+
"topic": "",
|
|
7737
|
+
"payload": "{\"records\":[{\"name\":\"John\",\"age\":30,\"city\":\"NYC\"},{\"name\":\"Jane\",\"age\":25,\"city\":\"LA\"}]}",
|
|
7738
|
+
"payloadType": "json",
|
|
7739
|
+
"x": 90,
|
|
7740
|
+
"y": 180,
|
|
7741
|
+
"wires": [
|
|
7742
|
+
[
|
|
7743
|
+
"6dcc4342cb95db99"
|
|
7744
|
+
]
|
|
7745
|
+
]
|
|
7746
|
+
},
|
|
7747
|
+
{
|
|
7748
|
+
"id": "c4db16448a22def4",
|
|
7749
|
+
"type": "inject",
|
|
7750
|
+
"z": "8aa8799ad5afca2b",
|
|
7751
|
+
"name": "",
|
|
7752
|
+
"props": [
|
|
7753
|
+
{
|
|
7754
|
+
"p": "payload"
|
|
7755
|
+
},
|
|
7756
|
+
{
|
|
7757
|
+
"p": "topic",
|
|
7758
|
+
"vt": "str"
|
|
7759
|
+
}
|
|
7760
|
+
],
|
|
7761
|
+
"repeat": "",
|
|
7762
|
+
"crontab": "",
|
|
7763
|
+
"once": false,
|
|
7764
|
+
"onceDelay": 0.1,
|
|
7765
|
+
"topic": "",
|
|
7766
|
+
"payload": "",
|
|
7767
|
+
"payloadType": "date",
|
|
7768
|
+
"x": 100,
|
|
7769
|
+
"y": 280,
|
|
7770
|
+
"wires": [
|
|
7771
|
+
[
|
|
7772
|
+
"cb96c887a71c3cba"
|
|
7773
|
+
]
|
|
7774
|
+
]
|
|
7775
|
+
},
|
|
7776
|
+
{
|
|
7777
|
+
"id": "cb96c887a71c3cba",
|
|
7778
|
+
"type": "columnar",
|
|
7779
|
+
"z": "8aa8799ad5afca2b",
|
|
7780
|
+
"name": "",
|
|
7781
|
+
"action": "readFile",
|
|
7782
|
+
"filePath": "C:\\Users\\peter\\data\\columnarStore\\test",
|
|
7783
|
+
"x": 340,
|
|
7784
|
+
"y": 280,
|
|
7785
|
+
"wires": [
|
|
7786
|
+
[
|
|
7787
|
+
"f7056a42ba573367"
|
|
7788
|
+
]
|
|
7789
|
+
]
|
|
7790
|
+
},
|
|
7791
|
+
{
|
|
7792
|
+
"id": "a7c85ce48c4baa7b",
|
|
7793
|
+
"type": "columnar",
|
|
7794
|
+
"z": "8aa8799ad5afca2b",
|
|
7795
|
+
"name": "",
|
|
7796
|
+
"action": "sqlQuery",
|
|
7797
|
+
"filePath": "C:\\Users\\peter\\data\\columnarStore\\test",
|
|
7798
|
+
"sqlQuery": "select * from ? limit 4",
|
|
7799
|
+
"outputProperty": "",
|
|
7800
|
+
"x": 340,
|
|
7801
|
+
"y": 360,
|
|
7802
|
+
"wires": [
|
|
7803
|
+
[
|
|
7804
|
+
"f7056a42ba573367"
|
|
7805
|
+
]
|
|
7806
|
+
]
|
|
7807
|
+
},
|
|
7808
|
+
{
|
|
7809
|
+
"id": "17aa1ae56c2be540",
|
|
7810
|
+
"type": "inject",
|
|
7811
|
+
"z": "8aa8799ad5afca2b",
|
|
7812
|
+
"name": "",
|
|
7813
|
+
"props": [
|
|
7814
|
+
{
|
|
7815
|
+
"p": "payload"
|
|
7816
|
+
},
|
|
7817
|
+
{
|
|
7818
|
+
"p": "topic",
|
|
7819
|
+
"vt": "str"
|
|
7820
|
+
}
|
|
7821
|
+
],
|
|
7822
|
+
"repeat": "",
|
|
7823
|
+
"crontab": "",
|
|
7824
|
+
"once": false,
|
|
7825
|
+
"onceDelay": 0.1,
|
|
7826
|
+
"topic": "",
|
|
7827
|
+
"payload": "{\"sql\":\"SELECT COUNT(*) AS cnt FROM ? a LIMIT 10\"}",
|
|
7828
|
+
"payloadType": "json",
|
|
7829
|
+
"x": 90,
|
|
7830
|
+
"y": 360,
|
|
7831
|
+
"wires": [
|
|
7832
|
+
[
|
|
7833
|
+
"a7c85ce48c4baa7b"
|
|
7834
|
+
]
|
|
7835
|
+
]
|
|
7836
|
+
},
|
|
7837
|
+
{
|
|
7838
|
+
"id": "50413b0ca082d563",
|
|
7839
|
+
"type": "columnar",
|
|
7840
|
+
"z": "8aa8799ad5afca2b",
|
|
7841
|
+
"name": "",
|
|
7842
|
+
"action": "sqlQuery",
|
|
7843
|
+
"filePath": "C:\\Users\\peter\\data\\columnarStore\\test",
|
|
7844
|
+
"sqlQuery": "SELECT \"a1\" as test,:msg.payload as name,COUNT(*) AS cnt1 FROM ? a where name= :msg.payload",
|
|
7845
|
+
"outputProperty": "payload",
|
|
7846
|
+
"parameterMappings": [
|
|
7847
|
+
{
|
|
7848
|
+
"paramName": "name",
|
|
7849
|
+
"msgPath": "payload"
|
|
7850
|
+
}
|
|
7851
|
+
],
|
|
7852
|
+
"x": 370,
|
|
7853
|
+
"y": 500,
|
|
7854
|
+
"wires": [
|
|
7855
|
+
[
|
|
7856
|
+
"f7056a42ba573367"
|
|
7857
|
+
]
|
|
7858
|
+
]
|
|
7859
|
+
},
|
|
7860
|
+
{
|
|
7861
|
+
"id": "34909ff6e5e0f6a7",
|
|
7862
|
+
"type": "inject",
|
|
7863
|
+
"z": "8aa8799ad5afca2b",
|
|
7864
|
+
"name": "",
|
|
7865
|
+
"props": [
|
|
7866
|
+
{
|
|
7867
|
+
"p": "payload"
|
|
7868
|
+
},
|
|
7869
|
+
{
|
|
7870
|
+
"p": "topic",
|
|
7871
|
+
"vt": "str"
|
|
7872
|
+
}
|
|
7873
|
+
],
|
|
7874
|
+
"repeat": "",
|
|
7875
|
+
"crontab": "",
|
|
7876
|
+
"once": false,
|
|
7877
|
+
"onceDelay": 0.1,
|
|
7878
|
+
"topic": "",
|
|
7879
|
+
"payload": "John",
|
|
7880
|
+
"payloadType": "str",
|
|
7881
|
+
"x": 90,
|
|
7882
|
+
"y": 520,
|
|
7883
|
+
"wires": [
|
|
7884
|
+
[
|
|
7885
|
+
"50413b0ca082d563",
|
|
7886
|
+
"a1caf329e4e87dbc"
|
|
7887
|
+
]
|
|
7888
|
+
]
|
|
7889
|
+
},
|
|
7890
|
+
{
|
|
7891
|
+
"id": "a1caf329e4e87dbc",
|
|
7892
|
+
"type": "columnar",
|
|
7893
|
+
"z": "8aa8799ad5afca2b",
|
|
7894
|
+
"name": "",
|
|
7895
|
+
"action": "sqlQuery",
|
|
7896
|
+
"filePath": "C:\\Users\\peter\\data\\columnarStore\\test",
|
|
7897
|
+
"sqlQuery": "SELECT :msg.payload as tes from ? limit 5",
|
|
7898
|
+
"outputProperty": "payload",
|
|
7899
|
+
"parameterMappings": [
|
|
7900
|
+
{
|
|
7901
|
+
"paramName": "name",
|
|
7902
|
+
"msgPath": "payload"
|
|
7903
|
+
}
|
|
7904
|
+
],
|
|
7905
|
+
"x": 370,
|
|
7906
|
+
"y": 580,
|
|
7907
|
+
"wires": [
|
|
7908
|
+
[
|
|
7909
|
+
"f7056a42ba573367"
|
|
7910
|
+
]
|
|
7911
|
+
]
|
|
7912
|
+
},
|
|
7913
|
+
{
|
|
7914
|
+
"id": "ce0e3fb3e004b4af",
|
|
7915
|
+
"type": "columnar",
|
|
7916
|
+
"z": "8aa8799ad5afca2b",
|
|
7917
|
+
"name": "",
|
|
7918
|
+
"action": "sqlQuery",
|
|
7919
|
+
"filePath": "C:\\Users\\peter\\data\\columnarStore\\test",
|
|
7920
|
+
"sqlQuery": "SELECT a.name,COUNT(*) AS cnt FROM ? a group by name",
|
|
7921
|
+
"outputProperty": "payload",
|
|
7922
|
+
"parameterMappings": [
|
|
7923
|
+
{
|
|
7924
|
+
"paramName": "name",
|
|
7925
|
+
"msgPath": "payload"
|
|
7926
|
+
}
|
|
7927
|
+
],
|
|
7928
|
+
"x": 420,
|
|
7929
|
+
"y": 740,
|
|
7930
|
+
"wires": [
|
|
7931
|
+
[
|
|
7932
|
+
"f7056a42ba573367"
|
|
7933
|
+
]
|
|
7934
|
+
]
|
|
7935
|
+
},
|
|
7936
|
+
{
|
|
7937
|
+
"id": "343f59f36e7293df",
|
|
7938
|
+
"type": "columnar",
|
|
7939
|
+
"z": "8aa8799ad5afca2b",
|
|
7940
|
+
"name": "",
|
|
7941
|
+
"action": "sqlQuery",
|
|
7942
|
+
"filePath": "C:\\Users\\peter\\data\\columnarStore\\test",
|
|
7943
|
+
"sqlQuery": "select a.name from ? a where name=\"John\" limit 4",
|
|
7944
|
+
"outputProperty": "",
|
|
7945
|
+
"x": 420,
|
|
7946
|
+
"y": 660,
|
|
7947
|
+
"wires": [
|
|
7948
|
+
[
|
|
7949
|
+
"f7056a42ba573367"
|
|
7950
|
+
]
|
|
7951
|
+
]
|
|
7952
|
+
},
|
|
7953
|
+
{
|
|
7954
|
+
"id": "babd195c3d0980dd",
|
|
7955
|
+
"type": "inject",
|
|
7956
|
+
"z": "8aa8799ad5afca2b",
|
|
7957
|
+
"name": "",
|
|
7958
|
+
"props": [
|
|
7959
|
+
{
|
|
7960
|
+
"p": "payload"
|
|
7961
|
+
},
|
|
7962
|
+
{
|
|
7963
|
+
"p": "topic",
|
|
7964
|
+
"vt": "str"
|
|
7965
|
+
}
|
|
7966
|
+
],
|
|
7967
|
+
"repeat": "",
|
|
7968
|
+
"crontab": "",
|
|
7969
|
+
"once": false,
|
|
7970
|
+
"onceDelay": 0.1,
|
|
7971
|
+
"topic": "",
|
|
7972
|
+
"payload": "",
|
|
7973
|
+
"payloadType": "date",
|
|
7974
|
+
"x": 120,
|
|
7975
|
+
"y": 660,
|
|
7976
|
+
"wires": [
|
|
7977
|
+
[
|
|
7978
|
+
"343f59f36e7293df",
|
|
7979
|
+
"ce0e3fb3e004b4af"
|
|
7980
|
+
]
|
|
7981
|
+
]
|
|
7982
|
+
},
|
|
7983
|
+
{
|
|
7984
|
+
"id": "0960f3c3ca9ba2dc",
|
|
7985
|
+
"type": "inject",
|
|
7986
|
+
"z": "8aa8799ad5afca2b",
|
|
7987
|
+
"name": "",
|
|
7988
|
+
"props": [
|
|
7989
|
+
{
|
|
7990
|
+
"p": "payload"
|
|
7991
|
+
},
|
|
7992
|
+
{
|
|
7993
|
+
"p": "topic",
|
|
7994
|
+
"vt": "str"
|
|
7995
|
+
}
|
|
7996
|
+
],
|
|
7997
|
+
"repeat": "",
|
|
7998
|
+
"crontab": "",
|
|
7999
|
+
"once": false,
|
|
8000
|
+
"onceDelay": 0.1,
|
|
8001
|
+
"topic": "",
|
|
8002
|
+
"payload": "John",
|
|
8003
|
+
"payloadType": "str",
|
|
8004
|
+
"x": 90,
|
|
8005
|
+
"y": 480,
|
|
8006
|
+
"wires": [
|
|
8007
|
+
[
|
|
8008
|
+
"50413b0ca082d563"
|
|
8009
|
+
]
|
|
8010
|
+
]
|
|
8011
|
+
},
|
|
8012
|
+
{
|
|
8013
|
+
"id": "a61df296c3a578e2",
|
|
8014
|
+
"type": "columnar",
|
|
8015
|
+
"z": "8aa8799ad5afca2b",
|
|
8016
|
+
"name": "",
|
|
8017
|
+
"action": "sqlQuery",
|
|
8018
|
+
"filePath": "C:\\Users\\peter\\data\\columnarStore\\test",
|
|
8019
|
+
"sqlQuery": "SELECT \"a1\" as test,:msg.payload as name, FROM ? a where name= :msg.payload",
|
|
8020
|
+
"outputProperty": "payload",
|
|
8021
|
+
"parameterMappings": [
|
|
8022
|
+
{
|
|
8023
|
+
"paramName": "name",
|
|
8024
|
+
"msgPath": "payload"
|
|
8025
|
+
}
|
|
8026
|
+
],
|
|
8027
|
+
"x": 370,
|
|
8028
|
+
"y": 440,
|
|
8029
|
+
"wires": [
|
|
8030
|
+
[
|
|
8031
|
+
"f7056a42ba573367"
|
|
8032
|
+
]
|
|
8033
|
+
]
|
|
8034
|
+
},
|
|
8035
|
+
{
|
|
8036
|
+
"id": "e88b60b96a6ce42a",
|
|
8037
|
+
"type": "inject",
|
|
8038
|
+
"z": "8aa8799ad5afca2b",
|
|
8039
|
+
"name": "",
|
|
8040
|
+
"props": [
|
|
8041
|
+
{
|
|
8042
|
+
"p": "payload"
|
|
8043
|
+
},
|
|
8044
|
+
{
|
|
8045
|
+
"p": "topic",
|
|
8046
|
+
"vt": "str"
|
|
8047
|
+
}
|
|
8048
|
+
],
|
|
8049
|
+
"repeat": "",
|
|
8050
|
+
"crontab": "",
|
|
8051
|
+
"once": false,
|
|
8052
|
+
"onceDelay": 0.1,
|
|
8053
|
+
"topic": "",
|
|
8054
|
+
"payload": "John",
|
|
8055
|
+
"payloadType": "str",
|
|
8056
|
+
"x": 90,
|
|
8057
|
+
"y": 420,
|
|
8058
|
+
"wires": [
|
|
8059
|
+
[
|
|
8060
|
+
"a61df296c3a578e2"
|
|
8061
|
+
]
|
|
8062
|
+
]
|
|
7507
8063
|
}
|
|
7508
8064
|
]
|