Skip to content

Commit ae3ecb4

Browse files
authored
Add a join example into clickhouse-main. Move to Node 24. (#2329)
1 parent 313d986 commit ae3ecb4

16 files changed

Lines changed: 310 additions & 40 deletions

File tree

.github/actions/setup-vuu-ui/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ runs:
77
- name: Install NodeJS
88
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e
99
with:
10-
node-version: "22"
10+
node-version: "24.x"
1111

1212
- name: Cache dependencies
1313
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae

.github/workflows/benchmark.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
1313

14-
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e
15-
with:
16-
node-version: "20.x"
17-
1814
- name: Set up JDK
1915
uses: actions/setup-java@1bcf9fb12cf4aa7d266a90ae39939e61372fe520
2016
with:

.github/workflows/create-release.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@ jobs:
2828
- name: Switch git branch
2929
run: git switch -c release-${{ env.RELEASE_VERSION }}
3030

31-
- name: Install Node
32-
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e
33-
with:
34-
node-version: "20.x"
35-
3631
- name: Set up JDK
3732
uses: actions/setup-java@1bcf9fb12cf4aa7d266a90ae39939e61372fe520
3833
with:

.github/workflows/cve-scanning-node.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Set up Node
2424
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e
2525
with:
26-
node-version: 20.x
26+
node-version: "24.x"
2727

2828
- name: Build project with NPM
2929
run: npm install --omit=dev

.github/workflows/legal-report-node.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Set up Node
2323
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e
2424
with:
25-
node-version: 20.x
25+
node-version: "24.x"
2626

2727
- name: Build project with NPM
2828
run: npm install --omit=dev

.github/workflows/publish-npm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
# Setup .npmrc file to publish to npm
1111
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e
1212
with:
13-
node-version: "20.x"
13+
node-version: "24.x"
1414
registry-url: "https://registry.npmjs.org"
1515
- run: cd ./vuu-ui && npm install
1616
- run: cd ./vuu-ui && npm run build

.github/workflows/publish-to-maven-central.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@ jobs:
1818
- name: Checkout source
1919
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
2020

21-
- name: Install Node
22-
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e
23-
with:
24-
node-version: "20.x"
25-
2621
- name: Set up JDK
2722
uses: actions/setup-java@1bcf9fb12cf4aa7d266a90ae39939e61372fe520
2823
with:

.github/workflows/test-server.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
2222

23-
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e
24-
with:
25-
node-version: "20.x"
26-
2723
- name: Set up JDK ${{ matrix.java-version }}
2824
uses: actions/setup-java@1bcf9fb12cf4aa7d266a90ae39939e61372fe520
2925
with:

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ To establish a complete client session (e.g., from a UI), you need an external H
2323

2424
## Installation - Client
2525

26+
#### Prerequisites
27+
* **Node 24+**
28+
2629
The UI scripts all run from the vuu/vuu-ui directory.
2730

2831
```sh
@@ -153,7 +156,7 @@ To submit a contribution:
153156

154157
1. Fork it (<https://github.com/finos/vuu/fork>)
155158
2. Create your feature branch (`git checkout -b feature/fooBar`)
156-
3. Read our [contribution guidelines](.github/CONTRIBUTING.md) and [Community Code of Conduct](https://www.finos.org/code-of-conduct)
159+
3. Read our [contribution guidelines](CONTRIBUTING.md) and [Community Code of Conduct](https://www.finos.org/code-of-conduct)
157160
4. Commit your changes (`git commit -am 'Add some fooBar'`)
158161
5. Push to the branch (`git push origin feature/fooBar`)
159162
6. Create a new Pull Request

example/main-clickhouse/src/main/scala/org/finos/vuu/ClickHouseMain.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import org.finos.vuu.plugin.clickhouse.ClickHouseContainer
1818
import org.finos.vuu.plugin.clickhouse.client.ClickHouseClient
1919
import org.finos.vuu.plugin.clickhouse.client.options.ClickHouseClientOptions
2020
import org.finos.vuu.plugin.clickhouse.module.ClickHouseTableModule
21-
import org.finos.vuu.plugin.clickhouse.util.ClickHouseOrderCreator
21+
import org.finos.vuu.plugin.clickhouse.util.ClickhouseJoinDataCreator
2222
import org.finos.vuu.plugin.virtualized.VirtualizedTablePlugin
2323

2424
object ClickHouseMain extends App with StrictLogging {
@@ -29,7 +29,7 @@ object ClickHouseMain extends App with StrictLogging {
2929

3030
private val container: ClickHouseContainer = ClickHouseContainer()
3131
container.start()
32-
ClickHouseOrderCreator.createOrderData(container, 10_000_000)
32+
ClickhouseJoinDataCreator.createTables(container, 100, 10_000_000)
3333

3434
logger.info("[ClickHouse] Ready.")
3535

0 commit comments

Comments
 (0)