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

Query with inner join results in error when exported as CSV #177

Open
coljac opened this issue Jan 6, 2020 · 0 comments
Open

Query with inner join results in error when exported as CSV #177

coljac opened this issue Jan 6, 2020 · 0 comments

Comments

@coljac
Copy link

coljac commented Jan 6, 2020

A certain query executes fine from within easyaccess but results in an error when redirected to a csv file.

Example:

DESSCI ~> select * from Y3A1_COADD_OBJECT_SUMMARY A INNER JOIN PROJECT2_NEW2 B ON A.COADD_OBJECT_ID = B.COADD_OBJECT_ID where ROWNUM < 4; > all.csv

Fetching data and saving it to all.csv ...

    |             ☆|  Ctrl-C to abort;  Rows : 3, Rows/sec: 0   
<class 'AttributeError'>                        
'DataFrame' object has no attribute 'dtype'   

Nothing is written to the specified file.
The query returns without error if the redirect is omitted.

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