Bug 11528 - player creation date NULL
: player creation date NULL
Status: CLOSED FIXED
Product: MySqueezebox.com
Classification: Unclassified
Component: Statistics
: Prod
: PC Other
: -- normal (vote)
: Heart
Assigned To: Andy Grundman
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-27 11:49 UTC by Matthew J. Martin
Modified: 2009-05-06 06:59 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew J. Martin 2009-03-27 11:49:34 UTC
Filing for posterity

Player creation dates are null for many players, nearly all controller / receivers.

Andy identifies this due to players added via Jive not storing created date.

Andy--feel free to mark as fixed. I'll monitor the data for a week or so and confirm.

SELECT
SUM( IF( t2.deviceid=4, 1, 0 ) ) AS "SB 2/3",
SUM( IF( t2.deviceid=5, 1, 0 ) ) AS "Transporter",
SUM( IF( t2.deviceid=7, 1, 0 ) ) AS "Receiver",
SUM( IF( t2.deviceid=9, 1, 0 ) ) AS "Controller",
SUM( IF( t2.deviceid=10, 1, 0 ) ) AS "Boom"
FROM users AS t1 JOIN players AS t2 ON t1.id=t2.userid
WHERE (
  ( t1.created IS NOT NULL ) AND
  ( t1.created>"2009-03-01 00:00:00" ) AND
  ( t2.created IS NULL )
)
ORDER BY t1.registered DESC;

versus

SELECT
SUM( IF( t2.deviceid=4, 1, 0 ) ) AS "SB 2/3",
SUM( IF( t2.deviceid=5, 1, 0 ) ) AS "Transporter",
SUM( IF( t2.deviceid=7, 1, 0 ) ) AS "Receiver",
SUM( IF( t2.deviceid=9, 1, 0 ) ) AS "Controller",
SUM( IF( t2.deviceid=10, 1, 0 ) ) AS "Boom"
FROM users AS t1 JOIN players AS t2 ON t1.id=t2.userid
WHERE (
  ( t1.created IS NOT NULL ) AND
  ( t1.created>"2009-03-01 00:00:00" ) AND
  ( t2.created IS NOT NULL )
)
ORDER BY t1.registered DESC;
Comment 1 James Richardson 2009-05-06 06:59:25 UTC
This bug has been fixed in the latest release of SqueezeNetwork!

If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.