Commit 51b9327
authored
fix(import): COMPASS-4164: Preview table values always strings (#1914)
mongodb-js/compass-import-export#120
## Description
(wasn't handling `Date` properly in example @mmarcon had on COMPASS-4164)
From mongodb-js/compass-import-export#120
> - chore: Upgrade to javascript-stringify@2 b5bdc7b Fixes #56
> - fix(import): Preview table values always strings 29148cd Fixes COMPASS-4164
> - fix(import): Hard limit reading fs for preview to first 20kb so preview always shows as fast as possible.
>
> 
As a reminder, because we're now using a streaming backend, the total number of documents is likely to be off, especially for very large imports. So, 100% progress but still running is expected behavior. Devtools will log not only the input options that user chose but the estimator details as well:

Summary stats are also logged when the import completes successfully, by user selection or error:

1 parent ad4dcf4 commit 51b9327
2 files changed
+8
-8
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
309 | | - | |
| 309 | + | |
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
| |||
0 commit comments