Skip to content

Commit

Permalink
Include fact key in output. Fixes DataBrewery#359, Addresses DataBrew…
Browse files Browse the repository at this point in the history
  • Loading branch information
Stiivi committed Jul 2, 2016
1 parent 3aa7fd0 commit b0ad012
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cubes/sql/browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,8 @@ def facts(self, cell=None, fields=None, order=None, page=None,
cell = cell or Cell(self.cube)

(statement, labels) = self.denormalized_statement(cell=cell,
attributes=attrs)
attributes=attrs,
include_fact_key=True)

if fact_list is not None:
in_condition = self.star.fact_key_column.in_(fact_list)
Expand Down

0 comments on commit b0ad012

Please sign in to comment.