Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

PropertyExpression schema element is not supported by Mondrian

  • Loading branch information...
commit 259fea58e02a92598e751e49274fd06fd8750a0d 1 parent cf66e28
@rsim rsim authored
Showing with 0 additions and 15 deletions.
  1. +0 −5 lib/mondrian/olap/schema.rb
  2. +0 −10 spec/schema_definition_spec.rb
View
5 lib/mondrian/olap/schema.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
View
10 spec/schema_definition_spec.rb
@@ -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>
Please sign in to comment.
Something went wrong with that request. Please try again.