Skip to content

Commit cbead2a

Browse files
author
GitHub Action Sync Bot
committed
Update from source repository (workflow run: 16947596533) (PR #14569) (commit: 75c77fb980043e096b1a7d638be7fc6f0fd15ba8) (branch: 10.12.0.cl)
1 parent a8f7277 commit cbead2a

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

cloud/modules/ROOT/pages/advanced-commands.adoc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
:page-aliases:
66
:page-layout: default-cloud
77
:description: This reference identifies the commands you can use to modify search data query generation at cluster-level.
8-
:jira: SCAL-222443
8+
:jira: SCAL-222443, SCAL-266780
99

1010
This reference identifies the commands you can use to modify search data query generation at cluster-level. These commands must be enabled by {support-url}.
1111

@@ -99,3 +99,7 @@ This setting is used in conjunction with the setting for column-level security.
9999
When `TRUE`, this ensures that the underlying tables are not available as data sources from the search data source selection. That is, consumers are limited to selecting models or Views.
100100

101101

102+
[#date-bucket]
103+
=== Set default date bucket at instance level
104+
105+
You can set the default date bucket at the instance level. The options are detailed (or no_bucket), daily, weekly, monthly, quarterly, yearly, or hourly. Note that hourly is only available for datetime data. If you set the default date bucket, users can use the TML default_date_bucket property to override the instance's default. To enable this feature, contact {support-url}.

cloud/modules/ROOT/pages/tml-models.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
:page-aliases:
88
:description: Use TML to modify Models in a flat-file format. Then, migrate the Model to a different cluster, or restore it to the same cluster.
99
:object: Models
10-
:jira: SCAL-158490, SCAL-186188, SCAL-206010, SCAL-210659, SCAL-220585, SCAL-231618, SCAL-220584, SCAL-220587, SCAL-247373, SCAL-250091, SCAL-256366, SCAL-264258
10+
:jira: SCAL-158490, SCAL-186188, SCAL-206010, SCAL-210659, SCAL-220585, SCAL-231618, SCAL-220584, SCAL-220587, SCAL-247373, SCAL-250091, SCAL-256366, SCAL-264258, SCAL-266780
1111

1212
include::partial$tml-intro-models.adoc[]
1313

@@ -328,7 +328,7 @@ The data type of the Parameter.
328328
date_range_condition:: Defines that the condition is based upon a date range. Note that this is curently the only condition that is supported.
329329

330330
[#default_date_bucket]
331-
default_date_bucket:: The default date bucket for the column, options include daily, weekly, monthly, quarterly, yearly, hourly, and auto. Hourly is only available for datetime columns. When defined for a column, date bucket will always be included in a search containing that column. For example, if defined as "daily" for Revenue, searching for "revenue order date" will be interpreted as "revenue order date daily".
331+
default_date_bucket:: default_date_bucket:: The default date bucket for the column, options include no_bucket, daily, weekly, monthly, quarterly, yearly, hourly, and auto. Hourly is only available for datetime columns. No_bucket is the equivalent of 'detailed'. When defined for a column, date bucket will always be included in a search containing that column. For example, if defined as "daily" for Revenue, searching for "revenue order date" will be interpreted as "revenue order date daily".
332332

333333
[#default_value]
334334
default_value::

cloud/modules/ROOT/partials/tml-date-bucket.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ Strict date column:: When enabled, TIMESTAMP keywords (such as `hourly`) and men
77
+
88
These keyword and filter restrictions apply both in the search bar and in filter models via the left panel menu or chart and table views.
99

10-
<<default_date_bucket,Default date bucket>>:: When enabled, you can specify the default date bucket for Date and DateTime columns. The default date bucket options are the following: Hourly, Daily, Weekly, Monthly, Quarterly, and Yearly. Note that the Hourly option is only available for DateTime columns.
10+
<<default_date_bucket,Default date bucket>>:: When enabled, you can specify the default date bucket for Date and DateTime columns. The default date bucket options are the following: No_Bucket, Hourly, Daily, Weekly, Monthly, Quarterly, and Yearly. Note that the Hourly option is only available for DateTime columns.
1111
+
1212
Once the default_date_bucket property is set for a date column, that bucket is used for default aggregation. For example, `revenue order date` would be the same as `revenue order date daily`.
13+
+
14+
For more information, see xref:advanced-commands.adoc#date-bucket[Set default date bucket at instance level].
1315

1416
<<is_time_bucket_restricted,Time bucket restricted>>:: When defined as "true" for a column, only the defined default time bucket is shown in the bucketing menu. For time bucket restriction to be enabled, `default_date_bucket` must be set.
1517
+

cloud/modules/ROOT/partials/tml-syntax-models.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ NOTE: If you edit the joins in the Model TML file, you are only editing the join
6666
<<properties,properties>>:
6767
<<column_type,column_type>>: [ MEASURE | ATTRIBUTE ]
6868
<<is_mandatory,is_mandatory>>: [ true | false ]
69-
<<default_date_bucket,default_date_bucket>>: [ DAILY | WEEKLY | MONTHLY | QUARTERLY | YEARLY | HOURLY | AUTO ]
69+
<<default_date_bucket,default_date_bucket>>: [ NO_BUCKET | DAILY | WEEKLY | MONTHLY | QUARTERLY | YEARLY | HOURLY | AUTO ]
7070
<<is_time_bucket_restricted,is_time_bucket_restricted>>: [ true | false ]
7171
<<aggregation,aggregation>>: [ SUM | COUNT | AVERAGE | MAX | MIN |
7272
COUNT_DISTINCT | NONE | STD_DEVIATION | VARIANCE]

0 commit comments

Comments
 (0)