tinybird 4.6.10.dev0__tar.gz → 4.6.11.dev0__tar.gz
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-4.6.10.dev0 → tinybird-4.6.11.dev0}/PKG-INFO +6 -1
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/ch_utils/engine.py +6 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/datafile/common.py +8 -4
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/service_datasources.py +1 -88
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/__cli__.py +2 -2
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/logs.py +1 -13
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird.egg-info/PKG-INFO +6 -1
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/setup.cfg +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/__cli__.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/ch_utils/constants.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/check_pypi.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/client.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/config.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/context.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/datafile/exceptions.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/datafile/parse_connection.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/datafile/parse_datasource.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/datafile/parse_pipe.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/datatypes.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/feedback_manager.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/git_settings.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/iterating/__init__.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/iterating/data_branch_modes.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/prompts.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/sql.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/sql_template.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/sql_template_fmt.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/sql_toolset.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/syncasync.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/check_pypi.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/cli.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/client.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/config.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/branch.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/build.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/build_common.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/cicd.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/cli.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/common.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/config.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/connection.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/connection_dynamodb.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/connection_kafka.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/connection_s3.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/copy.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/create.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/datafile/build.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/datafile/build_common.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/datafile/build_datasource.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/datafile/build_pipe.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/datafile/diff.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/datafile/fixture.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/datafile/format_common.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/datafile/format_connection.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/datafile/format_datasource.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/datafile/format_pipe.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/datafile/pipe_checker.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/datafile/playground.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/datafile/pull.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/datasource.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/deployment.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/deployment_common.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/deprecations.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/endpoint.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/exceptions.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/feedback_manager.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/fmt.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/info.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/infra.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/job.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/job_common.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/llm.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/llm_utils.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/local.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/local_common.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/local_logs.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/login.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/login_common.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/logout.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/materialization.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/open.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/pipe.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/preview.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/project.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/project_commands.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/py_project.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/query_output.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/regions.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/secret.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/secret_common.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/sink.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/table.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/telemetry.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/test.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/test_common.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/tinyunit/tinyunit.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/token.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/ts_project.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/watch.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/workspace.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/workspace_members.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb_cli.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb_cli_modules/auth.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb_cli_modules/branch.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb_cli_modules/cicd.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb_cli_modules/cli.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb_cli_modules/common.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb_cli_modules/config.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb_cli_modules/connection.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb_cli_modules/datasource.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb_cli_modules/exceptions.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb_cli_modules/fmt.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb_cli_modules/job.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb_cli_modules/pipe.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb_cli_modules/regions.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb_cli_modules/tag.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb_cli_modules/telemetry.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb_cli_modules/test.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb_cli_modules/tinyunit/tinyunit.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb_cli_modules/workspace.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb_cli_modules/workspace_members.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tornado_template.py +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird.egg-info/SOURCES.txt +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird.egg-info/dependency_links.txt +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird.egg-info/entry_points.txt +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird.egg-info/requires.txt +0 -0
- {tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: tinybird
|
|
3
|
-
Version: 4.6.
|
|
3
|
+
Version: 4.6.11.dev0
|
|
4
4
|
Summary: Tinybird Command Line Tool
|
|
5
5
|
Home-page: https://www.tinybird.co/docs/forward/commands
|
|
6
6
|
Author: Tinybird
|
|
@@ -52,6 +52,11 @@ The Tinybird command-line tool allows you to use all the Tinybird functionality
|
|
|
52
52
|
Changelog
|
|
53
53
|
----------
|
|
54
54
|
|
|
55
|
+
4.6.10
|
|
56
|
+
********
|
|
57
|
+
|
|
58
|
+
- `Removed` `tinybird.bi_stats_rt` from `tb logs` sources. The BI Connector `bi_stats` / `bi_stats_rt` service datasources are deprecated.
|
|
59
|
+
|
|
55
60
|
4.6.9
|
|
56
61
|
*******
|
|
57
62
|
|
|
@@ -121,6 +121,12 @@ class TableDetails:
|
|
|
121
121
|
def is_mergetree_family(self) -> bool:
|
|
122
122
|
return self.engine is not None and "mergetree" in self.engine.lower()
|
|
123
123
|
|
|
124
|
+
def is_view(self) -> bool:
|
|
125
|
+
return self.original_engine == "View"
|
|
126
|
+
|
|
127
|
+
def is_merge_final_engine(self) -> bool:
|
|
128
|
+
return self.original_engine == "MergeFinal"
|
|
129
|
+
|
|
124
130
|
def supports_alter_add_column(self) -> bool:
|
|
125
131
|
return self.is_mergetree_family() or (self.engine is not None and self.engine.lower() == "null")
|
|
126
132
|
|
|
@@ -221,8 +221,6 @@ INTERNAL_TABLES: Tuple[str, ...] = (
|
|
|
221
221
|
"kafka_ops_log",
|
|
222
222
|
"datasources_storage",
|
|
223
223
|
"endpoint_errors",
|
|
224
|
-
"bi_stats_rt",
|
|
225
|
-
"bi_stats",
|
|
226
224
|
)
|
|
227
225
|
|
|
228
226
|
PREVIEW_CONNECTOR_SERVICES = ["s3", "s3_iamrole", "gcs"]
|
|
@@ -1725,7 +1723,9 @@ def parse(
|
|
|
1725
1723
|
|
|
1726
1724
|
parser_state.current_node["indexes"] = indexes
|
|
1727
1725
|
|
|
1728
|
-
def assign_var(
|
|
1726
|
+
def assign_var(
|
|
1727
|
+
v: str, allowed_values: Optional[set[str]] = None, lowercase: bool = False
|
|
1728
|
+
) -> Callable[[VarArg(str), KwArg(Any)], None]:
|
|
1729
1729
|
@multiline_not_supported
|
|
1730
1730
|
def _f(*args: str, **kwargs: Any):
|
|
1731
1731
|
s = _unquote((" ".join(args)).strip())
|
|
@@ -1736,6 +1736,8 @@ def parse(
|
|
|
1736
1736
|
lineno=kwargs["lineno"],
|
|
1737
1737
|
pos=1,
|
|
1738
1738
|
)
|
|
1739
|
+
if lowercase:
|
|
1740
|
+
val = val.lower()
|
|
1739
1741
|
parser_state.current_node[v.lower()] = val
|
|
1740
1742
|
|
|
1741
1743
|
return _f
|
|
@@ -2048,7 +2050,9 @@ def parse(
|
|
|
2048
2050
|
"import_schedule": assign_var("import_schedule"),
|
|
2049
2051
|
"import_strategy": import_strategy_deprecated, # Deprecated, always append
|
|
2050
2052
|
"import_bucket_uri": assign_var("import_bucket_uri"),
|
|
2051
|
-
|
|
2053
|
+
# Lowercase: format checks and executor routing downstream expect
|
|
2054
|
+
# lowercase values (ANALYTICS-A8M)
|
|
2055
|
+
"import_format": assign_var("import_format", lowercase=True),
|
|
2052
2056
|
"import_from_timestamp": assign_var("import_from_timestamp"),
|
|
2053
2057
|
"import_service": import_service_deprecated, # Deprecated
|
|
2054
2058
|
"import_external_datasource": import_external_datasource_deprecated, # Deprecated, BQ and SFK
|
|
@@ -244,49 +244,6 @@ def get_tinybird_service_datasources() -> List[Dict[str, Any]]:
|
|
|
244
244
|
{"name": "rows_quarantine", "type": "SimpleAggregateFunction(max, UInt64)"},
|
|
245
245
|
],
|
|
246
246
|
},
|
|
247
|
-
{
|
|
248
|
-
"name": "tinybird.bi_stats_rt",
|
|
249
|
-
"description": "Contains information about all requests to your BI Connector interface in real time.",
|
|
250
|
-
"dateColumn": "start_datetime",
|
|
251
|
-
"engine": {
|
|
252
|
-
"engine": "MergeTree",
|
|
253
|
-
"sorting_key": "cityHash64(query_normalized), start_datetime",
|
|
254
|
-
"ttl": "start_datetime + toIntervalDay(7)",
|
|
255
|
-
},
|
|
256
|
-
"columns": [
|
|
257
|
-
{"name": "start_datetime", "type": "DateTime"},
|
|
258
|
-
{"name": "query", "type": "String"},
|
|
259
|
-
{"name": "query_normalized", "type": "String"},
|
|
260
|
-
{"name": "error_code", "type": "Int32"},
|
|
261
|
-
{"name": "error", "type": "Nullable(String)"},
|
|
262
|
-
{"name": "duration", "type": "UInt64"},
|
|
263
|
-
{"name": "read_rows", "type": "UInt64"},
|
|
264
|
-
{"name": "read_bytes", "type": "UInt64"},
|
|
265
|
-
{"name": "result_rows", "type": "UInt64"},
|
|
266
|
-
{"name": "result_bytes", "type": "UInt64"},
|
|
267
|
-
],
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
"name": "tinybird.bi_stats",
|
|
271
|
-
"description": "Aggregates the stats in tinybird.bi_stats_rt by day.",
|
|
272
|
-
"dateColumn": "date",
|
|
273
|
-
"engine": {"engine": "MergeTree", "sorting_key": "cityHash64(query_normalized), start_datetime"},
|
|
274
|
-
"columns": [
|
|
275
|
-
{"name": "date", "type": "Date"},
|
|
276
|
-
{"name": "query_normalized", "type": "String"},
|
|
277
|
-
{"name": "view_count", "type": "UInt64"},
|
|
278
|
-
{"name": "error_count", "type": "UInt64"},
|
|
279
|
-
{"name": "avg_duration_state", "type": "AggregateFunction(avg, Float32)"},
|
|
280
|
-
{
|
|
281
|
-
"name": "quantile_timing_state",
|
|
282
|
-
"type": "AggregateFunction(quantilesTiming(0.9, 0.95, 0.99), Float64)",
|
|
283
|
-
},
|
|
284
|
-
{"name": "read_bytes_sum", "type": "UInt64"},
|
|
285
|
-
{"name": "read_rows_sum", "type": "UInt64"},
|
|
286
|
-
{"name": "avg_result_rows_state", "type": "AggregateFunction(avg, Float32)"},
|
|
287
|
-
{"name": "avg_result_bytes_state", "type": "AggregateFunction(avg, Float32)"},
|
|
288
|
-
],
|
|
289
|
-
},
|
|
290
247
|
{
|
|
291
248
|
"name": "tinybird.sinks_ops_log",
|
|
292
249
|
"description": "Contains information about your Sink pipes.",
|
|
@@ -483,6 +440,7 @@ def get_tinybird_service_datasources() -> List[Dict[str, Any]]:
|
|
|
483
440
|
{"name": "error_code", "type": "Int16"},
|
|
484
441
|
{"name": "error", "type": "String"},
|
|
485
442
|
{"name": "fix_suggestion", "type": "String"},
|
|
443
|
+
{"name": "fix_suggestion_ai", "type": "String"},
|
|
486
444
|
{"name": "run_validation", "type": "DateTime"},
|
|
487
445
|
],
|
|
488
446
|
},
|
|
@@ -798,51 +756,6 @@ def get_organization_service_datasources() -> List[Dict[str, Any]]:
|
|
|
798
756
|
{"name": "token_name", "type": "String"},
|
|
799
757
|
],
|
|
800
758
|
},
|
|
801
|
-
{
|
|
802
|
-
"name": "organization.bi_stats_rt",
|
|
803
|
-
"description": "Contains information about all requests to the BI Connector interface for the whole Organization in real time.",
|
|
804
|
-
"dateColumn": "start_datetime",
|
|
805
|
-
"engine": {
|
|
806
|
-
"engine": "MergeTree",
|
|
807
|
-
"sorting_key": "cityHash64(query_normalized), start_datetime",
|
|
808
|
-
"ttl": "start_datetime + toIntervalDay(7)",
|
|
809
|
-
},
|
|
810
|
-
"columns": [
|
|
811
|
-
{"name": "database", "type": "String"},
|
|
812
|
-
{"name": "start_datetime", "type": "DateTime"},
|
|
813
|
-
{"name": "query", "type": "String"},
|
|
814
|
-
{"name": "query_normalized", "type": "String"},
|
|
815
|
-
{"name": "error_code", "type": "Int32"},
|
|
816
|
-
{"name": "error", "type": "Nullable(String)"},
|
|
817
|
-
{"name": "duration", "type": "UInt64"},
|
|
818
|
-
{"name": "read_rows", "type": "UInt64"},
|
|
819
|
-
{"name": "read_bytes", "type": "UInt64"},
|
|
820
|
-
{"name": "result_rows", "type": "UInt64"},
|
|
821
|
-
{"name": "result_bytes", "type": "UInt64"},
|
|
822
|
-
],
|
|
823
|
-
},
|
|
824
|
-
{
|
|
825
|
-
"name": "organization.bi_stats",
|
|
826
|
-
"description": "Aggregates the stats in organization.bi_stats_rt by day.",
|
|
827
|
-
"dateColumn": "date",
|
|
828
|
-
"engine": {"engine": "MergeTree", "sorting_key": "database, cityHash64(query_normalized), date"},
|
|
829
|
-
"columns": [
|
|
830
|
-
{"name": "database", "type": "String"},
|
|
831
|
-
{"name": "date", "type": "Date"},
|
|
832
|
-
{"name": "query_normalized", "type": "String"},
|
|
833
|
-
{"name": "view_count", "type": "UInt64"},
|
|
834
|
-
{"name": "error_count", "type": "UInt64"},
|
|
835
|
-
{"name": "avg_duration_state", "type": "AggregateFunction(avg, Float32)"},
|
|
836
|
-
{
|
|
837
|
-
"name": "quantile_timing_state",
|
|
838
|
-
"type": "AggregateFunction(quantilesTiming(0.9, 0.95, 0.99), Float64)",
|
|
839
|
-
},
|
|
840
|
-
{"name": "read_bytes_sum", "type": "UInt64"},
|
|
841
|
-
{"name": "read_rows_sum", "type": "UInt64"},
|
|
842
|
-
{"name": "avg_result_rows_state", "type": "AggregateFunction(avg, Float32)"},
|
|
843
|
-
{"name": "avg_result_bytes_state", "type": "AggregateFunction(avg, Float32)"},
|
|
844
|
-
],
|
|
845
|
-
},
|
|
846
759
|
{
|
|
847
760
|
"name": "organization.metrics_logs",
|
|
848
761
|
"description": "Metrics of your organization's dedicated clusters",
|
|
@@ -4,5 +4,5 @@ __description__ = 'Tinybird Command Line Tool'
|
|
|
4
4
|
__url__ = 'https://www.tinybird.co/docs/forward/commands'
|
|
5
5
|
__author__ = 'Tinybird'
|
|
6
6
|
__author_email__ = 'support@tinybird.co'
|
|
7
|
-
__version__ = '4.6.
|
|
8
|
-
__revision__ = '
|
|
7
|
+
__version__ = '4.6.11.dev0'
|
|
8
|
+
__revision__ = 'd98671a'
|
|
@@ -21,7 +21,6 @@ from tinybird.tb.modules.feedback_manager import FeedbackManager
|
|
|
21
21
|
|
|
22
22
|
LOG_SOURCES: Tuple[str, ...] = (
|
|
23
23
|
"tinybird.pipe_stats_rt",
|
|
24
|
-
"tinybird.bi_stats_rt",
|
|
25
24
|
"tinybird.block_log",
|
|
26
25
|
"tinybird.datasources_ops_log",
|
|
27
26
|
"tinybird.endpoint_errors",
|
|
@@ -39,7 +38,6 @@ DEFAULT_LOG_SOURCES: Tuple[str, ...] = (
|
|
|
39
38
|
|
|
40
39
|
TIMESTAMP_COLUMNS: Dict[str, str] = {
|
|
41
40
|
"tinybird.pipe_stats_rt": "start_datetime",
|
|
42
|
-
"tinybird.bi_stats_rt": "start_datetime",
|
|
43
41
|
"tinybird.block_log": "timestamp",
|
|
44
42
|
"tinybird.datasources_ops_log": "timestamp",
|
|
45
43
|
"tinybird.endpoint_errors": "start_datetime",
|
|
@@ -61,16 +59,6 @@ RELEVANT_DETAIL_FIELDS: Dict[str, Tuple[str, ...]] = {
|
|
|
61
59
|
"read_bytes",
|
|
62
60
|
"result_rows",
|
|
63
61
|
),
|
|
64
|
-
"tinybird.bi_stats_rt": (
|
|
65
|
-
"query_normalized",
|
|
66
|
-
"error_code",
|
|
67
|
-
"error",
|
|
68
|
-
"duration",
|
|
69
|
-
"read_rows",
|
|
70
|
-
"read_bytes",
|
|
71
|
-
"result_rows",
|
|
72
|
-
"result_bytes",
|
|
73
|
-
),
|
|
74
62
|
"tinybird.block_log": (
|
|
75
63
|
"datasource_name",
|
|
76
64
|
"status",
|
|
@@ -207,7 +195,7 @@ _TEMPORAL_DETAIL_FIELDS = {
|
|
|
207
195
|
_DURATION_DETAIL_FIELDS = {"duration", "elapsed_time", "processing_time"}
|
|
208
196
|
_ROW_COUNT_DETAIL_FIELDS = {"rows", "read_rows", "written_rows", "result_rows", "quarantine_lines"}
|
|
209
197
|
_BYTE_COUNT_DETAIL_FIELDS = {"bytes", "read_bytes", "result_bytes", "written_bytes"}
|
|
210
|
-
_MILLISECOND_DURATION_SOURCES =
|
|
198
|
+
_MILLISECOND_DURATION_SOURCES: Set[str] = set()
|
|
211
199
|
|
|
212
200
|
|
|
213
201
|
def _to_iso_utc(dt: datetime) -> str:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: tinybird
|
|
3
|
-
Version: 4.6.
|
|
3
|
+
Version: 4.6.11.dev0
|
|
4
4
|
Summary: Tinybird Command Line Tool
|
|
5
5
|
Home-page: https://www.tinybird.co/docs/forward/commands
|
|
6
6
|
Author: Tinybird
|
|
@@ -52,6 +52,11 @@ The Tinybird command-line tool allows you to use all the Tinybird functionality
|
|
|
52
52
|
Changelog
|
|
53
53
|
----------
|
|
54
54
|
|
|
55
|
+
4.6.10
|
|
56
|
+
********
|
|
57
|
+
|
|
58
|
+
- `Removed` `tinybird.bi_stats_rt` from `tb logs` sources. The BI Connector `bi_stats` / `bi_stats_rt` service datasources are deprecated.
|
|
59
|
+
|
|
55
60
|
4.6.9
|
|
56
61
|
*******
|
|
57
62
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/datafile/build_datasource.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/datafile/format_connection.py
RENAMED
|
File without changes
|
{tinybird-4.6.10.dev0 → tinybird-4.6.11.dev0}/tinybird/tb/modules/datafile/format_datasource.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|