Describe the bug
The docs and Scala code for hasNumberOfDistinctValues and hasHistogramValues indicate that providing the binningUdf, maxBins parameters should be optional, but from the function definitions they seem to be required.
To Reproduce
Steps to reproduce the behavior:
- Try to define a check with
check.hasNumberOfDistinctValues('column_name', lambda x: x == 6)
- See error: TypeError: hasNumberOfDistinctValues() missing 2 required positional arguments: 'binningUdf' and 'maxBins'
Expected behavior
I'd like to be able to call the hasNumberOfDistinctValues and hasHistogramValues without specifying a binning function and maxBins.
Describe the bug
The docs and Scala code for
hasNumberOfDistinctValuesandhasHistogramValuesindicate that providing thebinningUdf, maxBinsparameters should be optional, but from the function definitions they seem to be required.To Reproduce
Steps to reproduce the behavior:
check.hasNumberOfDistinctValues('column_name', lambda x: x == 6)Expected behavior
I'd like to be able to call the hasNumberOfDistinctValues and hasHistogramValues without specifying a binning function and maxBins.