def rel_info(connection): cat = MyriaCatalog(connection) key = RelationKey('Brandon', 'Demo', 'MoreBooks') return cat.num_tuples(key), cat.partitioning(key)