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

User defined types shows as [object Object] in result panel #7

Open
vlad1918 opened this issue Feb 19, 2019 · 4 comments
Open

User defined types shows as [object Object] in result panel #7

vlad1918 opened this issue Feb 19, 2019 · 4 comments

Comments

@vlad1918
Copy link

Describe the bug
When you perform a select with a user defined type (https://docs.datastax.com/en/cql/3.3/cql/cql_reference/cqlCreateType.html) the results are not in human readable format, but instead show up as [object Object]

To Reproduce
Steps to reproduce the behavior:

  1. Create a table with a user defined type (ex: CREATE TYPE space.container (weight text, height text );)
  2. Insert some data in the table with the user defined type (ex: {weight: "100", height: "100"})
  3. Perform a select with Cassandra Workbench
  4. In the result panel in the container column instead of seeing something like {weight: "100", height: "100"} you see [object Object]

Expected behavior
You should see in the result table the type as {weight: "100", height: "100"} so that you are able to read it.

System info (please complete the following information):

  • OS: ubuntu 18.04
  • Cassandra version 3.0.13
  • vscode version 1.30.2

Additional context
If you select the key of the object then it will work. For example: SELECT container FROM ... results in [object Object] but SELECT container.weight FROM ... results in 100

@kdcro101
Copy link
Owner

@vlad1918 ,

I will check this!

Thanks for you feedback

@akahanek
Copy link

akahanek commented May 5, 2019

Hi, I have encountered the same problem, when do you plan to check this, please?

@vlad2135
Copy link

Same problem (rather, lack of a feature) here.

@Allysh0w
Copy link

Allysh0w commented Jun 8, 2020

I have the same problem

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

5 participants