Commit Graph

6839 Commits

Author SHA1 Message Date
Matt Aitken 8bf27e6774 Improved the schema with some computed columns 2025-12-22 21:08:41 +00:00
Matt Aitken 43ccd9f2f0 Run status now has a tooltip 2025-12-22 21:08:41 +00:00
Matt Aitken 90bf6c66c6 Run redirect route and link to runs from Query page 2025-12-22 21:08:41 +00:00
Matt Aitken 0fce60422a Fixed handling when we rename colums to friendly names 2025-12-22 21:08:41 +00:00
Matt Aitken a3938acf5d Improved formatting 2025-12-22 21:08:41 +00:00
Matt Aitken 6b02429310 Show query stats 2025-12-22 21:08:41 +00:00
Matt Aitken 6ca631cbb5 Expose ClickHouse query stats from tsql queries 2025-12-22 21:08:41 +00:00
Matt Aitken 6c261ae369 Pretty formatting working 2025-12-22 21:08:41 +00:00
Matt Aitken 1d58b0c29b Fixed the layout scrolling issues 2025-12-22 21:08:41 +00:00
Matt Aitken 1f3bb8b968 runStatus working 2025-12-22 21:08:41 +00:00
Matt Aitken f92627c63b Added type inference tests 2025-12-22 21:08:41 +00:00
Matt Aitken 0883123dcc Do the type inference inside the tsql engine 2025-12-22 21:08:41 +00:00
Matt Aitken 28505a84c2 Transform values for the Query page, removed hardcoded runStatus 2025-12-22 21:08:41 +00:00
Matt Aitken a714de779b Custom inferers early version 2025-12-22 21:08:41 +00:00
Matt Aitken 7db252310c WIP on inferring types for the Table so we can do nice rendering 2025-12-22 21:08:41 +00:00
Matt Aitken 531a7e32d4 Style improvements to the query page 2025-12-22 21:08:41 +00:00
Matt Aitken 0b80075570 Query page WIP 2025-12-22 21:08:41 +00:00
Matt Aitken ee7dd03d73 Linter now works with AS queries 2025-12-22 21:08:41 +00:00
Matt Aitken cd9dec6506 Added virtual column support 2025-12-22 21:08:41 +00:00
Matt Aitken 426fec5819 Allow querying just using org id, project and env are optional 2025-12-22 21:08:41 +00:00
Matt Aitken 8ca6cecbe9 Allow mapping values to user friendly names 2025-12-22 21:08:41 +00:00
Matt Aitken 66992f33f8 Changed some HogQL reference to TSQL 2025-12-22 21:08:41 +00:00
Matt Aitken a680ca7d13 Unneeded ts-expects 2025-12-22 21:08:41 +00:00
Matt Aitken 957defe32d Lints now based on possible tables, columns and values 2025-12-22 21:08:41 +00:00
Matt Aitken 3594727488 Fix for test 2025-12-22 21:08:41 +00:00
Matt Aitken 1d4a8a64dc Fix for TS compilation errors in the web app 2025-12-22 21:08:41 +00:00
Matt Aitken 24164559e4 Fix for codemirror versions 2025-12-22 21:08:41 +00:00
Matt Aitken 3940b8ac92 Storybook is available only to admins (but now when deployed) 2025-12-22 21:08:41 +00:00
Matt Aitken 05cc682b72 Type fixes 2025-12-22 21:08:41 +00:00
Matt Aitken 06127d5bf6 TRQL editor WIP 2025-12-22 21:08:41 +00:00
Matt Aitken 0312439f46 Formatting 2025-12-22 21:08:41 +00:00
Matt Aitken 34dd68185e Added column/table mapping 2025-12-22 21:08:41 +00:00
Matt Aitken 3985d6e0c1 E2E clickhouse query tests using tsql 2025-12-22 21:08:41 +00:00
Matt Aitken 4ef27fe063 Added some specific security tests 2025-12-22 21:08:41 +00:00
Matt Aitken 3b7d0ae28d Actual query function 2025-12-22 21:08:41 +00:00
Matt Aitken 8809e1be79 Latest lockfile 2025-12-22 21:08:41 +00:00
Matt Aitken aade98d11b Fix types 2025-12-22 21:08:41 +00:00
Matt Aitken 1d99e8a85d Port of PostHog AST to CH 2025-12-22 21:08:41 +00:00
Matt Aitken 06556ede59 Made the tests cleaner 2025-12-22 21:08:41 +00:00
Matt Aitken cee635ac92 Simplified test 2025-12-22 21:08:41 +00:00
Matt Aitken 0295082dca Fixes and test improvements 2025-12-22 21:08:41 +00:00
Matt Aitken ca45a6e359 Casting 2025-12-22 21:08:41 +00:00
Matt Aitken 45b123d25e WIP adding strong return type to visitor… 2025-12-22 21:08:41 +00:00
Matt Aitken 497210830f Added stronger types to parser.ts 2025-12-22 21:08:41 +00:00
Matt Aitken e4ffbf4935 Adding stronger types 2025-12-22 21:08:41 +00:00
Matt Aitken fa7db2c965 WIP fixing parser 2025-12-22 21:08:41 +00:00
Matt Aitken d6a3845f6a Incomplete port of PostHog Python code 2025-12-22 21:08:41 +00:00
Matt Aitken b50c6321da Custom intermediate format 2025-12-22 21:08:41 +00:00
Matt Aitken a9f8dbfb8d Latest lockfile 2025-12-22 21:08:41 +00:00
Matt Aitken d2748ada4a Converting TSQL to CH draft 1 2025-12-22 21:08:41 +00:00