Skip to content

Add RuboCop rule for preventing using histogram method on large tables

We don't support batching with histograms. Please avoid using this method on large tables.

See #323949.

We have this comment in code

We could improve this by having a RuboCop rule to catch any histogram on large tables

We could start by having large tables as defined Migration/UpdateLargeTable: