sqlglot 27.5.0__py3-none-any.whl → 27.5.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- sqlglot/_version.py +2 -2
- sqlglot/expressions.py +6 -3
- {sqlglot-27.5.0.dist-info → sqlglot-27.5.1.dist-info}/METADATA +1 -1
- {sqlglot-27.5.0.dist-info → sqlglot-27.5.1.dist-info}/RECORD +7 -7
- {sqlglot-27.5.0.dist-info → sqlglot-27.5.1.dist-info}/WHEEL +0 -0
- {sqlglot-27.5.0.dist-info → sqlglot-27.5.1.dist-info}/licenses/LICENSE +0 -0
- {sqlglot-27.5.0.dist-info → sqlglot-27.5.1.dist-info}/top_level.txt +0 -0
sqlglot/_version.py
CHANGED
sqlglot/expressions.py
CHANGED
|
@@ -940,15 +940,18 @@ class Expression(metaclass=_Expression):
|
|
|
940
940
|
low: t.Any,
|
|
941
941
|
high: t.Any,
|
|
942
942
|
copy: bool = True,
|
|
943
|
-
symmetric: t.Optional[bool] =
|
|
943
|
+
symmetric: t.Optional[bool] = None,
|
|
944
944
|
**opts,
|
|
945
945
|
) -> Between:
|
|
946
|
-
|
|
946
|
+
between = Between(
|
|
947
947
|
this=maybe_copy(self, copy),
|
|
948
948
|
low=convert(low, copy=copy, **opts),
|
|
949
949
|
high=convert(high, copy=copy, **opts),
|
|
950
|
-
symmetric=symmetric,
|
|
951
950
|
)
|
|
951
|
+
if symmetric is not None:
|
|
952
|
+
between.set("symmetric", symmetric)
|
|
953
|
+
|
|
954
|
+
return between
|
|
952
955
|
|
|
953
956
|
def is_(self, other: ExpOrStr) -> Is:
|
|
954
957
|
return self._binop(Is, other)
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
sqlglot/__init__.py,sha256=za08rtdPh2v7dOpGdNomttlIVGgTrKja7rPd6sQwaTg,5391
|
|
2
2
|
sqlglot/__main__.py,sha256=022c173KqxsiABWTEpUIq_tJUxuNiW7a7ABsxBXqvu8,2069
|
|
3
3
|
sqlglot/_typing.py,sha256=-1HPyr3w5COlSJWqlgt8jhFk2dyMvBuvVBqIX1wyVCM,642
|
|
4
|
-
sqlglot/_version.py,sha256=
|
|
4
|
+
sqlglot/_version.py,sha256=lEPcd62DijGiIa_sz50zyHEi74AH-53vHCq2mbltrig,513
|
|
5
5
|
sqlglot/diff.py,sha256=PtOllQMQa1Sw1-V2Y8eypmDqGujXYPaTOp_WLsWkAWk,17314
|
|
6
6
|
sqlglot/errors.py,sha256=QNKMr-pzLUDR-tuMmn_GK6iMHUIVdb_YSJ_BhGEvuso,2126
|
|
7
|
-
sqlglot/expressions.py,sha256=
|
|
7
|
+
sqlglot/expressions.py,sha256=L8eo53HkSOsPisQIE-mAhiO3o52cgMXEG8XPAlft3Ck,246138
|
|
8
8
|
sqlglot/generator.py,sha256=HgUGW8vGaSTRIbGz9aCpK7uOcGlt7UdPWhcYqHZSB0w,217786
|
|
9
9
|
sqlglot/helper.py,sha256=9nZjFVRBtMKFC3EdzpDQ6jkazFO19po6BF8xHiNGZIo,15111
|
|
10
10
|
sqlglot/jsonpath.py,sha256=jneO-A57n4ojVT2drCn2HBlx_Ka8wLcGpemW1JgvbjA,7666
|
|
@@ -76,8 +76,8 @@ sqlglot/optimizer/qualify_tables.py,sha256=rRo0rXMMDAloG_ut7nGPtIO3e__ooM2PqShxW
|
|
|
76
76
|
sqlglot/optimizer/scope.py,sha256=T6iVYnYwubt-WB1BOFsFYdJ-D7WtWZGL37SuCRQK23s,31154
|
|
77
77
|
sqlglot/optimizer/simplify.py,sha256=-_yus42OYwqjQ9a2TSGhtG2G0pSkInUry1z7hEMz2pY,51062
|
|
78
78
|
sqlglot/optimizer/unnest_subqueries.py,sha256=kzWUVDlxs8z9nmRx-8U-pHXPtVZhEIwkKqmKhr2QLvc,10908
|
|
79
|
-
sqlglot-27.5.
|
|
80
|
-
sqlglot-27.5.
|
|
81
|
-
sqlglot-27.5.
|
|
82
|
-
sqlglot-27.5.
|
|
83
|
-
sqlglot-27.5.
|
|
79
|
+
sqlglot-27.5.1.dist-info/licenses/LICENSE,sha256=p1Yk0B4oa0l8Rh-_dYyy75d8spjPd_vTloXfz4FWxys,1065
|
|
80
|
+
sqlglot-27.5.1.dist-info/METADATA,sha256=qGmWTwLA19LsBnKSh45sCcekBfpbQaHm4ql4xe9dA3I,19437
|
|
81
|
+
sqlglot-27.5.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
82
|
+
sqlglot-27.5.1.dist-info/top_level.txt,sha256=5kRskCGA_gVADF9rSfSzPdLHXqvfMusDYeHePfNY2nQ,8
|
|
83
|
+
sqlglot-27.5.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|