优化ltv模型账户过滤条件
This commit is contained in:
parent
53dd0a7c07
commit
036394d80c
@ -260,6 +260,7 @@ class XAnalysis:
|
|||||||
qry = sa.select().where(*where_account)
|
qry = sa.select().where(*where_account)
|
||||||
sql = str(qry.compile(compile_kwargs={"literal_binds": True}))
|
sql = str(qry.compile(compile_kwargs={"literal_binds": True}))
|
||||||
where_account_str = sql.split('WHERE ')[1]
|
where_account_str = sql.split('WHERE ')[1]
|
||||||
|
where_account_str = where_account_str.split('AND')[0]
|
||||||
if self.game == 'huixie' and quota == '#distinct_id':
|
if self.game == 'huixie' and quota == '#distinct_id':
|
||||||
event_n='new_device'
|
event_n='new_device'
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user