Skip to content

Commit e088211

Browse files
committed
Removal of row_number as its excessive we dont partition by any
1 parent 525da02 commit e088211

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/expectations/data_values/ut_cursor_details.tpb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ create or replace type body ut_cursor_details as
201201
for i in (
202202
select parent_name, access_path, display_path, has_nested_col,
203203
transformed_name, hierarchy_level,
204-
row_number() over (order by column_position) as new_position, xml_valid_name,
204+
rownum as new_position, xml_valid_name,
205205
column_name, column_type, column_type_name, column_schema,
206206
column_len, column_precision ,column_scale ,is_sql_diffable, is_collection,value(x) col_info
207207
from table(l_result.cursor_columns_info) x

0 commit comments

Comments
 (0)