@@ -102,12 +102,14 @@ class FunctionColumnInfo:
102102 FunctionColumnInfo (current_catalog , test_schema_1 , test_func_1 , "test_column_smallint" , FunctionColumnType .IN , 5 , "int2" , 5 , 2 , 0 , 10 , 2 , "" , None , 1 , "" , test_func_1_specific_name ),
103103 FunctionColumnInfo (current_catalog , test_schema_1 , test_func_1 , "test_column_integer" , FunctionColumnType .IN , 4 , "int4" , 10 , 4 , 0 , 10 , 2 , "" , None , 2 , "" , test_func_1_specific_name ),
104104 FunctionColumnInfo (current_catalog , test_schema_1 , test_func_1 , "test_column_bigint" , FunctionColumnType .IN , - 5 , "int8" , 19 , 20 , 0 , 10 , 2 , "" , None , 3 , "" , test_func_1_specific_name ),
105- FunctionColumnInfo (current_catalog , test_schema_1 , test_func_1 , "test_column_numeric" , FunctionColumnType .IN , 2 , "numeric" , 10 , None , 5 , 10 , 2 , "" , None , 4 , "" , test_func_1_specific_name ),
105+ # SQL UDF has an issue where precision and scale was not stored and returned properly for numeric data type
106+ FunctionColumnInfo (current_catalog , test_schema_1 , test_func_1 , "test_column_numeric" , FunctionColumnType .IN , 2 , "numeric" , 0 , None , 0 , 10 , 2 , "" , None , 4 , "" , test_func_1_specific_name ),
106107 FunctionColumnInfo (current_catalog , test_schema_1 , test_func_1 , "test_column_real" , FunctionColumnType .IN , 7 , "float4" , 8 , 4 , 8 , 10 , 2 , "" , None , 5 , "" , test_func_1_specific_name ),
107108 FunctionColumnInfo (current_catalog , test_schema_1 , test_func_1 , "test_column_double" , FunctionColumnType .IN , 8 , "float8" , 17 , 8 , 17 , 10 , 2 , "" , None , 6 , "" , test_func_1_specific_name ),
108109 FunctionColumnInfo (current_catalog , test_schema_1 , test_func_1 , "test_column_boolean" , FunctionColumnType .IN , - 7 , "bool" , 1 , 1 , 0 , 10 , 2 , "" , None , 7 , "" , test_func_1_specific_name ),
109- FunctionColumnInfo (current_catalog , test_schema_1 , test_func_1 , "test_column_char" , FunctionColumnType .IN , 1 , "char" , 20 , None , 0 , 10 , 2 , "" , None , 8 , "" , test_func_1_specific_name ),
110- FunctionColumnInfo (current_catalog , test_schema_1 , test_func_1 , "test_column_varchar" , FunctionColumnType .IN , 12 , "varchar" , 256 , None , 0 , 10 , 2 , "" , None , 9 , "" , test_func_1_specific_name ),
110+ # SQL UDF has an issue where character_maximum_length was not stored and returned properly for char/varchar data type
111+ FunctionColumnInfo (current_catalog , test_schema_1 , test_func_1 , "test_column_char" , FunctionColumnType .IN , 1 , "char" , 0 , None , 0 , 10 , 2 , "" , None , 8 , "" , test_func_1_specific_name ),
112+ FunctionColumnInfo (current_catalog , test_schema_1 , test_func_1 , "test_column_varchar" , FunctionColumnType .IN , 12 , "varchar" , 0 , None , 0 , 10 , 2 , "" , None , 9 , "" , test_func_1_specific_name ),
111113 FunctionColumnInfo (current_catalog , test_schema_1 , test_func_1 , "test_column_date" , FunctionColumnType .IN , 91 , "date" , 13 , 6 , 0 , 10 , 2 , "" , None , 10 , "" , test_func_1_specific_name ),
112114 FunctionColumnInfo (current_catalog , test_schema_1 , test_func_1 , "test_column_timestamp" , FunctionColumnType .IN , 93 , "timestamp" , 29 , 6 , 6 , 10 , 2 , "" , None , 11 , "" , test_func_1_specific_name ),
113115 FunctionColumnInfo (current_catalog , test_schema_1 , test_func_2 , "" , FunctionColumnType .RETURN , 4 , "int4" , 10 , 4 , 0 , 10 , 2 , "" , None , 0 , "" , test_func_2_specific_name ),
0 commit comments