def get_partitions_by_filter(self, db_name, tbl_name, filter, max_parts):
    """
    Parameters:
     - db_name
     - tbl_name
     - filter
     - max_parts
    """
    self.send_get_partitions_by_filter(db_name, tbl_name, filter, max_parts)
    return self.recv_get_partitions_by_filter()
def get_partitions_by_filter ( self , db_name , tbl_name , filter , max_parts ) : self . send_get_partitions_by_filter ( db_name , tbl_name , filter , max_parts ) return self . recv_get_partitions_by_filter ( )
Parameters:
     - db_name
     - tbl_name
     - filter
     - max_parts