docs: private static ColumnCapabilities getEffectiveCapabilities(
        DimensionSpec dimSpec,
        @Nullable ColumnCapabilities capabilities
    )
    {
      if (capabilities == null) {
        capabilities = DEFAULT_STRING_CAPABILITIES;
      }
  
      // Complex dimension type is not supported
      if (capabilities.getType() == ValueType.COMPLEX) {
        capabilities = DEFAULT_STRING_CAPABILITIES;
      }
  
      // Currently, all extractionFns output Strings, so the column will return String values via a
      // DimensionSelector if an extractionFn is present.
      if (dimSpec.getExtractionFn() != null) {
        capabilities = DEFAULT_STRING_CAPABILITIES;
      }
  
      // DimensionSpec's decorate only operates on DimensionSelectors, so if a spec mustDecorate(),
      // we need to wrap selectors on numeric columns with a string casting DimensionSelector.
      if (ValueType.isNumeric(capabilities.getType())) {
        if (dimSpec.mustDecorate()) {
          capabilities = DEFAULT_STRING_CAPABILITIES;
        }
      }
  
      return capabilities;
    }