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

   ### 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
   
   variable replaced not correct
   
   ### SeaTunnel Version
   
   2.3.4
   
   ### SeaTunnel Config
   
   ```conf
   mysql_2_doris.config:
   source {
       Jdbc {
           query = "select * from t where updated_time >= '"${dt}"'"
       }
   }
   ```
   
   
   ### Running Command
   
   ```shell
   ./start-seatunnel-spark-2-connector-v2.sh --config ./mysql_2_doris.config -i 
dt="2024-04-28 00:00:00"
   ```
   
   
   ### Error Exception
   
   ```log
   the executed SQL is below, the variable is not replaced correct!
   actual:
   select * from t where updated_time >= '2024-04-28'
   expected:
   select * from t where updated_time >= '2024-04-28 00:00:00'
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   _No response_
   
   ### Screenshots
   
   _No response_
   
   ### 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