Browse Source
* [Improvement] Improvement default worker group * [Improvement] Improvement default worker group * [Improvement] Improvement default worker group * [Improvement] Improvement default worker group * [Improvement] Improvement default worker group * [improvement] The default worker grouping supports editing * [improvement] The default worker grouping supports editing * Update WorkerGroupServiceImpl.java * Update WorkerGroupServiceImpl.java * The default worker grouping supports editing * update sql file * update * update * update * update3.1.0-release
insist777
2 years ago
committed by
GitHub
16 changed files with 193 additions and 84 deletions
@ -0,0 +1,20 @@ |
|||||||
|
/* |
||||||
|
* Licensed to the Apache Software Foundation (ASF) under one or more |
||||||
|
* contributor license agreements. See the NOTICE file distributed with |
||||||
|
* this work for additional information regarding copyright ownership. |
||||||
|
* The ASF licenses this file to You under the Apache License, Version 2.0 |
||||||
|
* (the "License"); you may not use this file except in compliance with |
||||||
|
* the License. You may obtain a copy of the License at |
||||||
|
* |
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0 |
||||||
|
* |
||||||
|
* Unless required by applicable law or agreed to in writing, software |
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS, |
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||||
|
* See the License for the specific language governing permissions and |
||||||
|
* limitations under the License. |
||||||
|
*/ |
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE `t_ds_worker_group` ADD COLUMN `other_params_json` text DEFAULT NULL COMMENT 'other params json'; |
||||||
|
|
@ -0,0 +1,16 @@ |
|||||||
|
/* |
||||||
|
* Licensed to the Apache Software Foundation (ASF) under one or more |
||||||
|
* contributor license agreements. See the NOTICE file distributed with |
||||||
|
* this work for additional information regarding copyright ownership. |
||||||
|
* The ASF licenses this file to You under the Apache License, Version 2.0 |
||||||
|
* (the "License"); you may not use this file except in compliance with |
||||||
|
* the License. You may obtain a copy of the License at |
||||||
|
* |
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0 |
||||||
|
* |
||||||
|
* Unless required by applicable law or agreed to in writing, software |
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS, |
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||||
|
* See the License for the specific language governing permissions and |
||||||
|
* limitations under the License. |
||||||
|
*/ |
@ -0,0 +1,54 @@ |
|||||||
|
/* |
||||||
|
* Licensed to the Apache Software Foundation (ASF) under one or more |
||||||
|
* contributor license agreements. See the NOTICE file distributed with |
||||||
|
* this work for additional information regarding copyright ownership. |
||||||
|
* The ASF licenses this file to You under the Apache License, Version 2.0 |
||||||
|
* (the "License"); you may not use this file except in compliance with |
||||||
|
* the License. You may obtain a copy of the License at |
||||||
|
* |
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0 |
||||||
|
* |
||||||
|
* Unless required by applicable law or agreed to in writing, software |
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS, |
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||||
|
* See the License for the specific language governing permissions and |
||||||
|
* limitations under the License. |
||||||
|
*/ |
||||||
|
|
||||||
|
delimiter d// |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
CREATE OR REPLACE FUNCTION public.dolphin_update_metadata( |
||||||
|
) |
||||||
|
RETURNS character varying |
||||||
|
LANGUAGE 'plpgsql' |
||||||
|
COST 100 |
||||||
|
VOLATILE PARALLEL UNSAFE |
||||||
|
AS $BODY$ |
||||||
|
DECLARE |
||||||
|
v_schema varchar; |
||||||
|
BEGIN |
||||||
|
---get schema name |
||||||
|
v_schema =current_schema(); |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
--- add column |
||||||
|
EXECUTE 'ALTER TABLE ' || quote_ident(v_schema) ||'.t_ds_worker_group ADD COLUMN IF NOT EXISTS other_params_json int DEFAULT NULL '; |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
return 'Success!'; |
||||||
|
exception when others then |
||||||
|
---Raise EXCEPTION '(%)',SQLERRM; |
||||||
|
|
||||||
|
return SQLERRM; |
||||||
|
END; |
||||||
|
$BODY$; |
||||||
|
|
||||||
|
select dolphin_update_metadata(); |
||||||
|
|
||||||
|
|
||||||
|
d// |
||||||
|
|
@ -0,0 +1,30 @@ |
|||||||
|
/* |
||||||
|
* Licensed to the Apache Software Foundation (ASF) under one or more |
||||||
|
* contributor license agreements. See the NOTICE file distributed with |
||||||
|
* this work for additional information regarding copyright ownership. |
||||||
|
* The ASF licenses this file to You under the Apache License, Version 2.0 |
||||||
|
* (the "License"); you may not use this file except in compliance with |
||||||
|
* the License. You may obtain a copy of the License at |
||||||
|
* |
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0 |
||||||
|
* |
||||||
|
* Unless required by applicable law or agreed to in writing, software |
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS, |
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||||
|
* See the License for the specific language governing permissions and |
||||||
|
* limitations under the License. |
||||||
|
*/ |
||||||
|
|
||||||
|
delimiter d// |
||||||
|
|
||||||
|
return 'Success!'; |
||||||
|
exception when others then |
||||||
|
---Raise EXCEPTION '(%)',SQLERRM; |
||||||
|
return SQLERRM; |
||||||
|
END; |
||||||
|
$BODY$; |
||||||
|
|
||||||
|
select dolphin_insert_dq_initial_data(); |
||||||
|
|
||||||
|
d// |
||||||
|
|
Loading…
Reference in new issue