Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dlink
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhaowei
dlink
Commits
c555031c
Unverified
Commit
c555031c
authored
Mar 29, 2022
by
xiaoguaiguai
Committed by
GitHub
Mar 29, 2022
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'DataLinkDC:dev' into dev
parents
0ee0d4f9
b4a9d2b9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
6 deletions
+16
-6
index.tsx
dlink-web/src/components/Studio/StudioEdit/index.tsx
+4
-3
index.tsx
dlink-web/src/components/Studio/StudioMenu/index.tsx
+11
-2
datasource.md
docs/zh-CN/extend/datasource.md
+1
-1
No files found.
dlink-web/src/components/Studio/StudioEdit/index.tsx
View file @
c555031c
...
@@ -157,9 +157,10 @@ const FlinkSqlEditor = (props:any) => {
...
@@ -157,9 +157,10 @@ const FlinkSqlEditor = (props:any) => {
var
formatted
=
format
(
model
.
getValueInRange
(
range
),
{
var
formatted
=
format
(
model
.
getValueInRange
(
range
),
{
indent
:
' '
.
repeat
(
options
.
tabSize
)
indent
:
' '
.
repeat
(
options
.
tabSize
)
});
});
formatted
=
formatted
.
replace
(
/`
([^
`
]
*
)
`/g
,
function
(){
return
'`'
+
arguments
[
1
].
trim
()
+
'`'
})
formatted
=
formatted
.
replaceAll
(
/`
([^
`
]
*
)
`/g
,
function
(){
return
'`'
+
arguments
[
1
].
trim
()
+
'`'
})
.
replace
(
/
\$
{
([^
}
]
*
)
}/g
,
function
(){
return
'${'
+
arguments
[
1
].
trim
()
+
'}'
})
.
replaceAll
(
/
\$
{
([^
}
]
*
)
}/g
,
function
(){
return
'${'
+
arguments
[
1
].
trim
()
+
'}'
})
.
replace
(
/
\|
([^
}
]
*
)\|
/g
,
function
(){
return
'|'
+
arguments
[
1
].
trim
()
+
'|'
})
.
replaceAll
(
/
\|
([^
}
]
*
)\|
/g
,
function
(){
return
'|'
+
arguments
[
1
].
trim
()
+
'|'
})
.
replaceAll
(
/ - /g
,
function
(){
return
'-'
});
return
[
return
[
{
{
range
:
range
,
range
:
range
,
...
...
dlink-web/src/components/Studio/StudioMenu/index.tsx
View file @
c555031c
...
@@ -4,7 +4,7 @@ import {
...
@@ -4,7 +4,7 @@ import {
PauseCircleTwoTone
,
CarryOutTwoTone
,
DeleteTwoTone
,
PlayCircleTwoTone
,
CameraTwoTone
,
SnippetsTwoTone
,
PauseCircleTwoTone
,
CarryOutTwoTone
,
DeleteTwoTone
,
PlayCircleTwoTone
,
CameraTwoTone
,
SnippetsTwoTone
,
FileAddTwoTone
,
FolderOpenTwoTone
,
SafetyCertificateTwoTone
,
SaveTwoTone
,
FlagTwoTone
,
CodeTwoTone
,
FileAddTwoTone
,
FolderOpenTwoTone
,
SafetyCertificateTwoTone
,
SaveTwoTone
,
FlagTwoTone
,
CodeTwoTone
,
EnvironmentOutlined
,
SmileOutlined
,
RocketTwoTone
,
QuestionCircleTwoTone
,
MessageOutlined
,
ClusterOutlined
EnvironmentOutlined
,
SmileOutlined
,
RocketTwoTone
,
QuestionCircleTwoTone
,
MessageOutlined
,
ClusterOutlined
,
EditTwoTone
,
RestTwoTone
,
EditTwoTone
,
RestTwoTone
,
ShrinkOutlined
}
from
"@ant-design/icons"
;
}
from
"@ant-design/icons"
;
import
Space
from
"antd/es/space"
;
import
Space
from
"antd/es/space"
;
import
Divider
from
"antd/es/divider"
;
import
Divider
from
"antd/es/divider"
;
...
@@ -698,7 +698,16 @@ const StudioMenu = (props: any) => {
...
@@ -698,7 +698,16 @@ const StudioMenu = (props: any) => {
style=
{
{
top
:
0
,
padding
:
0
,
margin
:
0
,
maxWidth
:
'100vw'
}
}
style=
{
{
top
:
0
,
padding
:
0
,
margin
:
0
,
maxWidth
:
'100vw'
}
}
destroyOnClose
destroyOnClose
maskClosable=
{
false
}
maskClosable=
{
false
}
closable=
{
false
}
closable=
{
true
}
closeIcon=
{
<
Tooltip
title=
"退出全屏"
>
<
Button
icon=
{
<
ShrinkOutlined
/>
}
type=
"primary"
style=
{
{
position
:
"fixed"
,
right
:
"0"
}
}
>
退出
</
Button
>
</
Tooltip
>
}
visible=
{
isFullScreen
}
visible=
{
isFullScreen
}
footer=
{
null
}
footer=
{
null
}
onCancel=
{
()
=>
{
onCancel=
{
()
=>
{
...
...
docs/zh-CN/extend/datasource.md
View file @
c555031c
...
@@ -11,4 +11,4 @@
...
@@ -11,4 +11,4 @@
使用以上数据源,请查阅注册中心
[
数据源管理
](
/zh-CN/administrator-guide/registerCenter/datasource_manage.md
)
,配置数据源连接
使用以上数据源,请查阅注册中心
[
数据源管理
](
/zh-CN/administrator-guide/registerCenter/datasource_manage.md
)
,配置数据源连接
**说明:**
Dinky不在对Starorcks进行额外扩展,Doris和Starorcks底层并无差别,原则上只是有些功能区分而已。在Flink Connector 上,目前Doris只支持Sink,而Starocks Source和Sink均支持。经过社区测试验证,可采用Doris的扩展连接Starrocks。
**说明:**
Dinky不在对Starorcks进行额外扩展,Doris和Starorcks底层并无差别,原则上只是功能区分。经社区测试验证,可采用Doris扩展连接Starrocks。
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment