kylin-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Na Zhai <>
Subject 答复: Should I remove this check about compare the last and fetched
Date Mon, 08 Apr 2019 11:06:22 GMT
Hi, yuzhang.

What’s the encoding of the column that you query? The original intention of the code that
you mentioned is to find out the columns with inconsistent sequence before and after encoding.

发送自 Windows 10 版邮件<>应用

发件人: yuzhang <>
发送时间: Tuesday, March 26, 2019 11:27:14 PM
主题: Re: Should I remove this check about compare the last and fetched

Sure, here is the code  at And the "Not sorted! last:
XXXXXX fetched: XXXXXXX" exception may happen when query some table contain Chinese value(or
messy code).

public E next() {
    if (!nextFetched) {
        throw new IllegalStateException("Should hasNext() before next()");

    //TODO: remove this check when validated
    if (last != null) {
        if (, fetched) > 0)
            throw new IllegalStateException("Not sorted! last: " + last + " fetched: " + fetched);

    last = fetched;
    nextFetched = false;

    return fetched;


签名由 网易邮箱大师<> 定制
On 3/26/2019 23:08,elkan1788<><>
I not sure can understand your question cleanly. Can you give more
information about it, just like with a good sample.  Also you can forward
the code what you found and think that is happened!

Sent from:
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message