From 3777a673b06dcb1fc1032f597acdcc606d0ee133 Mon Sep 17 00:00:00 2001 From: Pankaj Koti Date: Wed, 24 Jan 2024 18:57:31 +0530 Subject: [PATCH] Correct column value check for test assert --- python-sdk/pyproject.toml | 2 +- python-sdk/tests_integration/databases/test_snowflake.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/python-sdk/pyproject.toml b/python-sdk/pyproject.toml index b1a79f6be3..b78c113bbe 100644 --- a/python-sdk/pyproject.toml +++ b/python-sdk/pyproject.toml @@ -19,7 +19,7 @@ requires-python = ">=3.8" dependencies = [ "apache-airflow>=2.7", "attrs>=20.3.0", - "pandas==2.1.4", # Versions 2.2.0 seems to be breaking our tests, so pin it to this version temporarily. + "pandas<2.2.0", # Versions 2.2.0 seems to be breaking our tests, so pin it to this version temporarily. "pyarrow", "python-frontmatter", "smart-open", diff --git a/python-sdk/tests_integration/databases/test_snowflake.py b/python-sdk/tests_integration/databases/test_snowflake.py index 590e75c5d0..d8f036982a 100644 --- a/python-sdk/tests_integration/databases/test_snowflake.py +++ b/python-sdk/tests_integration/databases/test_snowflake.py @@ -87,8 +87,8 @@ def test_snowflake_create_table_with_columns(database_table_fixture): assert rows[0][1] == "NUMBER(38,0)" assert rows[0][2] == "COLUMN" - assert rows[1][0] == "ID" - assert rows[1][1] == "NUMBER(60)" + assert rows[1][0] == "NAME" + assert rows[1][1] == "VARCHAR(60)" assert rows[1][2] == "COLUMN"