Skip to content

Commit 2baec85

Browse files
committed
Add note about downsampling behavior
1 parent 7e47bf9 commit 2baec85

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/utils.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,7 @@ const Utils = (() => {
403403
return `-- LTTB downsampling (maxPoints: ${maxPoints})
404404
-- Uses combined magnitude of all columns for point selection
405405
-- {{START_TIME}} and {{END_TIME}} are replaced with actual values during zoom/pan
406+
-- Note: Downsampling behavior here is very slightly different than auto mode, to make this SQL more readable
406407
WITH ordered AS (
407408
SELECT
408409
${timeOrderExpr} AS t_order,
@@ -454,6 +455,7 @@ ORDER BY o.t_value`;
454455
return `-- Min/Max downsampling (maxPoints: ${maxPoints}, buckets: ${numBuckets})
455456
-- Preserves min/max peaks for ALL value columns
456457
-- {{START_TIME}} and {{END_TIME}} are replaced with actual values during zoom/pan
458+
-- Note: Downsampling behavior here is very slightly different than auto mode, to make this SQL more readable
457459
WITH numbered AS (
458460
SELECT
459461
\`${timeCol}\`,

0 commit comments

Comments
 (0)