2416210017 commented on issue #1599:
URL: 
https://github.com/apache/incubator-seatunnel/issues/1599#issuecomment-1084015382


   Oh, my God, it has been solved. Here is an example for those who need it 
later !
   
   `spark {
       spark.app.name = "seatunnel_oracle"
       spark.default.parallelism = 4
       spark.executor.instances = 5
       spark.executor.cores = 4
       spark.executor.memory = "5g"
       spark.sql.catalogImplementation = "hive"
   }
   
   input {
   jdbc {
       driver = "oracle.jdbc.driver.OracleDriver"
       url = "jdbc:oracle:thin:@//10.10.223.18:1521/ora11g"
       table = "(SELECT id,name,'2022-03-28' AS partition_date FROM 
SYSTEM.PLAYER) as A"
       result_table_name = "player_oracle"
       user = "system"
       password = "belle#2020BELLE"
   }
   }
   
   filter {
   }
   
   output {
       Hive {
           sql = "insert overwrite table test.player partition(partition_date) 
select id,name from player_oracle"
       }
   }
   `


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