datalens-tech / datalens-backend

Data processing backend for DataLens

Home Page:https://datalens.tech

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update MSSQL tests (or connector)

KonstantAnxiety opened this issue · comments

With and upgrade of the base image (ubuntu focal -> jammy), which entailed an upgrade of MSSQL libraries (packages: freetds-dev, tdsodbc), some tests started to fail (e.g. https://github.com/datalens-tech/datalens-backend/actions/runs/7337606775/job/19986082784).

Type recognition for some of MS SQL Server types has been changed in a newer version of these packages => so no major errors, just a few mismatches with MSSQL-specific types. Need to validate new behaviour and adjust tests and/or the connector itself

As a temporary solution (#200), these packages' versions were pinned in the CI image to ensure the old behaviour at least

Version changes (from focal -> to jammy):

  • freetds-dev: 1.1.6-1.1 -> 1.3.6-1
  • tdsodbc: 1.1.6-1.1 -> 1.3.6-1

Other changes, which do not affect tests, jfyi:

  • unixodbc: 2.3.6-0.1build1 -> 2.3.9-5
  • unixodbc-dev: 2.3.6-0.1build1 -> 2.3.9-5
  • libtcmalloc-minimal4: 2.7-1ubuntu2 -> 2.9.1-0ubuntu3