diff --git a/test/Table_Tests/src/Common_Table_Operations/Conversion_Spec.enso b/test/Table_Tests/src/Common_Table_Operations/Conversion_Spec.enso index 671fa4e255b2..d6b567656439 100644 --- a/test/Table_Tests/src/Common_Table_Operations/Conversion_Spec.enso +++ b/test/Table_Tests/src/Common_Table_Operations/Conversion_Spec.enso @@ -567,8 +567,15 @@ add_conversion_specs suite_builder setup = setup.expect_integer_type c2 c2.to_vector . should_equal v + # Testing that `parse` on a column that already has the right type also works (no-op). t2 = table_builder [["X", v]] - c3 = t2.parse ["X"] Value_Type.Integer . at "X" + ## On most backends, existing_type will be Integer, + but e.g. on Snowflake it will be Decimal, so to make this test universal + we need to set the actual type as target for parse. + existing_type = t2.at "X" . value_type + setup.expect_integer_type existing_type + + c3 = t2.parse ["X"] existing_type . at "X" setup.expect_integer_type c3 c3.to_vector . should_equal v