Skip to content

Commit bb4494d

Browse files
authored
ADDED FUNCTION_DEFINITON to UDF query
Reason: Determine UDF complexity and translate it to BQ
1 parent e96ac95 commit bb4494d

File tree

1 file changed

+1
-1
lines changed
  • dumper/app/src/main/java/com/google/edwmigration/dumper/application/dumper/connector/snowflake

1 file changed

+1
-1
lines changed

dumper/app/src/main/java/com/google/edwmigration/dumper/application/dumper/connector/snowflake/SnowflakePlanner.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ static AssessmentQuery createUserDefinedFunctionsSelect(
151151
String formatString =
152152
"SELECT FUNCTION_CATALOG, FUNCTION_SCHEMA, FUNCTION_NAME, FUNCTION_LANGUAGE, ARGUMENT_SIGNATURE, "
153153
+ "FUNCTION_OWNER, COMMENT, VOLATILITY, RUNTIME_VERSION, LAST_ALTERED, "
154-
+ "PACKAGES, IMPORTS, IS_AGGREGATE, IS_DATA_METRIC, IS_MEMOIZABLE "
154+
+ "PACKAGES, IMPORTS, FUNCTION_DEFINITION, IS_AGGREGATE, IS_DATA_METRIC, IS_MEMOIZABLE "
155155
+ "FROM SNOWFLAKE.ACCOUNT_USAGE.FUNCTIONS "
156156
+ "WHERE FUNCTION_SCHEMA != 'INFORMATION_SCHEMA' ";
157157
return new AssessmentQuery(false, formatString, zipFormat.value, caseFormat);

0 commit comments

Comments
 (0)