You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@linkis.apache.org by GitBox <gi...@apache.org> on 2022/03/18 09:33:00 UTC

[GitHub] [incubator-linkis] CCweixiao opened a new issue #1751: [Feature] 脚本自定义变量运行类型和后缀约束配置化(Script custom variable run type and suffix constraint configuration)

CCweixiao opened a new issue #1751:
URL: https://github.com/apache/incubator-linkis/issues/1751


   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-linkis/issues) and found no similar feature requirement.
   
   
   ### Problem Description
   
   新增引擎后,脚本中自定义变量无法正常解析,需要修改如下几个脚本文件:
   After the engine is added, the custom variables in the script cannot be parsed normally, and the following script files need to be modified:
   `linkis-commons/linkis-storage/src/main/scala/org/apache/linkis/storage/script/parser/QLScriptParser.scala`
   `linkis-commons/linkis-storage/src/main/scala/org/apache/linkis/storage/script/compaction/QLScriptCompaction.scala`
   `linkis-computation-governance/linkis-entrance/src/main/scala/org/apache/linkis/entrance/interceptor/impl/CustomVariableUtils.scala`
   
   <img width="831" alt="image" src="https://user-images.githubusercontent.com/27730211/158977434-7b67323c-e08b-42c4-83cd-f68630743fff.png">
   
   <img width="585" alt="image" src="https://user-images.githubusercontent.com/27730211/158977464-c8250a22-8fa1-40e8-83ee-1d38de821091.png">
   
   
   ### Description
   
   把上述写死在代码中的配置改为在配置文件中
   Change the above configuration written in the code to the configuration file
   
   ### Use case
   
   _No response_
   
   ### solutions
   
   _No response_
   
   ### 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: dev-unsubscribe@linkis.apache.org

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



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