Details
-
Bug
-
Resolution: Fixed
-
Major
-
7.1.0
-
Untriaged
-
1
-
Yes
Description
select * from `travel-sample` where (type=$type or $type is null)
|
yields
[
|
{
|
"code": 4321,
|
"msg": "Plan error: buildOrScanNoPushdown: missing OR subterm",
|
"query": "select * from `travel-sample` where (type=$type or $type is null)"
|
}
|
]
|
$type doesn't even have to be set
Attachments
Issue Links
- backports to
-
MB-51578 [BP to 7.0.4] - Error 4321 generated when OR clause has a ($parameter is null) arm
- Closed
For Gerrit Dashboard: MB-51561 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
172755,5 | MB-51561 Proper handling of empty span at runtime in case of multiple spans | master | query | Status: MERGED | +2 | +1 |