Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-5380

Querying sql contain "null" or " <" or ">" or "0" at the end of where condition will case exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.0-alpha
    • 5.0-alpha
    • Query Engine
    • None

    Description

      查询中过滤条件 ”null <> 0“ 不处于 where 语句结尾时, 发生异常的问题

      问题:

      ”null <> 0“ 不处于 where 语句结尾时, 无法命中索引, 提示需要开启下压查询, 开启下压后可以查询成功

      示例 sql :

      select * from SSB_YUGAN.LINEORDER
      where null <> 0 or LO_CUSTKEY != 0
      LIMIT 500

      Attachments

        Activity

          People

            leejaywei leejaywei
            leejaywei leejaywei
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: