Hello,
i connected my playfab account to Snowflake to do data analysis.
I am running this query:
create or replace table LevelProgressTable as ( select event_id, title_id, ts, to_timestamp(p:Timestamp) as exact_ts, entity_id, to_varchar(p:appversion) as appversion, to_varchar(p:levelName) as levelName, TO_NUMBER(p:levelId) as levelId, to_varchar(p:spirit) as spirit, TO_NUMBER(p:spiritLevel) as spiritLevel, TO_NUMBER(p:damLevel) as damLevel, TO_BOOLEAN(p:won) as won, TO_NUMBER(p:score) as score, TO_NUMBER(p:movesLeft) as movesLeft, TO_NUMBER(p:triesNeeded) as triesNeeded, TO_BOOLEAN(p:extraMovesBought) as extraMovesBought, TO_NUMBER(p:playThroughs) as playThroughs from PLAYFAB_SHARED.PLAYFAB_SHARED.PLAYFAB_ARCHIVE_SHARED where event_namespace = 'title.XXXX' and event_name = 'player_completed_level' and ts >= dateadd(day, -1, current_date) and title_id = 'XXXX' )
The query runs over 8 minutes although i only have 23 events of that type. I am using an S Warehouse.
Is it normal that it takes that long? Will it be even longer if i have more events? Or am i using the wrong keys maybe?
Greetings