| <?xml version="1.0" encoding="UTF-8" standalone="yes"?> |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| |
| --> |
| <x_fact_table name="summary5" cube_name="testCube" weight="15.0" xmlns="uri:lens:cube:0.1"> |
| <columns> |
| <column name="msr23" _type="float" comment="twenty third measure"/> |
| <column name="dim1" _type="string" comment="dim1"/> |
| <column name="dim2" _type="string" comment="dim2"/> |
| </columns> |
| <properties> |
| <property name="cube.fact.relative.start.time" value="now.year - 90 days"/> |
| <property name="cube.table.summary5.weight" value="15.0"/> |
| <property name="cube.fact.summary5.storages" value="C98"/> |
| <property name="cube.fact.summary5.c98.updateperiods" value="HOURLY,DAILY"/> |
| </properties> |
| <storage_tables> |
| <storage_table> |
| <storage_name>C98</storage_name> |
| <update_periods> |
| <update_period_table_descriptor> |
| <update_period>HOURLY</update_period> |
| <table_desc external="false"> |
| <part_cols> |
| <column name="pt" _type="string" comment="date partition"/> |
| <column name="it" _type="string" comment="date partition"/> |
| </part_cols> |
| <table_parameters> |
| <property name="cube.storagetable.start.times" value="now -4 days"/> |
| </table_parameters> |
| <time_part_cols>pt</time_part_cols> |
| <time_part_cols>it</time_part_cols> |
| </table_desc> |
| </update_period_table_descriptor> |
| <update_period_table_descriptor> |
| <update_period>DAILY</update_period> |
| <table_desc external="false"> |
| <part_cols> |
| <column name="pt" _type="string" comment="date partition"/> |
| <column name="it" _type="string" comment="date partition"/> |
| </part_cols> |
| <table_parameters> |
| <property name="cube.storagetable.start.times" value="now.month -3 months"/> |
| </table_parameters> |
| <time_part_cols>pt</time_part_cols> |
| <time_part_cols>it</time_part_cols> |
| </table_desc> |
| </update_period_table_descriptor> |
| </update_periods> |
| </storage_table> |
| </storage_tables> |
| </x_fact_table> |
| |