|
34 | 34 | "- `execute` — executes a command on a table.\n", |
35 | 35 | " Each backend may support multiple commands.\n", |
36 | 36 | "\n", |
37 | | - "For a detailed description of the Frames API, see the [Frames API reference](https://www.iguazio.com/docs/v3.0/reference/api-reference/frames/).<br>\n", |
| 37 | + "For a detailed description of the Frames API, see the [Frames API reference](https://www.iguazio.com/docs/v3.0/data-layer/reference/frames/).<br>\n", |
38 | 38 | "For more help and usage details, use the internal API help — `<client object>.<command>?` in Jupyter Notebook or `print(<client object>.<command>.__doc__)`.<br>\n", |
39 | 39 | "For example, the following command returns information about the read operation for a client object named `client`:\n", |
40 | 40 | "```\n", |
|
162 | 162 | "You can run SQL queries on your NoSQL table (using Presto) to offload data filtering, grouping, joins, etc. to a scale-out high-speed database engine.\n", |
163 | 163 | "\n", |
164 | 164 | "> **Note:** To query a table in a platform data container, the table path in the `from` section of the SQL query should be of the format `v3io.<container name>.\"/path/to/table\"`.\n", |
165 | | - "> See [Presto Data Paths](https://www.iguazio.com/docs/v3.0/tutorials/getting-started/fundamentals/#data-paths-presto) in the platform documentation.\n", |
| 165 | + "> See [Presto Data Paths](https://www.iguazio.com/docs/v3.0/data-layer/apis/data-paths/#data-paths-presto) in the platform documentation.\n", |
166 | 166 | "> In the following example, the path is set by using the `sql_table_path` variable that was defined in the [kv backend initialization](#frames-kv-init) step.\n", |
167 | 167 | "> Unless you changed the code, this variable translates to `v3io.users.\"<running user>/examples/bank\"`; for example, `v3io.users.\"iguazio/examples/bank\"` for user \"iguazio\"." |
168 | 168 | ] |
|
1095 | 1095 | "\n", |
1096 | 1096 | "- `columns` defines the query metrics (default = all).\n", |
1097 | 1097 | "- `aggregators` defines aggregation functions (\"aggregators\") to execute for all the configured metrics.\n", |
1098 | | - "- `filter` restricts the query by using a platform [filter expression](https://www.iguazio.com/docs/v3.0/reference/expressions/condition-expression/#filter-expression).\n", |
| 1098 | + "- `filter` restricts the query by using a platform [filter expression](https://www.iguazio.com/docs/v3.0/data-layer/reference/expressions/condition-expression/#filter-expression).\n", |
1099 | 1099 | "- `start` and `end` define the query's time range — the metric-sample timestamps to which to apply the query.\n", |
1100 | 1100 | " The default `end` time is `\"now\"` and the default `start` time is 1 hour before the end time (`<end> - 1h`).\n", |
1101 | 1101 | "- `step` defines the interval for aggregation or raw-data downsampling (default = the query's time range).\n", |
1102 | 1102 | "- `multi_index` casn be set to `True` to return labels as index columns, as demonstrated in the following examples.\n", |
1103 | 1103 | " By default, only the metric sample-time primary-key attribute is returned as an index column.\n", |
1104 | 1104 | "\n", |
1105 | | - "See the [Frames API reference](https://www.iguazio.com/docs/v3.0/reference/api-reference/frames/tsdb/read/) for more information about the `read` parameters that are supported for the `tsdb` backend." |
| 1105 | + "See the [Frames API reference](https://www.iguazio.com/docs/v3.0/data-layer/reference/frames/tsdb/read/) for more information about the `read` parameters that are supported for the `tsdb` backend." |
1106 | 1106 | ] |
1107 | 1107 | }, |
1108 | 1108 | { |
|
1248 | 1248 | "#### Conditional Read\n", |
1249 | 1249 | "\n", |
1250 | 1250 | "The following example demonstrates how to use a query filter to conditionally read only a subset of the data from a TSDB table.\n", |
1251 | | - "This is done by setting the value of the `filter` parameter to a [platform filter expression](https://www.iguazio.com/docs/v3.0/reference/expressions/condition-expression/#filter-expression)." |
| 1251 | + "This is done by setting the value of the `filter` parameter to a [platform filter expression](https://www.iguazio.com/docs/v3.0/data-layer/reference/expressions/condition-expression/#filter-expression)." |
1252 | 1252 | ] |
1253 | 1253 | }, |
1254 | 1254 | { |
|
1455 | 1455 | "## Cleanup\n", |
1456 | 1456 | "\n", |
1457 | 1457 | "You can optionally delete any of the directories or files that you created.\n", |
1458 | | - "See the instructions in the [Creating and Deleting Container Directories](https://www.iguazio.com/docs/v3.0/tutorials/getting-started/containers/#create-delete-container-dirs) tutorial.\n", |
| 1458 | + "See the instructions in the [Creating and Deleting Container Directories](https://www.iguazio.com/docs/v3.0/data-layer/containers/working-with-containers/#create-delete-container-dirs) tutorial.\n", |
1459 | 1459 | "For example, the following code uses a local file-system command to delete the entire **<running user>/examples/** directory in the \"users\" container.\n", |
1460 | 1460 | "Edit the path, as needed, then remove the comment mark (`#`) and run the code." |
1461 | 1461 | ] |
|
0 commit comments