Avatar for the KrishivAI user
KrishivAI
krishiv-engine
BlogDocsChangelog

Performance History

Latest Results

docs(sql): document the EXPLAIN parsing helpers Signed-off-by: techysneha14 <343708768+shehatathe@users.noreply.github.com>
p2a/m7-urust-t093a-explain
13 seconds ago
feat(plan): TPC-H's subqueries become joins (P2-T071c) After resolution, a subquery pass rewrites the subquery shapes TPC-H uses into joins, as Spark's optimizer does: - a correlated EXISTS / NOT EXISTS conjunct becomes a left semi / anti join on its correlation; - IN (subquery) becomes a left semi join; NOT IN becomes a left anti join with the NULL-aware key (v = c) OR isnull(v = c); - a correlated scalar subquery over an aggregate, with equality correlation, becomes a left outer join with the aggregate grouped by its keys; a count reads 0 where no rows match. Correlated predicates move up through filters, projections, aliases and an ORDER BY without a limit (which goes, as in Spark). Inside a subquery, conjuncts that read the enclosing query stay above the joins its own subqueries become, so nested subqueries rewrite too; an IN whose value is a correlated scalar subquery joins that first. Uncorrelated scalar subqueries and EXISTS stay expressions. A rewritten side whose attribute ids overlap the other gets a Shift, so ids stay unique. Outer references resolve in the immediately enclosing query only, as in Spark 4.2; subqueries are named as Spark names them (scalarsubquery(..), exists(..), listquery(..)), and grouping keys that a subquery in HAVING reads are passed through the aggregate. Shapes beyond these fail with KRISHIV_UNSUPPORTED_FEATURE (general unnesting: P2-T115). A global ORDER BY's error context starts at ORDER BY. Signed-off-by: gopal tathe <44522021+techgopal@users.noreply.github.com>
p2a/m5-uan2-subqueries
23 minutes ago

Latest Branches

CodSpeed Performance Gauge
0%
feat(sql): parse EXPLAIN statements as Spark does (P2-T093a 1/3)#71
14 minutes ago
1cf19f2
p2a/m7-urust-t093a-explain
CodSpeed Performance Gauge
0%
feat(kernels): Spark math functions, 1/2 (P2-T026)#67
23 minutes ago
7e5a970
p2a/m3-ufn2-math
CodSpeed Performance Gauge
0%
24 minutes ago
7a63846
p2a/m6-t082a-parquet-commit
© 2026 CodSpeed Technology
Home Terms Privacy Docs