keboola / db-extractor-mssql

MIT License
1 stars 2 forks source link

Check that the table's incremental column have an index present #138

Open tomasfejfar opened 5 years ago

tomasfejfar commented 5 years ago

Ref.: https://keboola.slack.com/archives/C035LGNK5/p1566907933002000?thread_ts=1566832565.002900&cid=C035LGNK5

We could make use of getTables() call that we're already doing anyway to check whether there is an index on the incremental column. And if not, maybe emit a message. It should not fail because of it, but it should be immediately visible that this might be the problem.