Skip to content

Commit

Permalink
fixing random sample
Browse files Browse the repository at this point in the history
  • Loading branch information
fcollman committed Sep 19, 2023
1 parent 710cb78 commit fc8c6b9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion materializationengine/blueprints/client/query_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,9 @@ def configure_query(self, user_data):
"column_name":"regex"
}
}"""
self.add_table(user_data["table"])
self.add_table(
user_data["table"], random_sample=True if self._random_sample else False
)
if user_data.get("join_tables", None):
for join in user_data["join_tables"]:
self.join_tables(join[0], join[1], join[2], join[3])
Expand Down

0 comments on commit fc8c6b9

Please sign in to comment.