BUG: OmniSciDBTable rewrites the method: drop
inherited from TableExpr with behavior change
#2105
Labels
bug
Incorrect behavior inside of ibis
Problem:
TableExpr.drop
is used for drop columns, butOmniSciDBTable.drop
can be only used for drop the table from database.Workaround:
table[table].drop(fields)
wheretype(table) = <class 'ibis.omniscidb.client.OmniSciDBTable'>
.Proposed solutions:
OmniSciDBTable.drop
->OmniSciDBTable.drop_table
drop
method fromOmnisciDBTable
class and usingOmniSciDBClient.drop_table
instead (I prefer this option)The text was updated successfully, but these errors were encountered: