SQL Server queries beyond a certain character length are timing out
问题 Recently I migrated an ETL platform from Python 2.7 to 3 and also updated its Docker image from Ubuntu 16.04 to 18.04. After the migration I started encountering some really strange behavior when trying to reflect SQL Server tables using SQLAlchemy with the pyodbc driver. Initially, I was seeing this error message: [08S01] [FreeTDS][SQL Server]Read from the server failed (20004) (SQLExecDirectW) I had updated SQLAlchemy from 0.9.8 to 1.3.10 (I hadn't touched pyodbc which was at 3.0.10) so I