Skip to content

Commit a4e3c90

Browse files
authored
Merge pull request #1 from WeBankFinTech/master
update
2 parents 55a2589 + b7cb995 commit a4e3c90

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+639
-1247
lines changed

.eslintrc.js

Lines changed: 66 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,69 @@
11
module.exports = {
2-
root: true,
3-
env: {
4-
node: true
5-
},
6-
'extends': [
7-
'plugin:vue/essential',
8-
'@vue/standard'
9-
],
10-
rules: {
11-
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
12-
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
13-
'key-spacing': ['error'],
14-
'keyword-spacing': ['error'],
15-
'standard/no-callback-literal': 0,
16-
'handle-callback-err': 0,
17-
'no-return-assign': 0,
18-
'eqeqeq': 0,
19-
'comma-dangle': 0,
20-
'semi': 0,
21-
'space-before-function-paren': 0,
22-
'keyword-spacing': 0,
23-
'no-useless-escape': 0,
24-
'no-invalid-this': 0,
25-
'operator-linebreak': 0,
26-
'indent': [
27-
'error',
28-
4,
29-
{
30-
'SwitchCase': 1
31-
}
2+
root: true,
3+
env: {
4+
node: true
5+
},
6+
'extends': [
7+
'plugin:vue/essential',
8+
'@vue/standard'
329
],
33-
'no-const-assign': 'warn',
34-
'no-this-before-super': 'warn',
35-
'no-undef': 2,
36-
'no-unreachable': 'warn',
37-
'no-unused-vars': 'warn',
38-
'constructor-super': 'warn',
39-
'valid-typeof': 'warn',
40-
'one-var': 'warn',
41-
'max-len': 'off',
42-
'no-trailing-spaces': 'off',
43-
'require-jsdoc': 'warn',
44-
'camelcase': 'warn',
45-
'no-invalid-this': 'warn',
46-
'linebreak-style': 0,
47-
'vue/no-parsing-error': [2, {
48-
'x-invalid-end-tag': false,
49-
'invalid-first-character-of-tag-name': false
50-
}],
51-
'no-tabs': 0,
52-
'vue/html-indent': [2, 2, {
53-
'attribute': 1,
54-
'closeBracket': 0,
55-
'alignAttributesVertically': false
56-
}],
57-
'vue/require-default-prop': 0,
58-
'vue/component-name-in-template-casing': 0,
59-
'vue/html-closing-bracket-spacing': 0,
60-
'vue/html-closing-bracket-newline': 0,
61-
'vue/singleline-html-element-content-newline': 0,
62-
'vue/multiline-html-element-content-newline': 0,
63-
'vue/attributes-order': 0,
64-
'vue/html-self-closing': 0
65-
},
66-
parserOptions: {
67-
parser: 'babel-eslint'
68-
}
10+
rules: {
11+
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
12+
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
13+
'key-spacing': ['error'],
14+
'keyword-spacing': ['error'],
15+
'standard/no-callback-literal': 0,
16+
'handle-callback-err': 0,
17+
'no-return-assign': 0,
18+
'eqeqeq': 0,
19+
'comma-dangle': 0,
20+
'semi': 0,
21+
'space-before-function-paren': 0,
22+
'keyword-spacing': 0,
23+
'no-useless-escape': 0,
24+
'no-invalid-this': 0,
25+
'operator-linebreak': 0,
26+
'indent': [
27+
'error',
28+
4,
29+
{
30+
'SwitchCase': 1
31+
}
32+
],
33+
'no-const-assign': 'warn',
34+
'no-this-before-super': 'warn',
35+
'no-undef': 2,
36+
'no-unreachable': 'warn',
37+
'no-unused-vars': 'warn',
38+
'constructor-super': 'warn',
39+
'valid-typeof': 'warn',
40+
'one-var': 'warn',
41+
'max-len': 'off',
42+
'no-trailing-spaces': 'off',
43+
'require-jsdoc': 'warn',
44+
'camelcase': 'warn',
45+
'no-invalid-this': 'warn',
46+
'linebreak-style': 0,
47+
'vue/no-parsing-error': [2, {
48+
'x-invalid-end-tag': false,
49+
'invalid-first-character-of-tag-name': false
50+
}],
51+
'no-tabs': 0,
52+
'vue/html-indent': [2, 2, {
53+
'attribute': 1,
54+
'closeBracket': 0,
55+
'alignAttributesVertically': false
56+
}],
57+
'vue/require-default-prop': 0,
58+
'vue/component-name-in-template-casing': 0,
59+
'vue/html-closing-bracket-spacing': 0,
60+
'vue/html-closing-bracket-newline': 0,
61+
'vue/singleline-html-element-content-newline': 0,
62+
'vue/multiline-html-element-content-newline': 0,
63+
'vue/attributes-order': 0,
64+
'vue/html-self-closing': 0
65+
},
66+
parserOptions: {
67+
parser: 'babel-eslint'
68+
}
6969
}

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66
node_modules/
77
dist/
88

9-
.package-lock.json
10-
.env.development
9+
package-lock.json
10+
.env.development
11+
wedatasphere-scriptis-*.zip

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ Scriptis
99

1010
Scriptis is for interactive data analysis with script development(SQL, Pyspark, HiveQL), task submission(Spark, Hive), UDF, function, resource management and intelligent diagnosis.
1111

12+
![运行时功能](docs/zh_CN/images/readme/running.gif)
13+
1214
## Features
1315

1416
* Script editor: Support multi-language, auto-completion, syntax highlighting and SQL syntax error-correction.
@@ -34,11 +36,9 @@ Read the Quick Start [Quick Start](/docs/en_US/ch3/Scriptis_Quick_Start.md)
3436
![Comparison](/docs/en_US/images/readme/Comparison.png)
3537

3638
## Community
37-
If you desire immediate response, please kindly raise issues to us or scan the below QR code by WeChat to join our group:
38-
39-
![WeChat](/docs/en_US/images/wechat.jpg)
39+
If you desire immediate response, please kindly raise issues to us or scan the below QR code by WeChat and QQ to join our group:
4040

41-
QQ Group:872767532
41+
![WeChatQQ](/docs/en_US/images/wechatQQ.png)
4242

4343
## License
4444

babel.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = {
2-
presets: [
3-
'@vue/app'
4-
]
2+
presets: [
3+
'@vue/app'
4+
]
55
}

config.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Configuring front-end ports
2+
scriptis_port="8088"
3+
4+
# URL of the backend linkis gateway
5+
linkis_url="http://localhost:20401"
6+
7+
# Scriptis ip address
8+
scriptis_ipaddr=$(ip addr | awk '/^[0-9]+: / {}; /inet.*global/ {print gensub(/(.*)\/(.*)/, "\\1", "g", $2)}')

docs/en_US/ch4/Scriptis_Manual.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,15 +152,12 @@ This module has the following functions:
152152

153153
2. Visual analysis: Click on visual analysis button to visualize the result through VSBI. (Soon to be released)
154154

155-
![ide21](../images/ch4/ide21.png)
156-
157155
3. Downloading: Users can directly download the results as csv and excel files to local browser. Only support downloading 5000 lines for now.
158156

159157
4. Exporting: Results can be exported to the workspace (shared directory of BDAP) in either csv or excel format and would not be restricted to 5000 lines if you choose full export at first. To use full export, add a comment in front of sql: `--set wds.linkis.engine.no.limit.allow=true`
160158

161159
5. Go to Console--Configuration--Pipeline--Import and Export settings--Result export type to choose whether export results in csv format or excel format.
162160

163-
![ide22](../images/ch4/ide22.png)
164161
## 8 Script History
165162

166163
Script history shows all the running information of the script. A user can quickly find the log and running results of a script that was run before and therefore, avoid running the same script repeatedly.

docs/en_US/images/ch3/07.png

-51.1 KB
Loading

docs/en_US/images/ch4/ide25.png

-474 KB
Loading

docs/en_US/images/readme/cs.gif

-291 KB
Loading
-404 KB
Loading

0 commit comments

Comments
 (0)