Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3f97b9e

Browse files
committed
fixing ORA-00907 when comparing ref cursors with BINARY_DOUBLE/BINRAY_FLOAT columns
fixing ORA-00907: missing right parenthesis when comparing ref cursors with BINARY_DOUBLE/BINARY_FLOAT columns, because these column types do not support type length
1 parent 67be0f4 commit 3f97b9e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

source/expectations/data_values/ut_compound_data_helper.pkb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,8 @@ create or replace package body ut_compound_data_helper is
231231
elsif a_data_info.is_sql_diffable = 1 and a_data_info.column_type in ('DATE','TIMESTAMP','TIMESTAMP WITH TIME ZONE',
232232
'TIMESTAMP WITH LOCAL TIME ZONE') then
233233
l_col_type := 'VARCHAR2(50)';
234-
elsif a_data_info.is_sql_diffable = 1 and a_data_info.column_type in ('INTERVAL DAY TO SECOND','INTERVAL YEAR TO MONTH') then
234+
elsif a_data_info.is_sql_diffable = 1 and a_data_info.column_type in ('INTERVAL DAY TO SECOND',
235+
'INTERVAL YEAR TO MONTH', 'BINARY_FLOAT', 'BINARY_DOUBLE') then
235236
l_col_type := a_data_info.column_type;
236237
else
237238
l_col_type := a_data_info.column_type

0 commit comments

Comments
 (0)