liugddx commented on PR #7677:
URL: https://github.com/apache/seatunnel/pull/7677#issuecomment-2356056787

   According to the design, this task can be executed, but it is now restricted 
by the submission.
   
   ```
   #
   # Licensed to the Apache Software Foundation (ASF) under one or more
   # contributor license agreements.  See the NOTICE file distributed with
   # this work for additional information regarding copyright ownership.
   # The ASF licenses this file to You under the Apache License, Version 2.0
   # (the "License"); you may not use this file except in compliance with
   # the License.  You may obtain a copy of the License at
   #
   #    http://www.apache.org/licenses/LICENSE-2.0
   #
   # Unless required by applicable law or agreed to in writing, software
   # distributed under the License is distributed on an "AS IS" BASIS,
   # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   # See the License for the specific language governing permissions and
   # limitations under the License.
   #
   ######
   ###### This config file is a demonstration of streaming processing in 
SeaTunnel config
   ######
   
   env {
     # You can set SeaTunnel environment configuration here
     parallelism = 2
     job.mode = "BATCH"
     checkpoint.interval = 10000
   }
   
   source {
     # This is a example source plugin **only for test and demonstrate the 
feature source plugin**
     FakeSource {
       parallelism = 2
       result_table_name = "fake"
       row.num = 16
       schema = {
         fields {
           name = "string"
           age = "int"
         }
       }
     }
   
     FakeSource {
       parallelism = 2
       result_table_name = "fake1"
       row.num = 16
       schema = {
         fields {
           name = "string"
           age = "int"
         }
       }
     }
   
     # If you would like to get more information about how to configure 
SeaTunnel and see full list of source plugins,
     # please go to https://seatunnel.apache.org/docs/connector-v2/source
   }
   
   transform {
     Sql {
       source_table_name = "fake1"
       result_table_name = "sink_fake"
       query = "select * from fake"
     }
     Sql {
       source_table_name = "fake"
       result_table_name = "sink_fake"
       query = "select * from fake"
     }
   }
   
   
   
   sink {
     Console {
       source_table_name=sink_fake
     }
   
     # If you would like to get more information about how to configure 
SeaTunnel and see full list of sink plugins,
     # please go to https://seatunnel.apache.org/docs/connector-v2/sink
   }
   
   ```
   
   <img width="1227" alt="image" 
src="https://github.com/user-attachments/assets/3a4c899c-2f08-4be1-8e99-f18622c64e80";>
   


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