#NEWLINE# def _drop_all_functions( self , database ) : #NEWLINE# #INDENT# udfs = self . list_udfs ( database = database ) #NEWLINE# for fnct in udfs : #NEWLINE# #INDENT# stmt = ddl . DropFunction ( fnct . name , self . inputs , must_exist = False , aggregate = False , database = database ) #NEWLINE# self . _execute ( stmt ) #NEWLINE# #UNINDENT# udafs = self . list_udas ( database = database ) #NEWLINE# for udaf in udafs : #NEWLINE# #INDENT# stmt = ddl . DropFunction ( udaf . name , udaf . inputs , must_exist = False , aggregate = True , database = database ) #NEWLINE# self . _execute ( stmt )