You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/04/22 06:31:56 UTC

[GitHub] [incubator-doris-flink-connector] hellozhaoxudong opened a new issue, #28: [Bug] IllegalArgumentException: Row arity: 5, but serializer arity: 4

hellozhaoxudong opened a new issue, #28:
URL: https://github.com/apache/incubator-doris-flink-connector/issues/28

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Version
   
   flink version  :  flink-1.14.4-scala_2.12
   flink doris connector version  :  flink-doris-connector-1.14_2.12-1.0.3.jar
   doris version  :  doris-0.15.0
   
   ### What's Wrong?
   
   submit a job use flink sql-client :insert into select
   
   error logs:
   
   2022-04-22 22:27:56
   java.lang.IllegalArgumentException: Row arity: 5, but serializer arity: 4
   	at org.apache.flink.table.runtime.typeutils.RowDataSerializer.copy(RowDataSerializer.java:124)
   	at org.apache.flink.table.runtime.typeutils.RowDataSerializer.copy(RowDataSerializer.java:48)
   	at org.apache.flink.streaming.runtime.tasks.CopyingChainingOutput.pushToOperator(CopyingChainingOutput.java:80)
   	at org.apache.flink.streaming.runtime.tasks.CopyingChainingOutput.collect(CopyingChainingOutput.java:57)
   	at org.apache.flink.streaming.runtime.tasks.CopyingChainingOutput.collect(CopyingChainingOutput.java:29)
   	at org.apache.flink.streaming.api.operators.CountingOutput.collect(CountingOutput.java:56)
   	at org.apache.flink.streaming.api.operators.CountingOutput.collect(CountingOutput.java:29)
   	at org.apache.flink.streaming.api.operators.StreamSourceContexts$ManualWatermarkContext.processAndCollect(StreamSourceContexts.java:418)
   	at org.apache.flink.streaming.api.operators.StreamSourceContexts$WatermarkContext.collect(StreamSourceContexts.java:513)
   	at org.apache.flink.streaming.api.operators.StreamSourceContexts$SwitchingOnClose.collect(StreamSourceContexts.java:103)
   	at org.apache.flink.streaming.api.functions.source.InputFormatSourceFunction.run(InputFormatSourceFunction.java:92)
   	at org.apache.flink.streaming.api.operators.StreamSource.run(StreamSource.java:110)
   	at org.apache.flink.streaming.api.operators.StreamSource.run(StreamSource.java:67)
   	at org.apache.flink.streaming.runtime.tasks.SourceStreamTask$LegacySourceFunctionThread.run(SourceStreamTask.java:323)
   
   ### What You Expected?
   
   bug
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   _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@doris.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [incubator-doris-flink-connector] hf200012 closed issue #28: [Bug] IllegalArgumentException: Row arity: 5, but serializer arity: 4

Posted by GitBox <gi...@apache.org>.
hf200012 closed issue #28: [Bug] IllegalArgumentException: Row arity: 5, but serializer arity: 4
URL: https://github.com/apache/incubator-doris-flink-connector/issues/28


-- 
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@doris.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [incubator-doris-flink-connector] hellozhaoxudong commented on issue #28: [Bug] IllegalArgumentException: Row arity: 5, but serializer arity: 4

Posted by GitBox <gi...@apache.org>.
hellozhaoxudong commented on issue #28:
URL: https://github.com/apache/incubator-doris-flink-connector/issues/28#issuecomment-1107737069

   > 
   Thanks, I tested it and it worked!
   


-- 
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@doris.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [incubator-doris-flink-connector] JNSimba commented on issue #28: [Bug] IllegalArgumentException: Row arity: 5, but serializer arity: 4

Posted by GitBox <gi...@apache.org>.
JNSimba commented on issue #28:
URL: https://github.com/apache/incubator-doris-flink-connector/issues/28#issuecomment-1107726821

   Usually because doris has an additional hidden column, you can add _DORIS_DELETE_SIGN_ tinyint to the flink schema. Subsequent versions will optimize this problem


-- 
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@doris.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org