You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@linkis.apache.org by GitBox <gi...@apache.org> on 2022/07/01 02:59:12 UTC

[GitHub] [incubator-linkis] YennyQ opened a new issue, #2391: [Bug] Can't add udf due to the mismatch of code between front-end and back-end in /udf/add uri

YennyQ opened a new issue, #2391:
URL: https://github.com/apache/incubator-linkis/issues/2391

   ### Search before asking
   
   - [X] I searched the [issues](https://github.com/apache/incubator-linkis/issues) and found no similar issues.
   
   
   ### Linkis Component
   
   linkis-public-enhancements
   
   ### What happened + What you expected to happen
   
   1. Using the function in "Scriptis" -> "UDF函数" -> "个人函数" -> "新增函数",i got the nullpointer error below:
   ![YRS`ZA028__UDI_OIRSKGH7](https://user-images.githubusercontent.com/19585991/176802639-8ea7a906-7b92-4fe6-beec-f472dc11566c.png)
   Reading the source code in linkis and front-end code in dss, i found logic can't match when front-end send 'udfInfo' as key but back-end look up key as 'udfAddVo'. 
   Then i change and recompile the linkis-udf-service, the error next is 'directory' which empty is not allowed(error in log is '分类名不能为空!') .
   So i add the 'directory' and go on, the next is 'sys' and 'clusterName',  which can't be null in table linkis_ps_udf_baseinfo but seems no where is using. 
   Finally, it worked.
   ![%@7E0CPHZKLHT3BJ97@L0 Q](https://user-images.githubusercontent.com/19585991/176804510-fde0adff-af92-431d-8f6a-7d5a7c772961.png)
   
   2. Expected: Add UDF successfully without change the code.
   
   3. I check the code in dss & linkis master, and also in some dev branch. All the same.
   
   ### Relevent platform
   
   centos7
   
   ### Reproduction script
   
   click "Scriptis" -> "UDF函数" -> "个人函数" -> "新增函数".
   fill the information.
   done.
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] Yes I am willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org


[GitHub] [incubator-linkis] peacewong closed issue #2391: [Bug] Can't add udf due to the mismatch of code between front-end and back-end in /udf/add uri

Posted by GitBox <gi...@apache.org>.
peacewong closed issue #2391: [Bug] Can't add udf due to the mismatch of code between front-end  and back-end in /udf/add uri
URL: https://github.com/apache/incubator-linkis/issues/2391


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org


[GitHub] [incubator-linkis] peacewong commented on issue #2391: [Bug] Can't add udf due to the mismatch of code between front-end and back-end in /udf/add uri

Posted by GitBox <gi...@apache.org>.
peacewong commented on issue #2391:
URL: https://github.com/apache/incubator-linkis/issues/2391#issuecomment-1175084259

   For this dss issue, you can submit isshe and PR to the dss project


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org