ParentFull threadRedCrowbar·Unfortunately, JSON aggregation destroys type information, so you can't reason about that your SQL query actually returns anymore.View on HN