tinybird-cli 2.1.0.dev11__py3-none-any.whl → 2.1.0.dev12__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.
tinybird/__cli__.py CHANGED
@@ -4,5 +4,5 @@ __description__ = 'Tinybird Command Line Tool'
4
4
  __url__ = 'https://docs.tinybird.co/cli.html'
5
5
  __author__ = 'Tinybird'
6
6
  __author_email__ = 'support@tinybird.co'
7
- __version__ = '2.1.0.dev11'
8
- __revision__ = '69df5e9'
7
+ __version__ = '2.1.0.dev12'
8
+ __revision__ = '8032292'
tinybird/datafile.py CHANGED
@@ -1877,7 +1877,7 @@ class PipeCheckerRunner:
1877
1877
  method as http_method
1878
1878
  FROM {pipe_stats_rt}
1879
1879
  WHERE
1880
- url like '%/{self.pipe_name}.%'
1880
+ pipe_name = '{self.pipe_name}'
1881
1881
  AND url IS NOT NULL
1882
1882
  AND extractURLParameter(assumeNotNull(url), 'from') <> 'ui'
1883
1883
  AND extractURLParameter(assumeNotNull(url), 'pipe_checker') <> 'true'
@@ -1886,6 +1886,7 @@ class PipeCheckerRunner:
1886
1886
  AND not mapContains(parameters, '__tb__semver')
1887
1887
  {" AND " + " AND ".join([f"mapContains(post_params, '{match}')" for match in matches]) if matches and len(matches) > 0 else ''}
1888
1888
  { extra_where_clause }
1889
+ Limit 5000000 -- Enough to bring data while not processing all requests from highly used pipes
1889
1890
  )
1890
1891
  group by request_param_names, http_method
1891
1892
  FORMAT JSON
@@ -1903,8 +1904,8 @@ class PipeCheckerRunner:
1903
1904
  method as http_method
1904
1905
  FROM {pipe_stats_rt}
1905
1906
  WHERE
1906
- url like '%/{self.pipe_name}.%'
1907
- AND url is not null
1907
+ pipe_name = '{self.pipe_name}'
1908
+ AND url IS NOT NULL
1908
1909
  AND extractURLParameter(assumeNotNull(url), 'from') <> 'ui'
1909
1910
  AND extractURLParameter(assumeNotNull(url), 'pipe_checker') <> 'true'
1910
1911
  AND extractURLParameter(assumeNotNull(url), 'debug') <> 'query'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tinybird-cli
3
- Version: 2.1.0.dev11
3
+ Version: 2.1.0.dev12
4
4
  Summary: Tinybird Command Line Tool
5
5
  Home-page: https://docs.tinybird.co/cli.html
6
6
  Author: Tinybird
@@ -51,6 +51,11 @@ Changelog
51
51
 
52
52
  ---------
53
53
 
54
+ 2.1.0.dev12
55
+ ************
56
+
57
+ - `Changed` Regression tests select faster the requests used for the checks.
58
+
54
59
  2.1.0.dev11
55
60
  ************
56
61
 
@@ -1,11 +1,11 @@
1
- tinybird/__cli__.py,sha256=UFvbA-wirdu19ea6wuSP3GQ9P92ELDwIgG_MRSJ--_k,238
1
+ tinybird/__cli__.py,sha256=VrFTRAEFgJ2opz_a59pMtFy9l42nlZZIQwh7pi2_TV4,238
2
2
  tinybird/check_pypi.py,sha256=_4NkharLyR_ELrAdit-ftqIWvOf7jZNPt3i76frlo9g,975
3
3
  tinybird/client.py,sha256=scmQ6bLSRDkunN5hdNHIp8Yn66RPXVpEqzs-S8YrWYs,45733
4
4
  tinybird/config.py,sha256=ckNiJhDbRm1IGNz_0V712fgiv2XBhDxujUH0EvwYVm4,1962
5
5
  tinybird/connector_settings.py,sha256=QYdGvaQNPHB3uBGOBTz5VIMh_auF30lZ8CslVZyxt2s,1865
6
6
  tinybird/connectors.py,sha256=lkpVSUmSuViEZBa4QjTK7YmPHUop0a5UFoTrSmlVq6k,15244
7
7
  tinybird/context.py,sha256=Wp2vcP_qN2PYQh6hYnTwI_XcqUCt_3pZORjSTRnpZz4,802
8
- tinybird/datafile.py,sha256=n-9ueBPmVCXnkNi_HdE4QqvJTSMZZKjOWQzEwq6cw-Y,187378
8
+ tinybird/datafile.py,sha256=MSJVJtk2LmQM6abx0KykiXd0ZuSpEE0GwtdmibdouPU,187495
9
9
  tinybird/datatypes.py,sha256=adYOQBTyfeBGVINIlaRex_81gTQQuqF2M9VTQpzq1H0,7060
10
10
  tinybird/feedback_manager.py,sha256=504ooKViAsFxs5vkXxbuslANsD7AEek-Q6VlY7Q-0ys,51512
11
11
  tinybird/sql.py,sha256=et404SRqcOt-l4ULZhLs8ozVxaI1vOtCFSqIWLeEqXg,36460
@@ -36,8 +36,8 @@ tinybird/tb_cli_modules/workspace.py,sha256=NDHINzW3SBo8FcWH8Bx-DCeUXQ8YUJX6FW8c
36
36
  tinybird/tb_cli_modules/workspace_members.py,sha256=6oZM7oJQPxDMycL95TPtALriL5WRI2DhNlQWD8MP8JU,8205
37
37
  tinybird/tb_cli_modules/tinyunit/tinyunit.py,sha256=ywTyKnkpowYf5M66_lIxvsOBahycg__s7AirL7DnVaY,11596
38
38
  tinybird/tb_cli_modules/tinyunit/tinyunit_lib.py,sha256=j92za8QbXrv4eIPjKBZPn9ghR-nYQ2wZZ88MeXyMWXE,1868
39
- tinybird_cli-2.1.0.dev11.dist-info/METADATA,sha256=Eyz_278ZVTMYI-RKSwvh8Yifa5G7sD0dUpF34nWyFWA,67812
40
- tinybird_cli-2.1.0.dev11.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
41
- tinybird_cli-2.1.0.dev11.dist-info/entry_points.txt,sha256=PKPKuPmA4IfJYnCFHHUiw-aAWZuBomFvwCklv1OyCjE,43
42
- tinybird_cli-2.1.0.dev11.dist-info/top_level.txt,sha256=8TRt5snq9vZpx4rBBc9EWpj76Er6IAdfnx_Eq6cNBk8,45
43
- tinybird_cli-2.1.0.dev11.dist-info/RECORD,,
39
+ tinybird_cli-2.1.0.dev12.dist-info/METADATA,sha256=fJXX4oFvqo5VCFIUrncJT5lS6PmS7LxuW6NoHaLQYx0,67916
40
+ tinybird_cli-2.1.0.dev12.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
41
+ tinybird_cli-2.1.0.dev12.dist-info/entry_points.txt,sha256=PKPKuPmA4IfJYnCFHHUiw-aAWZuBomFvwCklv1OyCjE,43
42
+ tinybird_cli-2.1.0.dev12.dist-info/top_level.txt,sha256=8TRt5snq9vZpx4rBBc9EWpj76Er6IAdfnx_Eq6cNBk8,45
43
+ tinybird_cli-2.1.0.dev12.dist-info/RECORD,,