• I have to agree that this part of the explanation is confusing.

    I am honoured that Hugo agrees with me. 🙂

    If you feed your own values into the function, then of course you'll get back partition numbers. If you use the table to generate those values, then you won't get back a partition number for partitions that don't contain at least one row.

    I cannot agree with the argument that each partition must have rows because there are just so many of them.