Skip to content

Commit 3a870a0

Browse files
authored
docs: upgrade 0.8.1 (#3335)
1 parent 6359945 commit 3a870a0

34 files changed

+136
-112
lines changed

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
11
# Changelog
22

3+
## [0.8.1] - 2023-06-28
4+
5+
### Features
6+
- Support a new SQL statement `ALTER TABLE ... ADD/DROP OFFLINE_PATH ...` (#3286 @aceforeverd, #3323 @tobegit3hub)
7+
- Support deploying SQLs in which the involved tables have data but without pre-aggregation defined (#3288 @dl239)
8+
- Support new built-in functions `top_n_value_ratio_cate`, `top_n_key_ratio_cate`, `list_except_by_key` and `list_except_by_value` (#3329 @aceforeverd)
9+
- Add a new SDK API to merge multiple SQLs for deployment (#3297 @vagetablechicken)
10+
- Support mapping topic tables in the Kafka connector (#3282 @vagetablechicken)
11+
- Support deploying the Kafka connector in Docker and Kubernetes (#3276 @tobegit3hub)
12+
- Support fetching jobs from NameServer (#3293 @dl239)
13+
- Enhance the diagnostic tool (#3224 #3208 #3285 #3258 #3303 @zhangziheng01233)
14+
- Enhance the `SELECT INTO ...` statement (#2529 @vagetablechicken)
15+
- Improve the documents (#3308 @aceforeverd)
16+
- Other minor features (#3312 #3314 @vagetablechicken, #3298 @aceforeverd)
17+
18+
### Bug Fixes
19+
- SQL deployment fails in some cases (#3328 @vagetablechicken)
20+
- Creating UDFs/UDAFs may fail as the `udf` directory does not exist by default. (#3326 @vagetablechicken)
21+
- Other minor bug fixes (#3281 #3284 @vagetablechicken)
22+
23+
### Code Refactoring
24+
#3226 @dl239, #3294 @aceforeverd
25+
326
## [0.8.0] - 2023-05-12
427

528
### Features
@@ -576,6 +599,7 @@ Removed
576599
- openmldb-0.2.0-linux.tar.gz targets on x86_64
577600
- aarch64 artifacts consider experimental
578601

602+
[0.8.1]: https://github.com/4paradigm/OpenMLDB/compare/v0.8.0...v0.8.1
579603
[0.8.0]: https://github.com/4paradigm/OpenMLDB/compare/v0.7.3...v0.8.0
580604
[0.7.3]: https://github.com/4paradigm/OpenMLDB/compare/v0.7.2...v0.7.3
581605
[0.7.2]: https://github.com/4paradigm/OpenMLDB/compare/v0.7.1...v0.7.2

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ We really appreciate the contribution from our community.
158158
## 12. Publications
159159

160160
- [Scalable Online Interval Join on Modern Multicore Processors in OpenMLDB](docs/paper/scale_oij_icde2023.pdf). Hao Zhang, Xianzhi Zeng, Shuhao Zhang, Xinyi Liu, Mian Lu, and Zhao Zheng. In 2023 IEEE 39rd International Conference on Data Engineering (ICDE) 2023. [[code]](https://github.com/4paradigm/OpenMLDB/tree/stream)
161-
- [FEBench: A Benchmark for Real-Time Relational Data Feature Extraction](https://github.com/decis-bench/febench/blob/main/report/febench.pdf). Xuanhe Zhou, Cheng Chen, Kunyi Li, Bingsheng He, Mian Lu, Qiaosheng Liu, Wei Huang, Guoliang Li, Zhao Zheng, Yuqiang Chen. In submission. [[code]](https://github.com/decis-bench/febench).
161+
- [FEBench: A Benchmark for Real-Time Relational Data Feature Extraction](https://github.com/decis-bench/febench/blob/main/report/febench.pdf). Xuanhe Zhou, Cheng Chen, Kunyi Li, Bingsheng He, Mian Lu, Qiaosheng Liu, Wei Huang, Guoliang Li, Zhao Zheng, Yuqiang Chen. International Conference on Very Large Data Bases (VLDB) 2023. [[code]](https://github.com/decis-bench/febench).
162162
- [A System for Time Series Feature Extraction in Federated Learning](https://dl.acm.org/doi/pdf/10.1145/3511808.3557176). Siqi Wang, Jiashu Li, Mian Lu, Zhao Zheng, Yuqiang Chen, and Bingsheng He. 2022. In Proceedings of the 31st ACM International Conference on Information & Knowledge Management (CIKM) 2022. [[code]](https://github.com/4paradigm/tsfe).
163163
- [Optimizing in-memory database engine for AI-powered on-line decision augmentation using persistent memory](http://vldb.org/pvldb/vol14/p799-chen.pdf). Cheng Chen, Jun Yang, Mian Lu, Taize Wang, Zhao Zheng, Yuqiang Chen, Wenyuan Dai, Bingsheng He, Weng-Fai Wong, Guoan Wu, Yuping Zhao, and Andy Rudoff. International Conference on Very Large Data Bases (VLDB) 2021.
164164

README_cn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ OpenMLDB 的整体架构设计是为了达到特征平台从开发到部署的
147147
## 12. 学术论文
148148

149149
- [Scalable Online Interval Join on Modern Multicore Processors in OpenMLDB](docs/paper/scale_oij_icde2023.pdf). Hao Zhang, Xianzhi Zeng, Shuhao Zhang, Xinyi Liu, Mian Lu, and Zhao Zheng. In 2023 IEEE 39rd International Conference on Data Engineering (ICDE) 2023. [[code]](https://github.com/4paradigm/OpenMLDB/tree/stream)
150-
- [FEBench: A Benchmark for Real-Time Relational Data Feature Extraction](https://github.com/decis-bench/febench/blob/main/report/febench.pdf). Xuanhe Zhou, Cheng Chen, Kunyi Li, Bingsheng He, Mian Lu, Qiaosheng Liu, Wei Huang, Guoliang Li, Zhao Zheng, Yuqiang Chen. In submission. [[code]](https://github.com/decis-bench/febench).
150+
- [FEBench: A Benchmark for Real-Time Relational Data Feature Extraction](https://github.com/decis-bench/febench/blob/main/report/febench.pdf). Xuanhe Zhou, Cheng Chen, Kunyi Li, Bingsheng He, Mian Lu, Qiaosheng Liu, Wei Huang, Guoliang Li, Zhao Zheng, Yuqiang Chen. International Conference on Very Large Data Bases (VLDB) 2023. [[code]](https://github.com/decis-bench/febench).
151151
- [A System for Time Series Feature Extraction in Federated Learning](https://dl.acm.org/doi/pdf/10.1145/3511808.3557176). Siqi Wang, Jiashu Li, Mian Lu, Zhao Zheng, Yuqiang Chen, and Bingsheng He. 2022. In Proceedings of the 31st ACM International Conference on Information & Knowledge Management (CIKM) 2022. [[code]](https://github.com/4paradigm/tsfe).
152152
- [Optimizing in-memory database engine for AI-powered on-line decision augmentation using persistent memory](http://vldb.org/pvldb/vol14/p799-chen.pdf). Cheng Chen, Jun Yang, Mian Lu, Taize Wang, Zhao Zheng, Yuqiang Chen, Wenyuan Dai, Bingsheng He, Weng-Fai Wong, Guoan Wu, Yuping Zhao, and Andy Rudoff. International Conference on Very Large Data Bases (VLDB) 2021.
153153

demo/java_quickstart/demo/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<dependency>
3030
<groupId>com.4paradigm.openmldb</groupId>
3131
<artifactId>openmldb-jdbc</artifactId>
32-
<version>0.8.0</version>
32+
<version>0.8.1</version>
3333
</dependency>
3434
<dependency>
3535
<groupId>org.testng</groupId>

demo/jd-recommendation/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ For full instructions, please refer to [website page](http://openmldb.ai/docs/zh
1111
## OpenMLDB Feature Extraction
1212

1313
```
14-
docker run -dit --name=openmldb --network=host -v $demodir:/work/oneflow_demo 4pdosc/openmldb:0.8.0 bash
14+
docker run -dit --name=openmldb --network=host -v $demodir:/work/oneflow_demo 4pdosc/openmldb:0.8.1 bash
1515
docker exec -it openmldb bash
1616
```
1717

demo/predict-taxi-trip-duration/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ w2 as (PARTITION BY passenger_count ORDER BY pickup_datetime ROWS_RANGE BETWEEN
2828
2929
**Start docker**
3030
```
31-
docker run -it 4pdosc/openmldb:0.8.0 bash
31+
docker run -it 4pdosc/openmldb:0.8.1 bash
3232
```
3333
**Initialize environment**
3434
```bash
@@ -138,7 +138,7 @@ python3 predict.py
138138
**Start docker**
139139
140140
```bash
141-
docker run -it 4pdosc/openmldb:0.8.0 bash
141+
docker run -it 4pdosc/openmldb:0.8.1 bash
142142
```
143143
**Initialize environment**
144144

demo/talkingdata-adtracking-fraud-detection/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ We recommend you to use docker to run the demo. OpenMLDB and dependencies have b
1515
**Start docker**
1616

1717
```
18-
docker run -it 4pdosc/openmldb:0.8.0 bash
18+
docker run -it 4pdosc/openmldb:0.8.1 bash
1919
```
2020

2121
#### Run locally

docs/en/deploy/compile.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
This section describes the steps to compile and use OpenMLDB inside its official docker image [hybridsql](https://hub.docker.com/r/4pdosc/hybridsql).
88
The docker image has packed required tools and dependencies, so there is no need to set them up separately. To compile without the official docker image, refer to the section [Detailed Instructions for Build](#detailed-instructions-for-build) below.
99

10-
Keep in mind that you should always use the same version of both compile image and [OpenMLDB version](https://github.com/4paradigm/OpenMLDB/releases). This section demonstrates compiling for [OpenMLDB v0.8.0](https://github.com/4paradigm/OpenMLDB/releases/tag/v0.8.0) under `hybridsql:0.8.0` ,If you prefer to compile on the latest code in `main` branch, pull `hybridsql:latest` image instead.
10+
Keep in mind that you should always use the same version of both compile image and [OpenMLDB version](https://github.com/4paradigm/OpenMLDB/releases). This section demonstrates compiling for [OpenMLDB v0.8.1](https://github.com/4paradigm/OpenMLDB/releases/tag/v0.8.1) under `hybridsql:0.8.1` ,If you prefer to compile on the latest code in `main` branch, pull `hybridsql:latest` image instead.
1111

1212
1. Pull the docker image
1313

@@ -21,11 +21,11 @@ Keep in mind that you should always use the same version of both compile image a
2121
docker run -it 4pdosc/hybridsql:0.8 bash
2222
```
2323

24-
3. Download the OpenMLDB source code inside the docker container, and setting the branch into v0.8.0
24+
3. Download the OpenMLDB source code inside the docker container, and setting the branch into v0.8.1
2525

2626
```bash
2727
cd ~
28-
git clone -b v0.8.0 https://github.com/4paradigm/OpenMLDB.git
28+
git clone -b v0.8.1 https://github.com/4paradigm/OpenMLDB.git
2929
```
3030

3131
4. Compile OpenMLDB
@@ -151,7 +151,7 @@ The built jar packages are in the `target` path of each submodule. If you want t
151151
1. Downloading the pre-built OpenMLDB Spark distribution:
152152

153153
```bash
154-
wget https://github.com/4paradigm/spark/releases/download/v3.2.1-openmldb0.8.0/spark-3.2.1-bin-openmldbspark.tgz
154+
wget https://github.com/4paradigm/spark/releases/download/v3.2.1-openmldb0.8.1/spark-3.2.1-bin-openmldbspark.tgz
155155
```
156156

157157
Alternatively, you can also download the source code and compile from scratch:

docs/en/deploy/install_deploy.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* The number of cores is recommended to be no less than 4 cores. If the CPU does not support the AVX2 instruction set in the Linux environment, the deployment package needs to be recompiled from the source code.
1010

1111
## Deployment Package
12-
The precompiled OpenMLDB deployment package is used by default in this documentation ([Linux](https://github.com/4paradigm/OpenMLDB/releases/download/v0.8.0/openmldb-0.8.0-linux.tar.gz) , [macOS](https://github.com/4paradigm/OpenMLDB/releases/download/v0.8.0/openmldb-0.8.0-darwin.tar.gz)), the supported operating system requirements are: CentOS 7, Ubuntu 20.04, macOS >= 10.15. If the user wishes to compile by himself (for example, for OpenMLDB source code development, the operating system or CPU architecture is not in the support list of the precompiled deployment package, etc.), the user can choose to compile and use in the docker container or compile from the source code. For details, please refer to our [compile documentation](compile.md).
12+
The precompiled OpenMLDB deployment package is used by default in this documentation ([Linux](https://github.com/4paradigm/OpenMLDB/releases/download/v0.8.1/openmldb-0.8.1-linux.tar.gz) , [macOS](https://github.com/4paradigm/OpenMLDB/releases/download/v0.8.1/openmldb-0.8.1-darwin.tar.gz)), the supported operating system requirements are: CentOS 7, Ubuntu 20.04, macOS >= 10.15. If the user wishes to compile by himself (for example, for OpenMLDB source code development, the operating system or CPU architecture is not in the support list of the precompiled deployment package, etc.), the user can choose to compile and use in the docker container or compile from the source code. For details, please refer to our [compile documentation](compile.md).
1313

1414
## Configure Environment (Linux)
1515

@@ -91,9 +91,9 @@ OpenMLDB standalone version needs to deploy a nameserver and a tablet. The names
9191
### Download the OpenMLDB Release Package
9292

9393
```
94-
wget https://github.com/4paradigm/OpenMLDB/releases/download/v0.8.0/openmldb-0.8.0-linux.tar.gz
95-
tar -zxvf openmldb-0.8.0-linux.tar.gz
96-
cd openmldb-0.8.0-linux
94+
wget https://github.com/4paradigm/OpenMLDB/releases/download/v0.8.1/openmldb-0.8.1-linux.tar.gz
95+
tar -zxvf openmldb-0.8.1-linux.tar.gz
96+
cd openmldb-0.8.1-linux
9797
```
9898

9999
### Configuration
@@ -163,9 +163,9 @@ Environment Requirements:
163163
### Download the OpenMLDB Deployment Package
164164

165165
```
166-
wget https://github.com/4paradigm/OpenMLDB/releases/download/v0.8.0/openmldb-0.8.0-linux.tar.gz
167-
tar -zxvf openmldb-0.8.0-linux.tar.gz
168-
cd openmldb-0.8.0-linux
166+
wget https://github.com/4paradigm/OpenMLDB/releases/download/v0.8.1/openmldb-0.8.1-linux.tar.gz
167+
tar -zxvf openmldb-0.8.1-linux.tar.gz
168+
cd openmldb-0.8.1-linux
169169
```
170170

171171
### Configuration
@@ -175,7 +175,7 @@ which are listed below.
175175

176176
| Environment Variables | Default Values | Definitons |
177177
|-----------------------------------|---------------------------------------------------------|-------------------------------------------------------------------------------------------------------|
178-
| OPENMLDB_VERSION | 0.8.0 | OpenMLDB version |
178+
| OPENMLDB_VERSION | 0.8.1 | OpenMLDB version |
179179
| OPENMLDB_MODE | standalone | standalone or cluster mode |
180180
| OPENMLDB_HOME | root directory of the release folder | openmldb root path |
181181
| SPARK_HOME | $OPENMLDB_HOME/spark | the root path of openmldb spark release. if not exists, download from online |
@@ -311,10 +311,10 @@ Deploy the Zookeeper cluster [refer to here](https://zookeeper.apache.org/doc/r3
311311
#### 1. Download the OpenMLDB Deployment Package
312312

313313
```
314-
wget https://github.com/4paradigm/OpenMLDB/releases/download/v0.8.0/openmldb-0.8.0-linux.tar.gz
315-
tar -zxvf openmldb-0.8.0-linux.tar.gz
316-
mv openmldb-0.8.0-linux openmldb-tablet-0.8.0
317-
cd openmldb-tablet-0.8.0
314+
wget https://github.com/4paradigm/OpenMLDB/releases/download/v0.8.1/openmldb-0.8.1-linux.tar.gz
315+
tar -zxvf openmldb-0.8.1-linux.tar.gz
316+
mv openmldb-0.8.1-linux openmldb-tablet-0.8.1
317+
cd openmldb-tablet-0.8.1
318318
```
319319

320320
#### 2. Modify the Configuration File: conf/tablet.flags
@@ -361,10 +361,10 @@ Repeat the above steps to deploy multiple tablets.
361361
#### 1. Download the OpenMLDB Deployment Package
362362

363363
```
364-
wget https://github.com/4paradigm/OpenMLDB/releases/download/v0.8.0/openmldb-0.8.0-linux.tar.gz
365-
tar -zxvf openmldb-0.8.0-linux.tar.gz
366-
mv openmldb-0.8.0-linux openmldb-ns-0.8.0
367-
cd openmldb-ns-0.8.0
364+
wget https://github.com/4paradigm/OpenMLDB/releases/download/v0.8.1/openmldb-0.8.1-linux.tar.gz
365+
tar -zxvf openmldb-0.8.1-linux.tar.gz
366+
mv openmldb-0.8.1-linux openmldb-ns-0.8.1
367+
cd openmldb-ns-0.8.1
368368
```
369369

370370
#### 2. Modify the Configuration File: conf/nameserver.flags
@@ -411,10 +411,10 @@ Before running, make sure that the OpenMLDB cluster has been started, otherwise
411411
#### 1. Download the OpenMLDB Deployment Package
412412

413413
```
414-
wget https://github.com/4paradigm/OpenMLDB/releases/download/v0.8.0/openmldb-0.8.0-linux.tar.gz
415-
tar -zxvf openmldb-0.8.0-linux.tar.gz
416-
mv openmldb-0.8.0-linux openmldb-apiserver-0.8.0
417-
cd openmldb-apiserver-0.8.0
414+
wget https://github.com/4paradigm/OpenMLDB/releases/download/v0.8.1/openmldb-0.8.1-linux.tar.gz
415+
tar -zxvf openmldb-0.8.1-linux.tar.gz
416+
mv openmldb-0.8.1-linux openmldb-apiserver-0.8.1
417+
cd openmldb-apiserver-0.8.1
418418
```
419419

420420
#### 2. Modify the Configuration File: conf/apiserver.flags
@@ -454,12 +454,12 @@ TaskManager can be deployed in single server. You can deploy multiple instances
454454
#### 1. Download the OpenMLDB Spark Distribution that is Optimized for Feature Engineering
455455

456456
```
457-
wget https://github.com/4paradigm/spark/releases/download/v3.2.1-openmldb0.8.0/spark-3.2.1-bin-openmldbspark.tgz
457+
wget https://github.com/4paradigm/spark/releases/download/v3.2.1-openmldb0.8.1/spark-3.2.1-bin-openmldbspark.tgz
458458
tar -zxvf spark-3.2.1-bin-openmldbspark.tgz
459-
wget https://github.com/4paradigm/OpenMLDB/releases/download/v0.8.0/openmldb-0.8.0-linux.tar.gz
460-
tar -zxvf openmldb-0.8.0-linux.tar.gz
461-
mv openmldb-0.8.0-linux openmldb-taskmanager-0.8.0
462-
cd openmldb-taskmanager-0.8.0
459+
wget https://github.com/4paradigm/OpenMLDB/releases/download/v0.8.1/openmldb-0.8.1-linux.tar.gz
460+
tar -zxvf openmldb-0.8.1-linux.tar.gz
461+
mv openmldb-0.8.1-linux openmldb-taskmanager-0.8.1
462+
cd openmldb-taskmanager-0.8.1
463463
```
464464

465465
#### 2. Modify the Configuration File conf/taskmanager.properties

docs/en/quickstart/java_sdk.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ Configure maven pom
99
<dependency>
1010
<groupId>com.4paradigm.openmldb</groupId>
1111
<artifactId>openmldb-jdbc</artifactId>
12-
<version>0.8.0</version>
12+
<version>0.8.1</version>
1313
</dependency>
1414
<dependency>
1515
<groupId>com.4paradigm.openmldb</groupId>
1616
<artifactId>openmldb-native</artifactId>
17-
<version>0.8.0</version>
17+
<version>0.8.1</version>
1818
</dependency>
1919
```
2020
### Package Installation on Mac
@@ -24,15 +24,15 @@ Configure maven pom
2424
<dependency>
2525
<groupId>com.4paradigm.openmldb</groupId>
2626
<artifactId>openmldb-jdbc</artifactId>
27-
<version>0.8.0</version>
27+
<version>0.8.1</version>
2828
</dependency>
2929
<dependency>
3030
<groupId>com.4paradigm.openmldb</groupId>
3131
<artifactId>openmldb-native</artifactId>
32-
<version>0.8.0-macos</version>
32+
<version>0.8.1-macos</version>
3333
</dependency>
3434
```
35-
Note that since `openmldb-native` contains the C++ static library compiled by OpenMLDB, by default it is a Linux's static library. On macOS, the version of the above openmldb-native needs to be changed to `0.8.0-macos`, and the version of openmldb-jdbc remains unchanged.
35+
Note that since `openmldb-native` contains the C++ static library compiled by OpenMLDB, by default it is a Linux's static library. On macOS, the version of the above openmldb-native needs to be changed to `0.8.1-macos`, and the version of openmldb-jdbc remains unchanged.
3636

3737
The macOS native relase only supports macos-12. If you want use in macos-11 or macos 10.15, you should build openmldb-native from source in macos-11/macos-10.15, see [Build Java SDK](../deploy/compile.md#build-java-sdk-with-multi-processes) for details.
3838

0 commit comments

Comments
 (0)