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] Failed to deserialize column....Caused by: java.lang.ArrayIndexOutOfBoundsException #45494

Open
2 of 3 tasks
junit opened this issue Dec 16, 2024 · 1 comment
Open
2 of 3 tasks

Comments

@junit
Copy link

junit commented Dec 16, 2024

Search before asking

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

Version

2.1.7

What's Wrong?

RuntimeLogger 2024-12-16 14:25:56,541 WARN (STATS_FETCH-6|283) [ColumnStatistic.fromResultRow():181] Failed to deserialize column `extra_words` text NULL COMMENT '��信�' max value �西西��.
org.apache.doris.common.AnalysisException: errCode = 2, detailMessage = 5
	at org.apache.doris.statistics.util.StatisticsUtil.convertToDouble(StatisticsUtil.java:317) ~[doris-fe.jar:1.2-SNAPSHOT]
	at org.apache.doris.statistics.ColumnStatistic.fromResultRow(ColumnStatistic.java:178) ~[doris-fe.jar:1.2-SNAPSHOT]
	at org.apache.doris.statistics.ColumnStatistic.fromResultRow(ColumnStatistic.java:118) ~[doris-fe.jar:1.2-SNAPSHOT]
	at org.apache.doris.statistics.util.StatisticsUtil.deserializeToColumnStatistics(StatisticsUtil.java:169) ~[doris-fe.jar:1.2-SNAPSHOT]
	at org.apache.doris.statistics.ColumnStatisticsCacheLoader.loadFromStatsTable(ColumnStatisticsCacheLoader.java:66) ~[doris-fe.jar:1.2-SNAPSHOT]
	at org.apache.doris.statistics.ColumnStatisticsCacheLoader.doLoad(ColumnStatisticsCacheLoader.java:38) ~[doris-fe.jar:1.2-SNAPSHOT]
	at org.apache.doris.statistics.ColumnStatisticsCacheLoader.doLoad(ColumnStatisticsCacheLoader.java:29) ~[doris-fe.jar:1.2-SNAPSHOT]
	at org.apache.doris.statistics.BasicAsyncCacheLoader.lambda$asyncLoad$0(BasicAsyncCacheLoader.java:39) ~[doris-fe.jar:1.2-SNAPSHOT]
	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604) ~[?:1.8.0_352-352]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_352-352]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_352-352]
	at java.lang.Thread.run(Thread.java:750) ~[?:1.8.0_352-352]
Caused by: java.lang.ArrayIndexOutOfBoundsException: 5
	at org.apache.doris.nereids.trees.expressions.literal.StringLikeLiteral.getDouble(StringLikeLiteral.java:53) ~[doris-fe.jar:1.2-SNAPSHOT]
	at org.apache.doris.nereids.trees.expressions.literal.StringLikeLiteral.getDouble(StringLikeLiteral.java:42) ~[doris-fe.jar:1.2-SNAPSHOT]
	at org.apache.doris.statistics.util.StatisticsUtil.convertToDouble(StatisticsUtil.java:307) ~[doris-fe.jar:1.2-SNAPSHOT]
	... 11 more

What You Expected?

No exception

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

@ixzc
Copy link
Contributor

ixzc commented Dec 17, 2024

what did you do when you met this issue?

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

No branches or pull requests

2 participants