304792747 opened a new issue, #9439:
URL: https://github.com/apache/seatunnel/issues/9439

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   在transform中的sql插件里使用 now()函数调用到的时候不是当前服务器的时间,而是 UTC 时间。这个很影响使用
   
   ### SeaTunnel Version
   
   2.3.11
   
   ### SeaTunnel Config
   
   ```conf
   "transform": [
           {
               "query": "select *, now() sync_datetime from dual",
               "plugin_name": "Sql"
           } 
       ],
   ```
   
   ### Running Command
   
   ```shell
   nohup sh ./bin/seatunnel-cluster.sh 2>&1 &
   ```
   
   ### Error Exception
   
   ```log
   无
   ```
   
   ### Zeta or Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   _No response_
   
   ### Screenshots
   
   
![Image](https://github.com/user-attachments/assets/7f768049-e07c-4c06-a7d7-596337fc05c6)
   左边是同步来的时间,右边是本地时间,
   原因就是少了时区 8 小时
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to