Fixed issue where using a ``func`` that includes dotted packagenames would
fail to be cacheable by the SQL caching system due to a Python list of
names that needed to be a tuple.
Fixes: #6101
Change-Id: I1d4bb5bf230b83596c59b6a04aa498f18ecd9613
--- /dev/null
+.. change::
+ :tags: bug, sql, regression
+ :tickets: 6101
+
+ Fixed issue where using a ``func`` that includes dotted packagenames would
+ fail to be cacheable by the SQL caching system due to a Python list of
+ names that needed to be a tuple.
+
return func(*c, **o)
return Function(
- self.__names[-1], packagenames=self.__names[0:-1], *c, **o
+ self.__names[-1], packagenames=tuple(self.__names[0:-1]), *c, **o
)
),
lambda: (_OffsetLimitParam("x"), _OffsetLimitParam("y")),
lambda: (func.foo(), func.foo(5), func.bar()),
+ lambda: (
+ func.package1.foo(5),
+ func.package2.foo(5),
+ func.packge1.bar(5),
+ func.foo(),
+ ),
lambda: (func.current_date(), func.current_time()),
lambda: (
func.next_value(Sequence("q")),