typedb-osi / typedb-loader

TypeDB Loader - Data Migration Tool for TypeDB
https://github.com/typedb-osi/typedb-loader
Apache License 2.0
58 stars 17 forks source link

More specific WARN logging #22

Closed suciokhan closed 3 years ago

suciokhan commented 3 years ago

Request specific row number be captured in grami-log.log where there is an issue.

For example- in a dataset of 44 million rows:

10:49:06.448 [main] INFO com.bayer.dt.grami - processed 4950k rows

10:49:06.458 [main] WARN com.bayer.dt.grami.data - current row has column of type <datetime> with non-<ISO 8601 format> datetime value:

10:49:06.458 [main] WARN com.bayer.dt.grami.data - Text 'pub_date' could not be parsed at index 0

10:49:07.438 [main] INFO com.bayer.dt.grami - processed 5000k rows

While this is certainly helpful, I have to review 50,000 rows to find the specific problem.

hkuich commented 3 years ago

@suciokhan : I suppose the better solution would be to tell you exactly the row index... Do you have any other ideas?

hkuich commented 3 years ago

@suciokhan : will be part of next release - implementation finished.