Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2014
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.01 KB | None | 0 0
  1.  
  2. <Schema name="Sakila">
  3. <Cube name="Rentals">
  4. <Annotations>
  5. <Annotation name="phase.Table.rental.x">294</Annotation>
  6. <Annotation name="phase.Table.rental.y">88</Annotation>
  7. </Annotations>
  8. <Table name="rental"/>
  9. <Dimension name="Store" foreignKey="inventory_id" highCardinality="false">
  10. <Annotations>
  11. <Annotation name="phase.x">58</Annotation>
  12. <Annotation name="phase.y">53</Annotation>
  13. </Annotations>
  14. <Hierarchy name="" hasAll="true" primaryKey="inventory_id" primaryKeyTable="inventory">
  15. <Annotations>
  16. <Annotation name="phase.Table.inventory.x">145</Annotation>
  17. <Annotation name="phase.Table.inventory.y">70</Annotation>
  18. <Annotation name="phase.Table.store.x">505</Annotation>
  19. <Annotation name="phase.Table.store.y">46</Annotation>
  20. </Annotations>
  21. <Join leftTable="store" leftKey="store_id" rightTable="inventory" rightKey="store_id">
  22. <Table name="store" alias="store"/>
  23. <Table name="inventory" alias="inventory"/>
  24. </Join>
  25. <Level name="Store" table="store" column="store_id" uniqueMembers="false">
  26. <Annotations>
  27. <Annotation name="phase.x">782</Annotation>
  28. <Annotation name="phase.y">20</Annotation>
  29. </Annotations>
  30. </Level>
  31. </Hierarchy>
  32. </Dimension>
  33. <Measure name="Rentals" aggregator="count" column="rental_id">
  34. <Annotations>
  35. <Annotation name="phase.x">523</Annotation>
  36. <Annotation name="phase.y">111</Annotation>
  37. </Annotations>
  38. </Measure>
  39. </Cube>
  40. </Schema>
  41.  
  42. select Hierarchize({[Store].[Store].Members}) ON COLUMNS
  43. from [Rentals]
  44.  
  45. Caused by: mondrian.olap.MondrianException: Mondrian Error:Internal error: Error while loading segment; sql=[select `store`.`store_id` as `c0`, count(`rental`.`rental_id`) as `m0` from `store` as `store`, `rental` as `rental` where `rental`.`inventory_id` = `inventory`.`inventory_id` group by `store`.`store_id`]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement