Skip to content

Commit

Permalink
fix: text_summarization uses drop udf (georgia-tech-db#1290)
Browse files Browse the repository at this point in the history
text_summarization uses drop udf instead of drop function.
  • Loading branch information
aryan-rajoria authored and a0x8o committed Oct 30, 2023
1 parent 2b924b7 commit d88cf7e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
);""").df()
cursor.load('./cnn_news_test.csv', 'cnn_news_test', format="CSV").df()

cursor.query("DROP UDF IF EXISTS TextSummarizer;").df()
cursor.query("DROP FUNCTION IF EXISTS TextSummarizer;").df()
cursor.query("""CREATE UDF IF NOT EXISTS TextSummarizer
TYPE HuggingFace
TASK 'summarization'
Expand Down

0 comments on commit d88cf7e

Please sign in to comment.