Files
openobserve/tests/ui-testing/playwright-tests/GeneralTests
Neha P 891d3f5d1a test: pytest tests sql (#8637)
### **PR Type**
Tests


___

### **Description**

- Add time-series window functions test

- Add advanced regex aggregation test

- Add complex nested aggregation test


___

### Diagram Walkthrough


```mermaid
flowchart LR
  A["Add E2E test: array case-sensitive"] -- "validates substring match in arrays" --> T["tests/test_advanced_sql.py"]
  B["Add E2E test: window functions"] -- "histogram + LAG growth" --> T
  C["Add E2E test: regex + metrics"] -- "regexp_match, health status" --> T
  D["Add E2E test: complex CTEs"] -- "env metrics, ranks" --> T
```



<details> <summary><h3> File Walkthrough</h3></summary>

<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Tests</strong></td><td><table>
<tr>
  <td>
    <details>
<summary><strong>test_advanced_sql.py</strong><dd><code>Add multiple
advanced E2E SQL tests</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary>
<hr>

tests/api-testing/tests/test_advanced_sql.py

<ul><li>Add case-sensitive array extraction E2E test.<br> <li> Add
time-series window functions E2E test.<br> <li> Add advanced regex with
JSON-path metrics test.<br> <li> Add complex nested aggregation with
CTEs and ranking test.</ul>


</details>


  </td>
<td><a
href="https://github.com/openobserve/openobserve/pull/8637/files#diff-190cc55e8b961580682e09403c997fda2e8288e5f210dec5ab41c9465c68538f">+451/-0</a>&nbsp;
</td>

</tr>
</table></td></tr></tr></tbody></table>

</details>

___
2025-09-25 21:54:14 +05:30
..
2025-09-10 19:09:08 +05:30
2025-09-25 21:54:14 +05:30