Uploaded image for project: 'Apache Airflow'
  1. Apache Airflow
  2. AIRFLOW-6366

Fix migrations for MS SQL Server

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.10.7
    • Fix Version/s: 1.10.8
    • Component/s: database
    • Labels:
      None

      Description

      Although MS SQL Server is not officially supported as a backend database, I am using it via PyODBC and found a minor issue with migration from 1.10.6 to 1.10.7.

       

      Below is a log excerpt showing the issue:

      INFO [alembic.runtime.migration] Running upgrade 6e96a59344a4 -> d38e04c12aa2, add serialized_dag table

      sqlalchemy.exc.ProgrammingError: (pyodbc.ProgrammingError) ('42000', "[42000] [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]'JSON_VALID' is not a recognized built-in function name. (195) (SQLExecDirectW)")

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bjorn.olsen1@gmail.com Bjorn Olsen
                Reporter:
                bjorn.olsen1@gmail.com Bjorn Olsen
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: