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 0937386 commit 36e98a6Copy full SHA for 36e98a6
tests/unit/core/compile/sqlglot/test_compile_window.py
@@ -12,20 +12,20 @@
12
# See the License for the specific language governing permissions and
13
# limitations under the License.
14
15
+import sys
16
+
17
import numpy as np
-from packaging import version
18
import pandas as pd
19
import pytest
-import sqlglot
20
21
import bigframes.pandas as bpd
22
23
pytest.importorskip("pytest_snapshot")
24
25
26
-if version.Version(sqlglot.__version__) < version.Version("25.0.0"):
+if sys.version_info < (3, 11):
27
pytest.skip(
28
- "Skip tests for sqlglot < 25.0.0 due to SQL formatting issues",
+ "Skipping test due to inconsistent SQL formatting on Python < 3.11.",
29
allow_module_level=True,
30
)
31
0 commit comments