tinybird 0.0.1.dev46__py3-none-any.whl → 0.0.1.dev47__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.
Potentially problematic release.
This version of tinybird might be problematic. Click here for more details.
- tinybird/sql.py +3 -3
- tinybird/tb/__cli__.py +2 -2
- tinybird/tb/modules/cli.py +1 -1
- {tinybird-0.0.1.dev46.dist-info → tinybird-0.0.1.dev47.dist-info}/METADATA +1 -1
- {tinybird-0.0.1.dev46.dist-info → tinybird-0.0.1.dev47.dist-info}/RECORD +8 -8
- {tinybird-0.0.1.dev46.dist-info → tinybird-0.0.1.dev47.dist-info}/WHEEL +0 -0
- {tinybird-0.0.1.dev46.dist-info → tinybird-0.0.1.dev47.dist-info}/entry_points.txt +0 -0
- {tinybird-0.0.1.dev46.dist-info → tinybird-0.0.1.dev47.dist-info}/top_level.txt +0 -0
tinybird/sql.py
CHANGED
|
@@ -86,7 +86,7 @@ def get_format(sql: str) -> Optional[str]:
|
|
|
86
86
|
"""
|
|
87
87
|
FORMAT_RE = r"\s+format\s+(\w+)\s*$"
|
|
88
88
|
sql = sql.strip()
|
|
89
|
-
format = re.findall(FORMAT_RE, sql, re.
|
|
89
|
+
format = re.findall(FORMAT_RE, sql, re.IGNORECASE)
|
|
90
90
|
return format[0] if format else None
|
|
91
91
|
|
|
92
92
|
|
|
@@ -100,7 +100,7 @@ def get_format_group(sql: str) -> str:
|
|
|
100
100
|
"""
|
|
101
101
|
FORMAT_RE = r"\s+format\s+(\w+)\s*$"
|
|
102
102
|
sql = sql.strip()
|
|
103
|
-
format = re.search(FORMAT_RE, sql, re.
|
|
103
|
+
format = re.search(FORMAT_RE, sql, re.IGNORECASE)
|
|
104
104
|
return format.group() if format else ""
|
|
105
105
|
|
|
106
106
|
|
|
@@ -135,7 +135,7 @@ def remove_format(sql: str) -> str:
|
|
|
135
135
|
"""
|
|
136
136
|
FORMAT_RE = r"\s+(format)\s+(\w+)\s*$"
|
|
137
137
|
sql = sql.strip()
|
|
138
|
-
return re.sub(FORMAT_RE, "", sql, flags=re.
|
|
138
|
+
return re.sub(FORMAT_RE, "", sql, flags=re.IGNORECASE)
|
|
139
139
|
|
|
140
140
|
|
|
141
141
|
def col_name(name: str, backquotes: bool = True) -> str:
|
tinybird/tb/__cli__.py
CHANGED
|
@@ -4,5 +4,5 @@ __description__ = 'Tinybird Command Line Tool'
|
|
|
4
4
|
__url__ = 'https://www.tinybird.co/docs/cli/introduction.html'
|
|
5
5
|
__author__ = 'Tinybird'
|
|
6
6
|
__author_email__ = 'support@tinybird.co'
|
|
7
|
-
__version__ = '0.0.1.
|
|
8
|
-
__revision__ = '
|
|
7
|
+
__version__ = '0.0.1.dev47'
|
|
8
|
+
__revision__ = '05e3b46'
|
tinybird/tb/modules/cli.py
CHANGED
|
@@ -79,7 +79,7 @@ async def cli(
|
|
|
79
79
|
"""
|
|
80
80
|
project = Project(folder=folder or os.getcwd())
|
|
81
81
|
# We need to unpatch for our tests not to break
|
|
82
|
-
if show_tokens or not prod or ctx.invoked_subcommand == "build":
|
|
82
|
+
if show_tokens or not prod or ctx.invoked_subcommand == "build" or build:
|
|
83
83
|
__unpatch_click_output()
|
|
84
84
|
else:
|
|
85
85
|
__patch_click_output()
|
|
@@ -7,7 +7,7 @@ tinybird/datatypes.py,sha256=XNypumfqNjsvLJ5iNXnbVHRvAJe0aQwI3lS6Cxox-e0,10979
|
|
|
7
7
|
tinybird/feedback_manager.py,sha256=g1r9NcFfKXdk_13soaiTZLvdoUGleVfawl6Yfj3zmRw,67823
|
|
8
8
|
tinybird/git_settings.py,sha256=Sw_8rGmribEFJ4Z_6idrVytxpFYk7ez8ei0qHULzs3E,3934
|
|
9
9
|
tinybird/prompts.py,sha256=XpHaObqoKwIkx1qpAPVCupGwInJ6LirAy9OH9LCiubE,31856
|
|
10
|
-
tinybird/sql.py,sha256=
|
|
10
|
+
tinybird/sql.py,sha256=LBi74GxhNAYTb6m2-KNGpAkguSKh7rcvBbERbE7nalA,46195
|
|
11
11
|
tinybird/sql_template.py,sha256=GmMLAI10MTqjQo9qztuQHLRWs67teozsWDxUBdvkAn4,93668
|
|
12
12
|
tinybird/sql_template_fmt.py,sha256=KUHdj5rYCYm_rKKdXYSJAE9vIyXUQLB0YSZnUXHeBlY,10196
|
|
13
13
|
tinybird/sql_toolset.py,sha256=NEUj8Ro5x9XlfVLlGr6nWt9o7OLWVxlqs6TIpgumUNs,14678
|
|
@@ -15,12 +15,12 @@ tinybird/syncasync.py,sha256=IPnOx6lMbf9SNddN1eBtssg8vCLHMt76SuZ6YNYm-Yk,27761
|
|
|
15
15
|
tinybird/tornado_template.py,sha256=FL85SMPq2dH4JqKovmSbaolGdEzwOO91NqOzqXo2Qr0,41863
|
|
16
16
|
tinybird/ch_utils/constants.py,sha256=aYvg2C_WxYWsnqPdZB1ZFoIr8ZY-XjUXYyHKE9Ansj0,3890
|
|
17
17
|
tinybird/ch_utils/engine.py,sha256=OXkBhlzGjZotjD0vaT-rFIbSGV4tpiHxE8qO_ip0SyQ,40454
|
|
18
|
-
tinybird/tb/__cli__.py,sha256=
|
|
18
|
+
tinybird/tb/__cli__.py,sha256=AH7scOymrGq33S1iOMhbVlxSQTqMjukUiP0_SHsDDag,251
|
|
19
19
|
tinybird/tb/cli.py,sha256=X6zLCVI10wOxcu-USGfbp_jjz1cojH5X-9dL7D8c8aI,960
|
|
20
20
|
tinybird/tb/modules/auth.py,sha256=EzRWFmwRkXNhUmRaruEVFLdkbUg8xMSix0cAWl5D4Jg,9029
|
|
21
21
|
tinybird/tb/modules/build.py,sha256=lQXivX0kn3ej0CzeJK34ZFYBWAm2QB1JyPWciuH2c-Q,8060
|
|
22
22
|
tinybird/tb/modules/cicd.py,sha256=xxXwy-QekJcG14kkJeGNl7LkHduhZXfvBZE8WrU6-t4,5351
|
|
23
|
-
tinybird/tb/modules/cli.py,sha256=
|
|
23
|
+
tinybird/tb/modules/cli.py,sha256=mTLmSn8n2_gjhn3RzuuoEVSnJ4e5bjdklgCTa6MWVu8,17617
|
|
24
24
|
tinybird/tb/modules/common.py,sha256=TWcGJUgzJCQvzI1oMKbNdx-KTRmMGvB25BawHpsaV8Q,70610
|
|
25
25
|
tinybird/tb/modules/config.py,sha256=mie3oMVTf5YOUFEiLs88P16U4LkJafJjSpjwyAkFHog,10979
|
|
26
26
|
tinybird/tb/modules/copy.py,sha256=wxyxZg8BPiWDgbW5HXJKYQp7_EumBXmAilo3McbCQOo,5916
|
|
@@ -75,8 +75,8 @@ tinybird/tb_cli_modules/config.py,sha256=6u6B5QCdiQLbJkCkwtnKGs9H3nP-KXXhC75mF7B
|
|
|
75
75
|
tinybird/tb_cli_modules/exceptions.py,sha256=pmucP4kTF4irIt7dXiG-FcnI-o3mvDusPmch1L8RCWk,3367
|
|
76
76
|
tinybird/tb_cli_modules/regions.py,sha256=QjsL5H6Kg-qr0aYVLrvb1STeJ5Sx_sjvbOYO0LrEGMk,166
|
|
77
77
|
tinybird/tb_cli_modules/telemetry.py,sha256=iEGnMuCuNhvF6ln__j6X9MSTwL_0Hm-GgFHHHvhfknk,10466
|
|
78
|
-
tinybird-0.0.1.
|
|
79
|
-
tinybird-0.0.1.
|
|
80
|
-
tinybird-0.0.1.
|
|
81
|
-
tinybird-0.0.1.
|
|
82
|
-
tinybird-0.0.1.
|
|
78
|
+
tinybird-0.0.1.dev47.dist-info/METADATA,sha256=Ee78YiTEauwvtjH7jzY3WMirKfz2cZhOcS9xZy1WOIA,2482
|
|
79
|
+
tinybird-0.0.1.dev47.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
|
80
|
+
tinybird-0.0.1.dev47.dist-info/entry_points.txt,sha256=LwdHU6TfKx4Qs7BqqtaczEZbImgU7Abe9Lp920zb_fo,43
|
|
81
|
+
tinybird-0.0.1.dev47.dist-info/top_level.txt,sha256=pgw6AzERHBcW3YTi2PW4arjxLkulk2msOz_SomfOEuc,45
|
|
82
|
+
tinybird-0.0.1.dev47.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|