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

Exporting to Excel file fails when one of the columns is a dictionary #3321

Closed
wloverine opened this issue Jan 22, 2019 · 8 comments
Closed

Comments

@wloverine
Copy link

wloverine commented Jan 22, 2019

Issue Summary

get error when exporting query results to excel file:
image
environment:ec2 on ecs

Steps to Reproduce

  1. create a new query
  2. excute the query,save it ,then download it as excel file

Any other info e.g. Why do you consider this to be a bug? What did you expect to happen instead?

Technical details:

  • Redash Version:6.0.0+b8537
  • Browser/OS:chrome
  • How did you install Redash:run redash by ecs on aws
@kyoshidajp
Copy link
Member

Can you show the error log more detail? And can you download CSV successfully?

@wloverine
Copy link
Author

wloverine commented Jan 22, 2019

Can you show the error log more detail? And can you download CSV successfully?

image
i can download csv successfully,but get error when downloading excel ,and i found that there is a field whose attribute is json.that maybe the cause,because I can export query without json attribute to excel successfully.
BTW,the data source is postgres.

@wloverine
Copy link
Author

wloverine commented Jan 22, 2019

Can you show the error log more detail? And can you download CSV successfully?

�I see the similiar problem has benn sloved in issue #2060,is this the same problem?

@arikfr arikfr changed the title get error when exporting to excel file Exporting to Excel file fails when one of the columns is a dictionary Jan 22, 2019
@arikfr
Copy link
Member

arikfr commented Jan 22, 2019

Indeed it looks like a similar issue.

@kyoshidajp
Copy link
Member

@wloverine I have submitted #3323. How about converting the field to text as a workaround on your version.

cast(field as text)

@wloverine
Copy link
Author

@kyoshidajp thanks !

@wloverine
Copy link
Author

Indeed it looks like a similar issue.

will there be a new version of redash on docker hub incoming that fixs this problem? @arikfr

@arikfr
Copy link
Member

arikfr commented Jan 22, 2019

Yes, it will be part of the next release.

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

3 participants