Details
-
Bug
-
Resolution: Resolved
-
Critical
-
7.1.0
-
Untriaged
-
1
-
Unknown
Description
Testcase:
create function l(...)
{ (select length(args[0]))[0] }select a.type, l(a.type) from `travel-sample` a
the second statement returns 7 for all rows.
This is due to the subquery code mistakenly caching the result.
Attachments
Issue Links
For Gerrit Dashboard: MB-48954 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
164074,2 | MB-48954 select calling udf executing a select mistakenly marks subselect as not correlated | master | query | Status: MERGED | +2 | +1 |