You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/12/23 08:10:00 UTC

[jira] [Commented] (KYLIN-5380) Querying sql contain "null" or " <" or ">" or "0" at the end of where condition will case exception

    [ https://issues.apache.org/jira/browse/KYLIN-5380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17651537#comment-17651537 ] 

ASF GitHub Bot commented on KYLIN-5380:
---------------------------------------

leejaywei opened a new pull request, #2057:
URL: https://github.com/apache/kylin/pull/2057

   ## Proposed changes
   
   Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.
   
   ## Branch to commit
   - [ ] Branch **kylin3** for v2.x to v3.x
   - [ ] Branch **kylin4** for v4.x
   - [ ] Branch **kylin5** for v5.x
   
   ## Types of changes
   
   What types of changes does your code introduce to Kylin?
   _Put an `x` in the boxes that apply_
   
   - [ ] Bugfix (non-breaking change which fixes an issue)
   - [ ] New feature (non-breaking change which adds functionality)
   - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
   - [ ] Documentation Update (if none of the other choices apply)
   
   ## Checklist
   
   _Put an `x` in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code._
   
   - [ ] I have created an issue on [Kylin's jira](https://issues.apache.org/jira/browse/KYLIN), and have described the bug/feature there in detail
   - [ ] Commit messages in my PR start with the related jira ID, like "KYLIN-0000 Make Kylin project open-source"
   - [ ] Compiling and unit tests pass locally with my changes
   - [ ] I have added tests that prove my fix is effective or that my feature works
   - [ ] I have added necessary documentation (if appropriate)
   - [ ] Any dependent changes have been merged
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at user@kylin.apache.org or dev@kylin.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...
   




> Querying sql contain "null" or " <" or ">" or "0" at the end of where condition will case exception
> ---------------------------------------------------------------------------------------------------
>
>                 Key: KYLIN-5380
>                 URL: https://issues.apache.org/jira/browse/KYLIN-5380
>             Project: Kylin
>          Issue Type: Bug
>          Components: Query Engine
>    Affects Versions: 5.0-alpha
>            Reporter: leejaywei
>            Priority: Major
>             Fix For: 5.0-alpha
>
>
> 查询中过滤条件 ”null <> 0“ 不处于 where 语句结尾时, 发生异常的问题
> 问题:
> ”null <> 0“ 不处于 where 语句结尾时, 无法命中索引, 提示需要开启下压查询, 开启下压后可以查询成功
> 示例 sql :
> select * from SSB_YUGAN.LINEORDER
> where null <> 0 or LO_CUSTKEY != 0
> LIMIT 500



--
This message was sent by Atlassian Jira
(v8.20.10#820010)