Skip to content

Commit c739613

Browse files
committed
spacing issues
1 parent 3f042c4 commit c739613

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

opteryx/__version__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# THIS FILE IS AUTOMATICALLY UPDATED DURING THE BUILD PROCESS
22
# DO NOT EDIT THIS FILE DIRECTLY
33

4-
__build__ = 1904
4+
__build__ = 1905
55
__author__ = "@joocer"
6-
__version__ = "0.26.2-beta.1904"
6+
__version__ = "0.26.2-beta.1905"
77

88
# Store the version here so:
99
# 1) we don't load dependencies by storing it in __init__.py

opteryx/planner/sql_rewriter.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@ def sql_parts(string):
182182
parts.append(f"CAST({part[1:]} AS VARBINARY)")
183183
# if there's no alias, we should add one to preserve the input
184184
if len(quoted_strings) > i + 1 and quoted_strings[i + 1].upper().strip()[:3] != "AS ":
185-
parts.append("AS")
186-
parts.append(f"`{part}`")
185+
parts.append(" AS ")
186+
parts.append(f"`{part}` ")
187187
elif part[0] in ("r", "R"):
188188
# We take the raw string and encode it, pass it into the
189189
# plan as the encoded string and let the engine decode it
@@ -193,8 +193,8 @@ def sql_parts(string):
193193
# if there's no alias, we should add one to preserve the input
194194
parts.append(f"BASE64_DECODE('{encoded_part}')")
195195
if len(quoted_strings) > i + 1 and quoted_strings[i + 1].upper().strip()[:3] != "AS ":
196-
parts.append("AS")
197-
parts.append(f"`{part}`")
196+
parts.append(" AS ")
197+
parts.append(f"`{part}` ")
198198
else:
199199
parts.append(part)
200200
else:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "opteryx"
3-
version = "0.26.2-beta.1904"
3+
version = "0.26.2-beta.1905"
44
description = "Query your data, where it lives"
55
requires-python = '>=3.11'
66
readme = {file = "README.md", content-type = "text/markdown"}

0 commit comments

Comments
 (0)