Query editor
selectapprox_percentile(price, 0.5) as price, approx_percentile(decimals, 0.5) as decimalsfrom prices.minutewhere symbol = '{{symbol}}'andsource_timestamp =DATE_TRUNC('minute', cast('{{input_timestamp}}' as timestamp))limit 10;
Query editor
1select2approx_percentile(price, 0.5) as price, approx_percentile(decimals, 0.5) as decimals3from prices.minute4where symbol = '{{symbol}}'5and6source_timestamp =7DATE_TRUNC('minute', cast('{{input_timestamp}}' as timestamp))8limit 10;