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

MongoDB Query Runner displays duplicated columns #6640

Open
masayuki038 opened this issue Dec 2, 2023 · 0 comments · May be fixed by #6641
Open

MongoDB Query Runner displays duplicated columns #6640

masayuki038 opened this issue Dec 2, 2023 · 0 comments · May be fixed by #6641
Assignees

Comments

@masayuki038
Copy link
Collaborator

Issue Summary

MongoDB Query Runner displays duplicated columns on querying without fields.

Steps to Reproduce

  1. Insert multiple records
test> db.hoge.find()
[
  { _id: ObjectId('6569ecd1214c2278faf58ca3'), name: 'test' },
  { _id: ObjectId('6569ee53d53db7930aaa0cc0'), name: 'test2', age: 10 }
]
  1. Send a query without fields
{"collection": "hoge"}
  1. The columns are "_id", "name", "_id", "name", "age". The expected columns are "_id", "name", "age".
    image

Technical details:

  • Redash Version: master branch
  • Browser/OS: Chrome / Docker
  • How did you install Redash:
@masayuki038 masayuki038 self-assigned this Dec 2, 2023
@masayuki038 masayuki038 linked a pull request Dec 3, 2023 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant