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

   ### Search before asking
   
   - [X] I had searched in the 
[feature](https://github.com/apache/incubator-seatunnel/issues?q=is%3Aissue+label%3A%22Feature%22)
 and found no similar feature requirement.
   
   
   ### Description
   
   Hive connector-v2 removes the `pre_sql` configuration.
   So I want to use the `quey` configuration in the jdbc connector-v2.
   But currently the jdbc connector-v2 does not support hive-jdbc.
   
   
   ### Usage Scenario
   
   I often use multiple table associations, but the hive connector-v2 does not 
currently support `pre_sql`.
   ```
    # hive connector-v1
    hive {
       pre_sql = """
       select * from table1 inner join table2 on table1.id=table2.id limit 2
       """
       result_table_name = "tab"
     }
   ```
   ```
   # jdbc connector-v2 
   source {
           url = "jdbc:hive2://10.32.xx.x:10000/default"
           driver = "org.apache.hive.jdbc.HiveDriver"
           connection_check_timeout_sec = 100
           user = "hive"
           query = "select * from table1 inner join table2 on 
table1.id=table2.id limit 2"
   }
   ```
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a 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