4paradigm / OpenMLDB

OpenMLDB is an open-source machine learning database that provides a feature platform computing consistent features for training and inference.
https://openmldb.ai
Apache License 2.0
1.59k stars 321 forks source link

Demo in docker will fail when upgrading to 0.9.0, update python script with sqlalchemy 2 #3932

Closed tobegit3hub closed 2 months ago

tobegit3hub commented 6 months ago

Bug Description

If we update the version of openmldb in docker image, it will fail.

Here are the files that we should update for openmldb 0.9.0.

test/integration-test/openmldb-test-python/install.sh

demo/Dockerfile

Here is the error log.

https://github.com/4paradigm/OpenMLDB/actions/runs/9092221209/job/24988464772?pr=3927

Screenshot 2024-05-16 at 17 50 36

We need to update the python code which use sqlalchemy 2 instead of sqlalchemy 1. For example, wrap text in sql string.