We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fefc5b2 commit 969658cCopy full SHA for 969658c
tests/unit/core/compile/sqlglot/test_compile_window.py
@@ -15,12 +15,18 @@
15
import numpy as np
16
import pandas as pd
17
import pytest
18
+from packaging import version
19
20
import bigframes.pandas as bpd
21
+import sqlglot
22
23
pytest.importorskip("pytest_snapshot")
24
25
26
+if version.Version(sqlglot.__version__) < version.Version("25.0.0"):
27
+ pytest.skip("Skip tests for sqlglot < 25.0.0 due to SQL formatting issues")
28
+
29
30
def test_compile_window_w_rolling(scalar_types_df: bpd.DataFrame, snapshot):
31
bf_df = scalar_types_df[["int64_col"]].sort_index()
32
result = bf_df.rolling(window=3).sum()
0 commit comments