• Peter Leitzen's avatar
    Implement usage ping `histogram` · 2940e3fd
    Peter Leitzen authored
    The implementation utilizes `WIDTH_BUCKET` SQL function.
    
    Note that this iteration does not use support batching.
    
    Convert histogram keys to strings in Usage Ping
    
    Return a more meaningful histogram fallback
    
    Avoid raising exceptions during usage ping calculations
    
    Return fallback also for invalid statements
    
    Avoid control flow with exceptions
    2940e3fd
usage_data_spec.rb 18.3 KB