Permalink
Browse files

PropertyExpression schema element is not supported by Mondrian

  • Loading branch information...
1 parent cf66e28 commit 259fea58e02a92598e751e49274fd06fd8750a0d @rsim rsim committed Sep 12, 2011
Showing with 0 additions and 15 deletions.
  1. +0 −5 lib/mondrian/olap/schema.rb
  2. +0 −10 spec/schema_definition_spec.rb
@@ -190,11 +190,6 @@ class Property < SchemaElement
# (if the database permits columns in the SELECT that are not in the GROUP BY).
# This can be a significant performance enhancement on some databases, such as MySQL.
:depends_on_level_value
- elements :property_expression
- end
-
- class PropertyExpression < SchemaElement
- elements :sql
end
class Measure < SchemaElement
@@ -501,11 +501,6 @@
property 'Gender', :column => 'gender'
property 'Salary', :column => 'salary'
property 'Education Level', :column => 'education_level'
- property 'Management Role' do
- property_expression do
- sql 'management_role'
- end
- end
end
end
end
@@ -524,11 +519,6 @@
<Property column="gender" name="Gender"/>
<Property column="salary" name="Salary"/>
<Property column="education_level" name="Education Level"/>
- <Property name="Management Role">
- <PropertyExpression>
- <SQL>management_role</SQL>
- </PropertyExpression>
- </Property>
</Level>
</Hierarchy>
</Dimension>

0 comments on commit 259fea5

Please sign in to comment.