You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@linkis.apache.org by "Keven0Liu (via GitHub)" <gi...@apache.org> on 2023/02/27 09:54:46 UTC

[GitHub] [linkis] Keven0Liu opened a new issue, #4276: [Bug] jdbc task cannot obtain the set variable value when the task takes a long time

Keven0Liu opened a new issue, #4276:
URL: https://github.com/apache/linkis/issues/4276

   ### Search before asking
   
   - [X] I searched the [issues](https://github.com/apache/linkis/issues) and found no similar issues.
   
   
   ### Linkis Component
   
   linkis-engineconnn-plugin
   
   ### Steps to reproduce
   
   1, create a jdbc job ,then publish to schedulis;
   2,  the jdbc job have set variable like below:
   set  yesterday= date_sub(current_date,1);
   3, used variable like :
   select * from xxx where  usetime>= ${hiveconf:yesterday}
   4, server get the code right.
   select * from xxx where  usetime>= ${hiveconf:yesterday}
   5, but the final conversion sql is:
   select * from xxx where  usetime>=
   ![sqlerror](https://user-images.githubusercontent.com/26196789/221530182-a1240b9d-5dc0-4bdb-b85b-689774c44ddb.png)
   
   
   ### Expected behavior
   
   final conversion sql is:
   select * from xxx where  usetime>= date_sub(current_date,1)
   
   ### Your environment
   
   
   - Linkis version used: 1.1.1
   - Environment name and version:
       - cdh-6.3.2
       - hive-2.1.1
       - spark-2.4 & 3.2
       - jdk 1.8.0_121
       
   
   
   ### 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] [linkis] github-actions[bot] commented on issue #4276: [Bug] jdbc task cannot obtain the set variable value when the task takes a long time

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #4276:
URL: https://github.com/apache/linkis/issues/4276#issuecomment-1446027335

   ## :blush:  Welcome to the Apache Linkis community!!
   We are glad that you are contributing by opening this issue.
   
   Please make sure to include all the relevant context.
   We will be here shortly.
   
   If you are interested in contributing to our website project, please let us know!
   You can check out our contributing guide on
    :point_right:  [How to Participate in Project Contribution](https://linkis.apache.org/community/how-to-contribute).
   
   
   ### Community
   
   |WeChat Assistant|WeChat Public Account|
   |-|-|
   |<img src="https://linkis.apache.org/Images/wedatasphere_contact_01.png" width="128"/>|<img src="https://linkis.apache.org/Images/gzh_01.png" width="128"/>|
   
   
   ### Mailing Lists
   |Name|Description|Subscribe|Unsubscribe|Archive|
   |:-----|:--------|:------|:-------|:-----|
   | [dev@linkis.apache.org](mailto:dev@linkis.apache.org) | community activity information | [subscribe](mailto:dev-subscribe@linkis.apache.org) | [unsubscribe](mailto:dev-unsubscribe@linkis.apache.org) | [archive](http://mail-archives.apache.org/mod_mbox/linkis-dev) |


-- 
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