Skip to content

Commit

Permalink
[Optimization] Optimization udf manage tips (#3295)
Browse files Browse the repository at this point in the history
Co-authored-by: Zzm0809 <Zzm0809@users.noreply.github.com>
  • Loading branch information
Zzm0809 and Zzm0809 authored Mar 18, 2024
1 parent 7298cb9 commit 4e5e635
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,6 @@ const UDFRegister: React.FC<UDFRegisterProps> = (props) => {
<ProTable
rowKey={'id'}
columns={columns}
headerTitle={false}
search={false}
options={false}
dataSource={groupData[expandedRow.fileName]}
Expand Down
15 changes: 14 additions & 1 deletion dinky-web/src/pages/RegCenter/UDF/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import UDFRegister from '@/pages/RegCenter/UDF/components/UDFRegister';
import TemplateTable from '@/pages/RegCenter/UDF/components/UDFTemplate/TemplateTable';
import { l } from '@/utils/intl';
import { PageContainer } from '@ant-design/pro-components';
import { Alert } from 'antd';
import * as React from 'react';

export default () => {
Expand Down Expand Up @@ -52,7 +53,19 @@ export default () => {
{
tab: l('rc.udf.register.management'),
key: 'udf-register',
children: <UDFRegister showEditChange={setShowEdit} showEdit={showEdit} />
children: (
<>
{/* TODO: 等待UDF和数据开发联动功能开发完成之后,删除该提示语*/}
<Alert
message={
'该功能目前没有和数据开发进行联动,目前仅为展示该 jar 中的相关 UDF,如你在数据开发中使用 UDF 时,你仍然需要按照 Flink 中的创建 UDF 的方式'
}
type='info'
showIcon
/>
<UDFRegister showEditChange={setShowEdit} showEdit={showEdit} />
</>
)
},
{
tab: l('rc.udf.template.management'),
Expand Down

0 comments on commit 4e5e635

Please sign in to comment.