2b940019755cebf4e31bc9ae854705b61d57a3b5,tests/integration_tests/flows/test_mariadb.py,,,#,17
Before Change
TEST_CONFIG
)
TEST_CSV = {
"name": "home_rentals.csv",
"url": "https://s3.eu-west-2.amazonaws.com/mindsdb-example-data/home_rentals.csv"
}
TEST_DATA_TABLE = "home_rentals"
TEST_PREDICTOR_NAME = "test_predictor"
EXTERNAL_DS_NAME = "test_external"
After Change
// +++ define test data
TEST_DATASET = "us_health_insurance"
DB_TYPES_MAP = {
int: "int",
float: "float",
str: "varchar(255)"
}
TO_PREDICT = {
"charges": float,
"smoker": str
}
CONDITION = {
"age": 20,
"sex": "female"
}
// ---
TEST_DATA_TABLE = TEST_DATASET
TEST_PREDICTOR_NAME = f"{TEST_DATASET}_predictor"
EXTERNAL_DS_NAME = f"{TEST_DATASET}_external"
config = Config(TEST_CONFIG)
to_predict_column_names = list(TO_PREDICT.keys())
def query(q, as_dict=False, fetch=False):
con = mysql.connector.connect(
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 12
Instances
Project Name: mindsdb/mindsdb
Commit Name: 2b940019755cebf4e31bc9ae854705b61d57a3b5
Time: 2020-11-11
Author: stpmax@yandex.ru
File Name: tests/integration_tests/flows/test_mariadb.py
Class Name:
Method Name:
Project Name: mindsdb/mindsdb
Commit Name: 2b940019755cebf4e31bc9ae854705b61d57a3b5
Time: 2020-11-11
Author: stpmax@yandex.ru
File Name: tests/integration_tests/flows/test_mariadb.py
Class Name:
Method Name:
Project Name: mindsdb/mindsdb
Commit Name: 2b940019755cebf4e31bc9ae854705b61d57a3b5
Time: 2020-11-11
Author: stpmax@yandex.ru
File Name: tests/integration_tests/flows/test_postgres.py
Class Name:
Method Name:
Project Name: mindsdb/mindsdb
Commit Name: 2b940019755cebf4e31bc9ae854705b61d57a3b5
Time: 2020-11-11
Author: stpmax@yandex.ru
File Name: tests/integration_tests/flows/test_clickhouse.py
Class Name:
Method Name: