Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] [SinkMetrics] the sink metrics collect will get NPE when data type is String[] #6455

Closed
2 of 3 tasks
liunaijie opened this issue Mar 6, 2024 · 1 comment · Fixed by #6681
Closed
2 of 3 tasks

Comments

@liunaijie
Copy link
Member

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

SinkFlowLifeCycle#250
https://github.com/apache/seatunnel/blob/dev/seatunnel-api/src/main/java/org/apache/seatunnel/api/table/type/SeaTunnelRow.java#L240

in sink life cycle, will summary the sink bytes. but if the data type is string array, doesn't have null check, will get NPE when value is null.

SeaTunnel Version

2.3.4

SeaTunnel Config

na

Running Command

na

Error Exception

NPE

Zeta or Flink or Spark Version

No response

Java or Scala Version

No response

Screenshots

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Copy link

github-actions bot commented Apr 6, 2024

This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants