DataBrewery / cubes

[NOT MAINTAINED] Light-weight Python OLAP framework for multi-dimensional data analysis
http://cubes.databrewery.org
Other
1.49k stars 314 forks source link

Fact list does not include fact key in results in 1.1.x (but did on 1.0.1) #359

Closed jjmontesl closed 8 years ago

jjmontesl commented 8 years ago

The /facts query no longer provides the fact id in the results.

I can confirm this worked correctly on 1.0.1, and fails on current master.

jjmontesl commented 8 years ago

I'm now receiving __fact_key__ but I think formerly it was called id. Is this expected?

   {
        "date_publish.week": 25, 
        "date_publish.month": 6, 
        "contract.id": 3, 
        "__fact_key__": 13417, 
        "date_final.day": 28, 
       ...
    }, 
Stiivi commented 8 years ago

Yes, __fact_key__ is expected to be the fact key column.