-
-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
54 changed files
with
312 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
#### What is Aliyun OSS ? | ||
|
||
Fully managed object storage service to store and access any amount of data from anywhere | ||
|
||
#### Environment | ||
|
||
--- | ||
|
||
!!! note | ||
|
||
If you need to use this data source, you need to upgrade the DataCap service to >= `1.6.x` | ||
|
||
Support Time: `2023-02-23` | ||
|
||
#### SQL statement syntax | ||
|
||
--- | ||
|
||
This chapter describes the SQL syntax used in Aliyun OSS on DataCap. | ||
|
||
##### SELECT | ||
|
||
!!! note "Synopsis" | ||
|
||
```sql | ||
SELECT [ * | <Columns> ] select_expression [, ...] | ||
FROM from_item [. ...] | ||
``` | ||
|
||
where `from_item` is one of | ||
|
||
```sql | ||
table_name [ `a.b` | a.b | `a`.`b`] | ||
``` | ||
|
||
!!! danger | ||
|
||
When `table_name` is set to `all` the root directory is searched. | ||
|
||
!!! note "Select expressions" | ||
|
||
Each `select_expression` must be in one of the following forms: | ||
|
||
```sql | ||
expression [ column_alias ] | ||
``` | ||
|
||
```sql | ||
* | ||
``` | ||
|
||
In the case of `expression [ column_alias ]`, a single output column is defined. | ||
|
||
In the case of `*`, all columns of the relation defined by the query are included in the result set. | ||
|
||
```sql | ||
* | ||
-------- | ||
data | ||
``` | ||
|
||
!!! danger | ||
|
||
If it is a multi-level directory, such as `/oss/id/2`, it will be written **\`oss\`.\`id\`.\`2\`**, and use `.` to split between directories. | ||
|
||
#### Configure | ||
|
||
--- | ||
|
||
DataCap uses configuration files by default [alioss.json](https://github.com/EdurtIO/datacap/blob/dev/server/src/main/etc/conf/plugins/native/alioss.json) | ||
|
||
!!! note | ||
|
||
If your Aliyun OSS service version requires other special configurations, please refer to modifying the configuration file and restarting the DataCap service. | ||
|
||
=== "Configure" | ||
|
||
| Field | Required | Default Value | | ||
|:------:|:---------------------------------:|:-------------------------------------:| | ||
| `Name` | :material-check-circle: { .red } | - | | ||
| `Host` | :material-check-circle: { .red } | `https://oss-cn-regison.aliyuncs.com` | | ||
|
||
=== "Authorization" | ||
|
||
| Field | Required | Description | Default Value | | ||
|:----------:|:---------------------------------:|:-------------:|:-------------:| | ||
| `Username` | :material-check-circle: { .red } | access Id | - | | ||
| `Password` | :material-check-circle: { .red } | access Secret | - | | ||
|
||
=== "Advanced" | ||
|
||
| Field | Required | Description | Default Value | | ||
|:----------:|:--------------------------------:|:-----------:|:-------------:| | ||
| `Database` | :material-check-circle: { .red } | bucket name | `default` | | ||
|
||
#### Version (Validation) | ||
|
||
--- | ||
|
||
!!! warning | ||
|
||
The online service has not been tested yet, if you have detailed test results, please submit [issues](https://github.com/EdurtIO/datacap/issues/new/choose) to us | ||
|
||
- [x] `all version` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
!!! note | ||
|
||
To upgrade the software version `v1.6.0`, we need to go to the official website or the binary package distribution site to download the latest binary file of the software. | ||
|
||
For details of `v1.6.0` release, please [click](../../release/1.6.0.md) | ||
|
||
#### Require | ||
|
||
!!! danger | ||
|
||
Please take care to back up the current running service before updating | ||
|
||
- Stop server | ||
|
||
```bash | ||
cd datacap | ||
./bin/shutdown.sh | ||
``` | ||
|
||
- Backing up the current service | ||
|
||
```bash | ||
mv datacap datacap.bak | ||
``` | ||
|
||
- Decompress binaries | ||
|
||
```bash | ||
tar -xvzf datacap-server-1.6.0-release.tar.gz | ||
``` | ||
|
||
#### Update schema | ||
|
||
- Connect to the My SQL server and execute the following script file | ||
|
||
```bash | ||
cd schema/1.6.0 | ||
source update.sql | ||
``` | ||
|
||
#### Update server | ||
|
||
- Copy the service configuration file | ||
|
||
```bash | ||
cp -r -i datacap.bak/configure datacap/ | ||
``` | ||
|
||
- Restarting the Service | ||
|
||
```bash | ||
cd datacap | ||
./bin/restart.sh | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
!!! note | ||
|
||
The current release involves several major updates. | ||
|
||
:tada: :tada: :tada: :tada: :tada: :tada: **DataCap is released** :tada: :tada: :tada: :tada: :tada: :tada: | ||
|
||
| Release Version | Release Time | | ||
|:---------------:|:------------:| | ||
| `1.5.0` | `2023-02-16` | | ||
|
||
#### General | ||
|
||
--- | ||
|
||
- Support dsl query | ||
- Remove incubator | ||
- Add sql parser | ||
- Refactor the module directories | ||
- Set port default value is 0 | ||
|
||
#### SPI | ||
|
||
--- | ||
|
||
- Fixed jdbc no password exception is configured | ||
|
||
#### Web | ||
|
||
--- | ||
|
||
- Support multi column sort | ||
|
||
#### Plugins | ||
|
||
--- | ||
|
||
- Support zookeeper for native | ||
|
||
#### Docs | ||
|
||
--- | ||
|
||
- Add powered by page | ||
|
||
#### Redis (Native) | ||
|
||
--- | ||
|
||
- Fixed mget,hget value is displayed as null #219 | ||
|
||
#### Dependencies | ||
|
||
--- | ||
|
||
- Bump maven-javadoc-plugin from 2.10.4 to 3.4.1 | ||
- Bump ojdbc8 from 21.1.0.0 to 21.9.0.0 | ||
- Bump mongodb-jdbc from 2.0.0 to 2.0.2 | ||
|
||
#### Contributors | ||
|
||
--- | ||
|
||
!!! danger | ||
|
||
Many thanks to the following contributors for contributing to the source code of this release | ||
|
||
In no particular order | ||
|
||
| GitHub ID | | ||
|:--------------:| | ||
| @qianmoQ | |
Oops, something went wrong.