To be fair, in tree tables, we also assume that comparison is a constant time operation as well when it also necessarily needs to be O(log(n)) for an arbitrary sized table, making it an O(log(n)^2) data structure by this standard.
So the complexity becomes something like 1 + 2 + 3 + .. + log n = O(log^2 n).