Skip to content

Commit

Permalink
chore(chsql): update golden files
Browse files Browse the repository at this point in the history
  • Loading branch information
tdakkota committed Jun 21, 2024
1 parent b11d586 commit bbbb547
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/chstorage/chsql/_golden/Test1.sql
Original file line number Diff line number Diff line change
@@ -1 +1 @@
SELECT DISTINCT timestamp,body,attributes,resource FROM logs WHERE (((toUnixTimestamp64Nano(timestamp) >= 17175110000000000) AND (toUnixTimestamp64Nano(timestamp) <= 17176110000000000))) AND (((JSONExtract(attributes, 'label', 'String') = 'value') OR (JSONExtract(resource, 'label', 'String') = 'value'))) AND (NOT ((positionUTF8(body, 'line') > 0))) AND ((hex(span_id) IN ('deaddead', 'aaaabbbb'))) AND ((hex(trace_id) = unhex('deaddead'))) LIMIT 1000
SELECT DISTINCT timestamp,body,attributes,resource FROM logs WHERE ((toUnixTimestamp64Nano(timestamp) >= 17175110000000000) AND (toUnixTimestamp64Nano(timestamp) <= 17176110000000000)) AND ((JSONExtract(attributes, 'label', 'String') = 'value') OR (JSONExtract(resource, 'label', 'String') = 'value')) AND NOT ((positionUTF8(body, 'line') > 0)) AND (hex(span_id) IN ('deaddead', 'aaaabbbb')) AND (hex(trace_id) = unhex('deaddead')) LIMIT 1000
2 changes: 1 addition & 1 deletion internal/chstorage/chsql/_golden/Test2.sql
Original file line number Diff line number Diff line change
@@ -1 +1 @@
SELECT span_id FROM (SELECT span_id,timestamp FROM spans WHERE (true) AND ((duration > 3.14)) AND ((duration < 3.14))) LIMIT 1
SELECT span_id FROM (SELECT span_id,timestamp FROM spans WHERE true AND (duration > 3.14) AND (duration < 3.14)) LIMIT 1
2 changes: 1 addition & 1 deletion internal/chstorage/chsql/_golden/Test8.sql
Original file line number Diff line number Diff line change
@@ -1 +1 @@
SELECT body FROM logs PREWHERE (hasToken(body, 'Error'))
SELECT body FROM logs PREWHERE hasToken(body, 'Error')

0 comments on commit bbbb547

Please sign in to comment.