You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "yangzhiyuss (via GitHub)" <gi...@apache.org> on 2023/08/25 06:27:22 UTC

[GitHub] [seatunnel] yangzhiyuss opened a new issue, #5375: [Bug] [connector-kudu] Column (name: rid, index: 0) is of type string but was requested as a type [Type: int32]

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

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues.
   
   
   ### What happened
   
   execute kudu source:java.lang.IllegalArgumentException: Column (name: rid, index: 0) is of type string but was requested as a type [Type: int32]
   ![image](https://github.com/apache/seatunnel/assets/28888024/9abd4cc1-158f-4391-9a49-2b76f93afcf2)
   ![image](https://github.com/apache/seatunnel/assets/28888024/b938ece7-796c-475d-b3f5-4276741af0a5)
   
   
   
   
   
   ### SeaTunnel Version
   
   version: 2.3.3
   
   ### SeaTunnel Config
   
   ```conf
   env {
     execution.parallelism = 1
     job.mode="BATCH"
   }
   
   source {
     kudu {
       kudu_master="xxxxxxx:7051,xxxxx:7051,xxxxxx:7051"
       kudu_table="test01"  The pk column of table test01 is of type string
       columnsList="column1,column2"
     }
   }
   
   sink {
     console {
   
     }
   }
   ```
   
   
   ### Running Command
   
   ```shell
   seatunnel.sh --config kudu_test.config -e local
   ```
   
   
   ### Error Exception
   
   ```log
   2023-08-25 14:15:50,778 ERROR org.apache.seatunnel.core.starter.SeaTunnel - Exception StackTrace:org.apache.seatunnel.core.starter.exception.CommandExecuteException: SeaTunnel job executed failed
   	at org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand.execute(ClientExecuteCommand.java:191)
   	at org.apache.seatunnel.core.starter.SeaTunnel.run(SeaTunnel.java:40)
   	at org.apache.seatunnel.core.starter.seatunnel.SeaTunnelClient.main(SeaTunnelClient.java:34)
   Caused by: java.lang.IllegalArgumentException: Column (name: rid, index: 0) is of type string but was requested as a type [Type: int32]
   	at org.apache.kudu.client.RowResult.checkType(RowResult.java:679)
   	at org.apache.kudu.client.RowResult.getInt(RowResult.java:135)
   	at org.apache.kudu.client.RowResult.getInt(RowResult.java:121)
   	at org.apache.seatunnel.connectors.seatunnel.kudu.source.KuduSource.initPartitionParameter(KuduSource.java:175)
   	at org.apache.seatunnel.connectors.seatunnel.kudu.source.KuduSource.prepare(KuduSource.java:142)
   	at org.apache.seatunnel.engine.core.parse.JobConfigParser.parseSource(JobConfigParser.java:85)
   	at org.apache.seatunnel.engine.core.parse.MultipleTableJobConfigParser.parseSource(MultipleTableJobConfigParser.java:317)
   	at org.apache.seatunnel.engine.core.parse.MultipleTableJobConfigParser.parse(MultipleTableJobConfigParser.java:179)
   	at org.apache.seatunnel.engine.core.job.AbstractJobEnvironment.getLogicalDag(AbstractJobEnvironment.java:109)
   	at org.apache.seatunnel.engine.client.job.JobExecutionEnvironment.execute(JobExecutionEnvironment.java:73)
   	at org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand.execute(ClientExecuteCommand.java:143)
   	... 2 more
    
   2023-08-25 14:15:50,778 ERROR org.apache.seatunnel.core.starter.SeaTunnel -
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   java version "11.0.17" 2022-10-18 LTS
   Java(TM) SE Runtime Environment 18.9 (build 11.0.17+10-LTS-269)
   Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.17+10-LTS-269, mixed mode)
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] 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: commits-unsubscribe@seatunnel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [seatunnel] zhilinli123 commented on issue #5375: [Bug] [connector-kudu] Column (name: rid, index: 0) is of type string but was requested as a type [Type: int32]

Posted by "zhilinli123 (via GitHub)" <gi...@apache.org>.
zhilinli123 commented on issue #5375:
URL: https://github.com/apache/seatunnel/issues/5375#issuecomment-1696718013

   > > If convenient please provide your table DDL and I will try to fix it
   > 
   > Is this a bug? Or it's already been solved. If not, can I participate in modifying part of the code (modifying the code of splite part)?
   
   Looking forward to your contribution
   


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [seatunnel] zhilinli123 commented on issue #5375: [Bug] [connector-kudu] Column (name: rid, index: 0) is of type string but was requested as a type [Type: int32]

Posted by "zhilinli123 (via GitHub)" <gi...@apache.org>.
zhilinli123 commented on issue #5375:
URL: https://github.com/apache/seatunnel/issues/5375#issuecomment-1692939454

   If convenient please provide your table DDL and I will try to fix it
   


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [seatunnel] yangzhiyuss commented on issue #5375: [Bug] [connector-kudu] Column (name: rid, index: 0) is of type string but was requested as a type [Type: int32]

Posted by "yangzhiyuss (via GitHub)" <gi...@apache.org>.
yangzhiyuss commented on issue #5375:
URL: https://github.com/apache/seatunnel/issues/5375#issuecomment-1696675446

   > If convenient please provide your table DDL and I will try to fix it
   
   Is this a bug? Or it's already been solved. If not, can I participate in modifying part of the code (modifying the code of splite part)?


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [seatunnel] yangzhiyuss closed issue #5375: [Bug] [connector-kudu] Column (name: rid, index: 0) is of type string but was requested as a type [Type: int32]

Posted by "yangzhiyuss (via GitHub)" <gi...@apache.org>.
yangzhiyuss closed issue #5375: [Bug] [connector-kudu]  Column (name: rid, index: 0) is of type string but was requested as a type [Type: int32]
URL: https://github.com/apache/seatunnel/issues/5375


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [seatunnel] HoganEdwardChu commented on issue #5375: [Bug] [connector-kudu] Column (name: rid, index: 0) is of type string but was requested as a type [Type: int32]

Posted by "HoganEdwardChu (via GitHub)" <gi...@apache.org>.
HoganEdwardChu commented on issue #5375:
URL: https://github.com/apache/seatunnel/issues/5375#issuecomment-1725873476

   Is this task done? Or not a bug?
   Thanks you
   @Hisoka-X 


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [seatunnel] yangzhiyuss commented on issue #5375: [Bug] [connector-kudu] Column (name: rid, index: 0) is of type string but was requested as a type [Type: int32]

Posted by "yangzhiyuss (via GitHub)" <gi...@apache.org>.
yangzhiyuss commented on issue #5375:
URL: https://github.com/apache/seatunnel/issues/5375#issuecomment-1692963389

   CREATE TABLE ods2.xgamezh_cdb_rolerename (
     uuid STRING NOT NULL ENCODING AUTO_ENCODING COMPRESSION DEFAULT_COMPRESSION COMMENT 'uuid',
     byconfirm STRING NULL ENCODING AUTO_ENCODING COMPRESSION DEFAULT_COMPRESSION COMMENT '',
     dwroleid STRING NULL ENCODING AUTO_ENCODING COMPRESSION DEFAULT_COMPRESSION COMMENT '',
     dwtime STRING NULL ENCODING AUTO_ENCODING COMPRESSION DEFAULT_COMPRESSION COMMENT '',
     sznewname STRING NULL ENCODING AUTO_ENCODING COMPRESSION DEFAULT_COMPRESSION COMMENT '',
     szoldname STRING NULL ENCODING AUTO_ENCODING COMPRESSION DEFAULT_COMPRESSION COMMENT '',
     loadtime STRING NULL ENCODING AUTO_ENCODING COMPRESSION DEFAULT_COMPRESSION COMMENT '',
     PRIMARY KEY (uuid)
   )
   PARTITION BY HASH (uuid) PARTITIONS 3
   STORED AS KUDU
   TBLPROPERTIES ('kudu.master_addresses'='xxxxxxxxxxxxxxxxx', 'kudu.num_tablet_replicas'='1')


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org