Skip to content

Conversation

leorossi
Copy link
Contributor

Description

Previously all columns where serialized in JSON (not only _id).
This PR fixes this adding a { columns } parameter to the JSON formatter. If empty it will take all fields.

Checklist

  • New tests and/or benchmarks are included
  • Documentation is changed or added

Motivation and Context

  • Bugfix
  • New feature
  • Dependency update
  • Misc

Types of changes

  • Backport Needed
  • Patch (non-breaking change which fixes an issue)
  • Minor (non-breaking change which adds functionality)
  • Major (fix or feature that would cause existing functionality to change)

@leorossi leorossi requested review from Anemy and mcasimir February 17, 2022 17:11
@leorossi leorossi changed the title bug(compass-import-export): Picks only specified columns in JSON export COMPASS-4256 fix(compass-import-export): Picks only specified columns in JSON export COMPASS-4256 Feb 18, 2022
@leorossi leorossi merged commit 170622c into main Feb 22, 2022
@leorossi leorossi deleted the COMPASS-4256 branch February 22, 2022 15:58
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

Successfully merging this pull request may close these issues.

2 participants