Extending Data Warehouse - is createOneTimeRecord() needed
When reviewing the sample code in https://jazz.net/wiki/bin/view/Main/DataWarehouseExtending, I noticed that the following code (for creating a fact table) sets up a reference between the TIME_ID column and the identifier in the Time Dimension table:
Then, later on in the article, the following sample code is provided for updating the fact table created by the above code:
Doesn't the above sample code have to create a record in the Time Dimension? Is that done by adding the following calling? getCommonSnapshotService().createOneTimeRecord(time); Thanks. |
One answer
Good catch Samit. You are correct. A row must be inserted in the TIME table for the join to that table to work. I will fix the Wiki and the example.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.