Hi! I’m currently working with `tap-mssql` using t...
# plugins-general
d
Hi! I’m currently working with
tap-mssql
using the default
wintersrd
variant. I searched the repo for a
start_date
but it seems there isn’t any. Has anyone had any success running this tap limiting the date of the data? I searched open issues or PR but couldn’t find any that address this issue. Thanks!
a
cc @visch @david_tout
v
I haven't needed incremental myself, I'm no help here 😕
d
Thanks @aaronsteers and @visch, the reason we are looking to restrict the date is that for some older data (outside the current need of the business) we’re getting the following error: “corrupted unsorted chunks” with both FULL and INCREMENTAL which fails the extraction
d
I tried it with Airbyte to see if it was inherently part of the database but the extraction ran successfully… not sure how to make it work with Meltano
v
I think that implementation uses pymssql so it smells of that bug
d
Thanks @visch! I saw a PR on the tap repo for an upgrade to 2.2.1, and even @aaronsteers asked for an update on the this particular PR but it seems it safer to switch pymssql for pyodbc
v
Yeah I think that's the way. I have a target-mssql written with pyodbc, but not a tap
d
I’ll talk with my team to see if we can make this work for the tap 🤞
v
Good luck, I will say my migration from pymssql to pyodbc was pretty seemless
Only a few quirks if you use temp tables and fastsync
d
Good to know, thank you for taking the time! @visch
v
No problem, let us know what fix you go with!
Note that I did use the tap-mssql and didn't have the issues you're talking about but my data isn't huge
d
I'm running in incremental mode, but I did not try and limit how far back the data went
Started with a full load and incrementals from there every hour