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

cs_project for one column cs return null #22

Closed
amutu opened this issue Mar 18, 2014 · 1 comment
Closed

cs_project for one column cs return null #22

amutu opened this issue Mar 18, 2014 · 1 comment

Comments

@amutu
Copy link

amutu commented Mar 18, 2014

for one column ,the column set all element to null,while for two column ,the result are expected.

postgres=# select t.x is null from samp2_get(),cs_project(ts) as t(x timestamp) limit 3;
NOTICE: IMCS command: project

?column?

t
t
t
(3 rows)

postgres=# select t.* from samp2_get(),cs_project((ts,STACKTOPSIGNATURE)) as t(x timestamp,y char(64)) limit 3;
NOTICE: IMCS command: project
x | y
---------------------+----------------------------------
2014-02-23 00:08:25 | 44e40035e11455f301cf8d032b497d80
2014-02-23 00:08:27 | 3e48f335512fbf922bee17f9488e71b2
2014-02-23 00:08:29 | 350a50b27e41c31f35889af56fa3fd95
(3 rows)

@knizhnik
Copy link
Owner

Sorry, NULL indicator was not properly initialized in this case.
Fixed in revision 51

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