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

      您好,最近我们使用开源代码的时候,搭建起来的web页面,做了稍许修改,但是在运行任务的方法,跟踪的时候,在运行至final 
ClientJobProxy clientJobProxy = 
jobExecutionEnv.execute();这里的时候,会直接跳转至SeaTunnelRowType的方法indexOf方法,但是这个方法没有调用和引用,而且传进来的参数为null,查看生成的.conf文件没什么异常,具体文件信息如下,env
 {
   "job.mode"=BATCH
   "job.name"="SeaTunnel_Job"
   }
   source {
   Jdbc {
       "connection_check_timeout_sec"=30
       parallelism=1
       "result_table_name"=Table17944596392160
       query="SELECT \"id\", \"name\" FROM 
\"dmc\".\"public\".\"synchronous_testing\""
       
url="jdbc:postgresql://10.96.105.125:5432/dmc?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8"
       user=postgres
       driver="org.postgresql.Driver"
       password=postgres
   }
   }
   transform {
   Copy {
       "connection_check_timeout_sec"=30
       parallelism=1
       "result_table_name"=Table17944596392161
       "source_table_name"=Table17944596392160
       fields {}
   }
   }
   sink {
   Jdbc {
       parallelism=1
       "source_table_name"=Table17944596392161
       "generate_sink_sql"=true
       database=dmc
       table="public.synchronous_testing_copy"
       
url="jdbc:postgresql://10.96.105.125:5432/dmc?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8"
       user=postgres
       driver="org.postgresql.Driver"
       password=postgres
   }
   }
   但是就会报java.lang.IllegalArgumentException: can't find field [null]  
这个错误,public int indexOf(String fieldName) {
           for (int i = 0; i < fieldNames.length; i++) {
               if (fieldNames[i].equals(fieldName)) {
                   return i;
               }
           }
           throw new IllegalArgumentException(String.format("can't find field 
[%s]", fieldName));
       },网络上好像也没有相关的问题,困扰了一天,有没有大佬进行解释下,是本地的问题呢,还是什么问题,就新建的一个简单的数据源表的Copy转化
   


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