Skip to content

Commit 9f90795

Browse files
authored
docs: Remove rewrite_queries (#7086)
1 parent a84cb04 commit 9f90795

File tree

4 files changed

+0
-54
lines changed

4 files changed

+0
-54
lines changed

docs/content/Guides/Style-Guide.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ cube_project
5858
- `data_source`
5959
- `sql`
6060
- `sql_table`
61-
- `rewrite_queries`
6261
- `title`
6362
- `description`
6463
- `public`

docs/content/Schema/Reference/cube.mdx

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -545,32 +545,6 @@ SELECT FLOOR(EXTRACT(EPOCH FROM NOW()) / 5)
545545
└───────────────────────── second (0 - 59, optional)
546546
```
547547

548-
### <--{"id" : "Parameters"}--> rewrite_queries
549-
550-
Set this flag to true if you want Cube to rewrite your queries after final SQL
551-
has been generated. This may be helpful to apply filter pushdown optimizations
552-
or reduce unnecessary query nesting. For example:
553-
554-
<CodeTabs>
555-
556-
```javascript
557-
cube(`tickets`, {
558-
// ...
559-
560-
rewrite_queries: true,
561-
});
562-
```
563-
564-
```yaml
565-
cubes:
566-
- name: tickets
567-
# ...
568-
569-
rewrite_queries: true
570-
```
571-
572-
</CodeTabs>
573-
574548
### <--{"id" : "Parameters"}--> sql
575549

576550
The `sql` parameter specifies the SQL that will be used to generate a table that

docs/docs-new/pages/guides/style-guide.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ cube_project
6767
- `data_source`
6868
- `sql`
6969
- `sql_table`
70-
- `rewrite_queries`
7170
- `title`
7271
- `description`
7372
- `public`

docs/docs-new/pages/product/data-modeling/reference/cube.mdx

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -541,32 +541,6 @@ SELECT FLOOR(EXTRACT(EPOCH FROM NOW()) / 5)
541541
└───────────────────────── second (0 - 59, optional)
542542
```
543543

544-
### rewrite_queries
545-
546-
Set this flag to true if you want Cube to rewrite your queries after final SQL
547-
has been generated. This may be helpful to apply filter pushdown optimizations
548-
or reduce unnecessary query nesting. For example:
549-
550-
<CodeTabs>
551-
552-
```javascript
553-
cube(`tickets`, {
554-
// ...
555-
556-
rewrite_queries: true,
557-
});
558-
```
559-
560-
```yaml
561-
cubes:
562-
- name: tickets
563-
# ...
564-
565-
rewrite_queries: true
566-
```
567-
568-
</CodeTabs>
569-
570544
### sql
571545

572546
The `sql` parameter specifies the SQL that will be used to generate a table that

0 commit comments

Comments
 (0)