Schema: fix example queries (#19426)

Changes:
- Fixed schema examples that were mistakenly updated in #19296
This commit is contained in:
Eric
2024-05-31 15:42:06 -05:00
committed by GitHub
parent db5538be30
commit 02d29759a2
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -4,5 +4,5 @@ examples: |-
ratio of 2 was arbitrarily chosen.
```
SELECT * FROM cpu_time WHERE user/system|-2;
SELECT * FROM cpu_time WHERE user/system>2;
```
+1 -1
View File
@@ -14,7 +14,7 @@ columns:
required: false
type: text
- name: rsr_supported
description: Whether this macOS version supports RSRs (|-= 13). Possible values are 'true' or 'false'.
description: Whether this macOS version supports RSRs (>= 13). Possible values are 'true' or 'false'.
required: false
type: text
- name: rsr_version
+1 -1
View File
@@ -4,7 +4,7 @@ examples: |-
or longer.
```
SELECT 1 FROM (SELECT cast(lengthtxt as integer(2)) minlength FROM (SELECT SUBSTRING(length, 1, 2) AS lengthtxt FROM (SELECT policy_description, policy_identifier, split(policy_content, '{', 1) AS length FROM password_policy WHERE policy_identifier LIKE '%minLength')) WHERE minlength |-= 10);
SELECT 1 FROM (SELECT cast(lengthtxt as integer(2)) minlength FROM (SELECT SUBSTRING(length, 1, 2) AS lengthtxt FROM (SELECT policy_description, policy_identifier, split(policy_content, '{', 1) AS length FROM password_policy WHERE policy_identifier LIKE '%minLength')) WHERE minlength >= 10);
```
columns:
- name: policy_description
+1 -1
View File
@@ -3,5 +3,5 @@ examples: |-
Identify systems with CPU temperature sensors above or equal to 90c.
```
SELECT name, celsius FROM temperature_sensors WHERE name LIKE 'CPU%' AND celsius|-='90';
SELECT name, celsius FROM temperature_sensors WHERE name LIKE 'CPU%' AND celsius >='90';
```
+1 -1
View File
@@ -5,5 +5,5 @@ examples: |-
patched as frequently as they should be.
```
SELECT days FROM uptime WHERE days|-='31'
SELECT days FROM uptime WHERE days >='31'
```
+1 -1
View File
@@ -4,5 +4,5 @@ examples: |-
benefit from more RAM.
```
SELECT * FROM virtual_memory_info WHERE swap_ins|-'0';
SELECT * FROM virtual_memory_info WHERE swap_ins>'0';
```