Degenerate dimensions (退化的维)不需要建立维度表,就用事实表的字段为维。
A degenerate dimension is a dimension which is so simple that it isn't worth creating its own
dimension table. For example, consider following the fact table:
product_id time_id payment_method customer_id store_id item_count dollars
55 20040106 Credit 123 22 3 $3.54
78 20040106 Cash 89 22 1 $20.00
199 20040107 ATM 3 22 2 $2.99
55 20040106 Cash 122 22 1 $1.18
- 24 -
and suppose we created a dimension table for the values in the payment_method column:
payment_method
Credit
Cash
ATM
This dimension table is fairly pointless. It only has 3 values, adds no additional information, and
incurs the cost of an extra join.
Instead, you can create a degenerate dimension. To do this, declare a dimension without a table,
and Mondrian will assume that the columns come from the fact table.
<Cube name="Checkout">
<!-- The fact table is always necessary. -->
<Table name="checkout">
<Dimension name="Payment method">
<Hierarchy hasAll="true">
<!-- No table element here.
Fact table is assumed. -->
<Level name="Payment method"
column="payment_method" uniqueMembers="true" />
</Hierarchy>
</Dimension>
<!-- other dimensions and measures -->
</Cube>
Note that because there is no join, the foreignKey attribute of Dimension is not necessary,
and the Hierarchy element has no <Table> child element or primaryKey attribute.
- 浏览: 231230 次
- 性别:
- 来自: 北京
最新评论
-
kitleer:
据我所知,国内有款ETL调度监控工具TaskCTL,支持ket ...
kettle \data-integration\spoon\pantaho 启动问题 -
herextinct:
按照楼主写的操作的,最后出现这个错误: "fail ...
oracle提示TNS:无监听程序的解决思路 -
vinceall:
看不懂啊。。。
数据治理(Data Governance) -
西铁城:
有点高考作文的感觉...
IT励志【成功者大多拥有专注精神 】 -
housheng33:
敏捷,灵活利用~
多学,用时头脑清晰些~
正在边使用边学 ...
数据治理(Data Governance)
相关推荐
去除退化细胞 去除单纯复合物中的退化细胞 移除单纯复形中的退化单元并重新索引单元阵列。 安装 $ npm install remove-degenerate-cells 用法 单独使用单元格索引 var removeDegenerateCells = require ( 'remove-...
6.3.1 Degenerate dimensions(降解维度) 15 6.3.2 父子维度 16 6.4 star(星形)和snowflake(雪花)模型 18 6.4.1 Shared dimensions(共享维度) 19 7 Pentaho资源库及存储 20 8 Pentaho资源库的本地化 21 8.1 ...
退化椭圆方程的变号解,代晋军,彭双阶,本文研究一类退化椭圆问题,这个问题涉及到著名的Caffarelli-Kohn-Nirenberg不等式。我们首先证明一个全局紧结果,然后证明这个问题的变号解
退化 Degenerate 是与一起使用的随机数据生成器。 安装 将此行添加到应用程序的 Gemfile 中: gem 'degenerate' 然后执行: $ bundle install 接下来在您的spec/spec_helper.rb文件中要求它: require '...
带加权局部源项的退化抛物方程解的一致爆破速率,曾维理,,本文研究一类带 Dirichelet 边界条件的退化抛物方程 $u_t - {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\triangle u^m} = a(x)u^...
可退化条件下拟线性倒向随机偏微分方程及其与正倒向随机微分方程的联系,杜恺,张奇,在不假设技术性条件下,本文研究了可退化条件下拟线性倒向随机偏微分方程(简记为BSPDE)的Cauchy问题。首先证明了退化条件下拟线性...
退化椭圆方程Keldys-Fichera边值问题的正则性,李俐玫,马天,本文用锐角原理,反向Holder不等式和推广的Poincare不等式研究了Keldys-Fichera边值问题下退化椭原方程弱解的内部正则性及更高阶的正则性�
Rn 上完全非线性退化抛物系统无界黏性解的存在,王俊芳,,本文利用耦合黏性上下解技巧证明了Rn 上退化抛物系统的比较原理成立,并且利用Perron 方法证明了黏性解的存在唯一性。
锥奇异流形上具奇异位势的退化椭圆方程解的存在性,陈化,魏雅薇,这篇文章研究了锥奇异流形上的一类具有奇异位势的退化椭圆方程的狄利克雷问题.通过锥sobolev不等式和锥hardy不等式, 证明了非平凡解的
含临界指数的退化强制和无界参数拟线性椭圆型方程的正解,沈尧天,王友军,在本文中, 我们研究两类退化限制拟线性椭圆型方程, 记为I$_{dc}$和II$_{dc}$,以及两类无界参数的拟线性椭圆型方程,记为I$_{ub}$ 和 II$_{ub...
为了克服传统经纬度格网与全球四元三角网(quaternary triangular mesh,QTM)存在的不足,提出了一种球面退化四叉树格网(degenerate quadtree grid,DQG)的剖分方法及相应的格网编码方案,分析了不同位置格网的邻近...
我们实验研究低温下单个n沟道无结纳米线晶体管中的一维电子传输。 在6 K的温度下可以清楚地观察到电流阶跃随栅极电压的增加而增加,这归因于电子通过纳米线中形成的一维子带传输。 由于某些子带的双重简并性,第一步...
向量值函数空间中二阶退化微分方程的最大正则性,步尚全,蔡钢,本文在周期 Lebesgue-Bochner 空间 $L^p(mathbb{T},X)$ , 周期 Besov 空间 $B_{p,q}^s(mathbb{T},X)$ 和周期 Triebel-Lizorkin 空间$F_{p,q}^s(mathbb...
混沌信号调制所致的简并光学参量振荡器系统动力学行为 ,马军,,对于简并光学参量振荡器进行了研究。通过采用LORENZ混沌信号来调制简并光学参量振荡器中电场的强度和周期。数值计算表明:恰当的混
>> > from degenerate_dna import Degenera >> > dna = 'AGTTCT' >> > res = Degenera ( dna = dna , table = 1 , method = 'S' ) >> > res . degenerate () >> > res . degenerated 'AGYAGY' 安装 pip install ...
We have observed for the first time degenerate four-wave mixing from dye-doped nematic microdroplets. We have demonstrated the possibility of observing amplified in wave front conjugation, using the ...
基于光纤延迟线的简并式光交换结构仿真代码
Non-Rigid Structure-From-Motion on Degenerate Deformations With Low-Rank Shape Deformation Model
A frequency-degenerate cavity (FDC) is the resonator that the ratio of transverse and longitudinal mode frequency spacings is a simple rational number. When an optical resonator is close to the FDC, ...
We report on the enhancement of phase conjugation degenerate four-wave mixing (DFWM) in hot atomic Rb vapor by using a Bessel beam as the probe beam. The Bessel beam was generated using cross-phase ...