Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cache lookup failed for function 4 #45

Open
simovesterinen opened this issue May 27, 2015 · 0 comments
Open

cache lookup failed for function 4 #45

simovesterinen opened this issue May 27, 2015 · 0 comments

Comments

@simovesterinen
Copy link

Hi,

When having many columns like in this example there is an error:

ERROR: cache lookup failed for function 4
********** Error **********

ERROR: cache lookup failed for function 4
SQL state: XX000

Example query:

SELECT CAST(3 as integer) as perspective_, (cs_as_array((qq).group_by,'i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4'))[1]:: integer AS A0051, (cs_as_array((qq).group_by,'i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4'))[2]::integer AS A0051_name, (cs_as_array((qq).group_by,'i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4'))[3]:: integer AS A0050, (cs_as_array((qq).group_by,'i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4'))[4]::integer AS A0050_name, (cs_as_array((qq).group_by,'i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4'))[5]:: integer AS A0049, (cs_as_array((qq).group_by,'i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4'))[6]::integer AS A0049_name, (cs_as_array((qq).group_by,'i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4'))[7]:: integer AS A0048, (cs_as_array((qq).group_by,'i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4'))[8]::integer AS A0048_name, (cs_as_array((qq).group_by,'i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4'))[9]:: integer AS A0047, (cs_as_array((qq).group_by,'i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4'))[10]::integer AS A0047_name, (cs_as_array((qq).group_by,'i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4'))[11]:: integer AS A0046, (cs_as_array((qq).group_by,'i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4'))[12]::integer AS A0046_name, (cs_as_array((qq).group_by,'i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4'))[13]:: integer AS A0045, (cs_as_array((qq).group_by,'i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4'))[14]::integer AS A0045_name, (cs_as_array((qq).group_by,'i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4'))[15]:: integer AS A0044, (cs_as_array((qq).group_by,'i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4'))[16]::integer AS A0044_name, (cs_as_array((qq).group_by,'i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4'))[17]:: integer AS A0043, (cs_as_array((qq).group_by,'i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4'))[18]::integer AS A0043_name, (cs_as_array((qq).group_by,'i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4'))[19]:: integer AS A0042, (cs_as_array((qq).group_by,'i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4i4'))[20]::integer AS A0042_name
from Kirjanpito_Omistajat_imcs_4_get('Native') q
, cs_project_agg(cs_hash_sum(q.M0022,q.A0051||q.A0051_name||q.A0050||q.A0050_name||q.A0049||q.A0049_name||q.A0048||q.A0048_name||q.A0047||q.A0047_name||q.A0046||q.A0046_name||q.A0045||q.A0045_name||q.A0044||q.A0044_name||q.A0043||q.A0043_name||q.A0042||q.A0042_name),null,false) qq

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant