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

The getPrototype(6) and getReturnType(1) method must have matching number of returnTypes #43

Open
smlcngl opened this issue Jul 31, 2015 · 1 comment

Comments

@smlcngl
Copy link

smlcngl commented Jul 31, 2015

Thanks Adam,I am progressing slowly...

Now getting below error, do you have any idea

dbadmin=> SELECT heat_map_image(x,y,c USING PARAMETERS outf='/tmp/testsizer.png') OVER () AS (img) FROM (SELECT heat_map(x,y USING PARAMETERS xbins=64, ybins=64, ymin='0', xmax='0', gaussian=False, bounding_box=True, normalize=2 ) OVER () AS (x, y, x_t, y_t, c) FROM T) AS heatmap LIMIT 50;
ERROR 6589: The getPrototype(6) and getReturnType(1) method must have matching number of returnTypes

@aseering
Copy link
Contributor

Hm... Whoops. That's definitely a bug in the code.

Try setting "output_rows=true" as a PARAMETERS argument to the heat_map_image() function.

Alternatively, the latest commit to this repository should fix this. If you run:

git pull
make uninstall
make
make install

the query above should work. If you try it, let us know if it does.

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

2 participants