aboutsummaryrefslogtreecommitdiff
path: root/weed/query/engine/fast_path_predicate_validation_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/query/engine/fast_path_predicate_validation_test.go')
-rw-r--r--weed/query/engine/fast_path_predicate_validation_test.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/weed/query/engine/fast_path_predicate_validation_test.go b/weed/query/engine/fast_path_predicate_validation_test.go
index 3322ed51f..3918fdbf0 100644
--- a/weed/query/engine/fast_path_predicate_validation_test.go
+++ b/weed/query/engine/fast_path_predicate_validation_test.go
@@ -93,7 +93,7 @@ func TestFastPathPredicateValidation(t *testing.T) {
},
{
name: "Internal timestamp column",
- whereClause: "_timestamp_ns > 1640995200000000000",
+ whereClause: "_ts_ns > 1640995200000000000",
expectedTimeOnly: true,
expectedStartTimeNs: 1640995200000000000,
description: "Internal timestamp column should allow fast path",
@@ -139,7 +139,7 @@ func TestFastPathPredicateValidation(t *testing.T) {
t.Errorf("Expected stopTimeNs=%d, got %d", tc.expectedStopTimeNs, stopTimeNs)
}
- t.Logf("✅ %s: onlyTimePredicates=%v, startTimeNs=%d, stopTimeNs=%d",
+ t.Logf("%s: onlyTimePredicates=%v, startTimeNs=%d, stopTimeNs=%d",
tc.name, onlyTimePredicates, startTimeNs, stopTimeNs)
})
}
@@ -212,7 +212,7 @@ func TestFastPathAggregationSafety(t *testing.T) {
tc.shouldUseFastPath, canAttemptFastPath, tc.description)
}
- t.Logf("✅ %s: canAttemptFastPath=%v (onlyTimePredicates=%v, startTimeNs=%d, stopTimeNs=%d)",
+ t.Logf("%s: canAttemptFastPath=%v (onlyTimePredicates=%v, startTimeNs=%d, stopTimeNs=%d)",
tc.name, canAttemptFastPath, onlyTimePredicates, startTimeNs, stopTimeNs)
})
}
@@ -233,7 +233,7 @@ func TestTimestampColumnDetection(t *testing.T) {
description: "System timestamp display column should be detected",
},
{
- columnName: "_timestamp_ns",
+ columnName: "_ts_ns",
isTimestamp: true,
description: "Internal timestamp column should be detected",
},
@@ -266,7 +266,7 @@ func TestTimestampColumnDetection(t *testing.T) {
t.Errorf("Expected isTimestampColumn(%s)=%v, got %v. %s",
tc.columnName, tc.isTimestamp, isTimestamp, tc.description)
}
- t.Logf("✅ Column '%s': isTimestamp=%v", tc.columnName, isTimestamp)
+ t.Logf("Column '%s': isTimestamp=%v", tc.columnName, isTimestamp)
})
}
}