gleiyu opened a new issue, #1779:
URL: https://github.com/apache/incubator-seatunnel/issues/1779

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   flink jdbc source can't support sql like select t.* from tableName t or 
multiple table join,the regex can't work with complex sql,and the function 
extendPartitionQuerySql in JdbcSource just support a single table query.
   
   ### SeaTunnel Version
   
   2.1.1
   dev 
   
   ### SeaTunnel Config
   
   ```conf
   {
     "env" : {
       "execution.parallelism" : 1
     },
     "source" : [
       {
         "password" : "",
         "driver" : "com.mysql.jdbc.Driver",
         "query" : "select t.* from test_table t",
         "plugin_name" : "JdbcSource",
         "url" : 
"jdbc:mysql://127.0.0.1:3306/db?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai",
         "username" : "root"
       }
     ],
     "transform" : [],
     "sink" : [
       {
         "plugin_name" : "ConsoleSink"
       }
     ]
   }
   ```
   
   
   ### Running Command
   
   ```shell
   running with LocalFlinkExample demo
   ```
   
   
   ### Error Exception
   
   ```log
   
![image](https://user-images.githubusercontent.com/4036309/166113546-43dd53f0-812a-4531-b9a9-43b1b883f19b.png)
   ```
   
   
   ### Flink or Spark Version
   
   flink 1.13.0
   
   ### Java or Scala Version
   
   jdk 1.8
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] 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