Skip to content

Commit

Permalink
[fix](case) try to drop function before create it (#41603)
Browse files Browse the repository at this point in the history
## Proposed changes

Issue Number: close #xxx

<!--Describe your changes.-->

Co-authored-by: stephen <[email protected]>
  • Loading branch information
hello-stephen and stephen authored Oct 10, 2024
1 parent f6dac85 commit c0749bc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion regression-test/suites/javaudf_p0/function_meta/load.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@

log.info("Jar path: ${jarPath}".toString())
sql """ DROP TABLE IF EXISTS ${tableName} """
sql """DROP FUNCTION IF EXISTS function_query_test(int);"""
sql """DROP FUNCTION IF EXISTS java_udf_int_test(int);"""
sql """DROP FUNCTION IF EXISTS udaf_my_sum_int(int);"""
sql """DROP FUNCTION IF EXISTS udtf_int(int);"""
sql """DROP FUNCTION IF EXISTS java_udf_int_test_global_2(int);"""
sql """
CREATE TABLE IF NOT EXISTS ${tableName} (
`user_id` INT NOT NULL COMMENT ""
Expand Down

0 comments on commit c0749bc

Please sign in to comment.