From 028e5e90331ff3d12ad3f241e63ccef56a8fa017 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Fri, 19 Mar 2021 14:52:59 -0400 Subject: Use tuple for function package names 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 --- test/sql/test_compare.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/sql') diff --git a/test/sql/test_compare.py b/test/sql/test_compare.py index 9a4b8b199..02dd0661a 100644 --- a/test/sql/test_compare.py +++ b/test/sql/test_compare.py @@ -269,6 +269,12 @@ class CoreFixtures(object): ), 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")), -- cgit v1.2.1