Skip to content

Commit

Permalink
Hck 2392 snowflake re issue with handling udf (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtseluiko authored Oct 4, 2022
1 parent 4988404 commit 351b66e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reverse_engineering/helpers/snowflakeHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -981,7 +981,7 @@ const getFunctions = async (dbName, schemaName) => {
const rows = await execute(`select * from "${removeQuotes(dbName)}".information_schema.functions where FUNCTION_SCHEMA='${schemaName}'`);

return rows.map(row => {
const functionLanguage = row['ARGUMENT_SIGNATURE'] === '()' ? '' : row['ARGUMENT_SIGNATURE'];
const functionArguments = row['ARGUMENT_SIGNATURE'] === '()' ? '' : row['ARGUMENT_SIGNATURE'];

return {
name: row['FUNCTION_NAME'],
Expand Down

0 comments on commit 351b66e

Please sign in to comment.