可以试一试 like `%b11%` 确保你的数据b11 前后没有空白字符
获取 Outlook for Android<https://aka.ms/ghei36> ________________________________ From: Billy Liu <billy...@apache.org> Sent: Wednesday, January 30, 2019 8:56:38 PM To: dev Subject: Re: 查询无结果 select EXCHANGE_NAME, count(*) from HUOBI_GLOBAL.HUOBI_YUNYING_DW_KYLIN_USER_INDEX_DAILY where HUOBI_YUNYING_DW_KYLIN_USER_INDEX_DAILY.EXCHANGE_NAME = 'b11' group by EXCHANGE_NAME With Warm regards Billy Liu Yifei Wu <vafuler...@gmail.com> 于2019年1月30日周三 下午3:10写道: > > Hi, liwei, > It sounds like a Kylin Query bug, could you open a jira to describe this > question and how to reproduce this question in detail, for it be very helpful > for > Locating the root cause. > > BR > Yifei Wu > > > 在 2019/1/30 下午2:49,“廉立伟”<lianli...@huobi.com> 写入: > > select > > count(*),EXCHANGE_NAME > > from HUOBI_GLOBAL.HUOBI_YUNYING_DW_KYLIN_USER_INDEX_DAILY > > group by EXCHANGE_NAME > > order by EXCHANGE_NAME > 这样的话有结果 有b11 但是where的时候就没有 > > 获取 Outlook for iOS<https://aka.ms/o0ukef> > > ________________________________ > 收件人: Li Feng <li.f...@kyligence.io> > 发送时间: 星期三, 一月 30, 2019 13:15 > 收件人: dev@kylin.apache.org > 主题: Re: 查询无结果 > > Hi Liwei > Try > select > count(*),EXCHANGE_NAME > from HUOBI_GLOBAL.HUOBI_YUNYING_DW_KYLIN_USER_INDEX_DAILY > group by EXCHANGE_NAME > order by EXCHANGE_NAME > and check whether there exists 'b11' value. > BR, > Lee > 在 19/1/30 下午1:08,“廉立伟”<lianli...@huobi.com> 写入: > > 怎么没结果 你们解决下呀 > > 获取 Outlook for iOS<https://aka.ms/o0ukef> > > ________________________________ > 收件人: 廉立伟 <lianli...@huobi.com> > 发送时间: 星期三, 一月 30, 2019 10:23 > 收件人: dev@kylin.apache.org > 主题: Re: 查询无结果 > > 这样查询结果为0,但是我的数据中确实有EXCHANGE_NAME = 'b11',怎么查不出来呢 > select > count(*) > from HUOBI_GLOBAL.HUOBI_YUNYING_DW_KYLIN_USER_INDEX_DAILY > where HUOBI_YUNYING_DW_KYLIN_USER_INDEX_DAILY.EXCHANGE_NAME = 'b11' > > > 在 2019/1/30 上午10:21,“JiaTao Tao”<taojia...@gmail.com> 写入: > > select > count(*) > from HUOBI_GLOBAL.HUOBI_YUNYING_DW_KYLIN_USER_INDEX_DAILY > where HUOBI_YUNYING_DW_KYLIN_USER_INDEX_DAILY.EXCHANGE_NAME = 'b11' > > > > > >