:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
{
"db_name": "PostgreSQL",
"query": "/* service='personhog-identity', operation='publish_load_op' */ \n SELECT op.op_type, op.completed_at,\n (SELECT count(*) FROM lifecycle_op_person lop\n WHERE lop.op_id = op.op_id AND lop.role = 'target') AS \"target_rows!\",\n (SELECT lop.person_uuid FROM lifecycle_op_person lop\n WHERE lop.op_id = op.op_id AND lop.role = 'target'\n ORDER BY lop.person_id LIMIT 1) AS target_uuid,\n (SELECT count(*) FROM lifecycle_op_person lop\n WHERE lop.op_id = op.op_id\n AND lop.role IN ('source', 'victim')\n AND lop.moved IS NOT NULL\n AND jsonb_typeof(lop.moved) <> 'array') AS \"malformed_moved_rows!\"\n FROM lifecycle_op op\n WHERE op.op_id = $1\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "op_type",
"type_info": "Text"
},
{
"ordinal": 1,
"name": "completed_at",
"type_info": "Timestamptz"
},
{
"ordinal": 2,
"name": "target_rows!",
"type_info": "Int8"
},
{
"ordinal": 3,
"name": "target_uuid",
"type_info": "Uuid"
},
{
"ordinal": 4,
"name": "malformed_moved_rows!",
"type_info": "Int8"
}
],
"parameters": {
"Left": [
"Uuid"
]
},
"nullable": [
false,
true,
null,
null,
null
]
},
"hash": "77310c44e1b1635bc70bd2d67ad58b0e760a5023d1f530d0d726bd9cf0353a9a"
}