Home / Companies / PostHog / Blog / Post Details
Content Deep Dive

Introducing HogQL: Direct SQL access for PostHog

Blog post from PostHog

Post Details
Company
Date Published
Author
Joe Martin and Andy Vandervell
Word Count
993
Company Posts That Month
3
Language
-
Hacker News Points
-
Post removed?
No
Summary

PostHog has introduced HogQL, a new feature in public beta that allows users to query their data using SQL. This feature is integrated with ClickHouse SQL, providing familiar yet enhanced capabilities for data analysis, including simplified access to event and person properties, automatic joins, and support for complex SQL functions like subqueries and aggregations. HogQL is designed to amplify PostHog's existing insights and is free to use during the beta phase, with feedback from users encouraged. This tool enables advanced data exploration by allowing users to customize insights using SQL queries, such as analyzing user retention or preferences, exemplified by a playful analysis of global opinions on pineapple pizza. PostHog is continually developing HogQL, aiming to further enhance data querying and exploration capabilities, while inviting user feedback for ongoing improvements.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.