Release Notes¶
GSP Java v3.x to v4 Migration Guide
Version history of general sql parser¶
GSP Java version 4.2.29(2026-11-28)¶
- 2026-11-27 A parse stays with the input it was made from. When a
TGSqlParserparses new text, with or withoutprepareForReuse(), the statement list the earlier parse returned keeps its statements, andgetGsqlparser()of a kept statement returns that earlier parse, with its own SQL text, statements and TSQLResolver2; the list was emptied or refilled with the new statements, andgetGsqlparser()returned the reused parser, which held the new text. With several inputs,DataFlowAnalyzergives each input its own parser: theTGSqlParserthatDataFlowHandleListener.endAnalyzeDataFlow(TGSqlParser)receives for an input keeps that input's statements and TSQLResolver2 after the analysis, where every input received the same parser, which held the last input when the analysis ended. - 2026-11-27 Data lineage of several inputs analyzed together when one of them reads a set operation of stars (Mantis 5157, a regression of 4.2.21): with
insert into S1.TAB_9(C1, C2) select C1, C2 from (select * from S1.TAB_1 union select * from S1.TAB_2) init;in one input and any other input, evenselect 1;, the analysis failed with an IndexOutOfBoundsException and returned no lineage for any input, for every vendor. Each input now keeps its own tokens, and the lineage is complete. An error while laying out one statement's star no longer discards the lineage of every input: that statement's read stays unresolved, the other statements keep their lineage, andDataFlowAnalyzer.getErrorMessages()reports anErrorInfo.ANALYZE_ERRORthat names the statement's input and position. - 2026-11-27 Data lineage of a column read by name through a set operation of stars whose columns are not known (Mantis 5157), as
C1ininsert into S1.TAB_9(C1, C2) select C1, C2 from (select * from S1.TAB_1 union select * from S1.TAB_2) init. The set operation takes its column names from its first operand, soS1.TAB_1.C1is the source ofS1.TAB_9.C1. The second operand's column at that place is not known, so its source is nowS1.TAB_2.*, as it already was when the first operand lists its columns; the lineage readS1.TAB_2.C1, a column the second table may not have. With the tables' DDL, or when both operands read the same table through stars, the second operand's column is named as before. - 2026-11-27 SQL Server, Azure SQL and Sybase data lineage and TSQLResolver2 of a trigger that reads its
insertedordeletedrows (Mantis 5160, a regression of 4.2.21). In a trigger on[Person].[Person]withUPDATE [Person].[Person] SET [Person].[Person].[Demographics] = N'<x/>' FROM inserted WHERE [Person].[Person].[BusinessEntityID] = inserted.[BusinessEntityID], data lineage reported the table as a pseudo table (typepseudoTable), also for a view that reads it later in the script; it is a table again. TSQLResolver2 readsinsertedanddeletedby their own name or alias, as the trigger's rows:[Person].[Person].[BusinessEntityID]is the UPDATE target's column (EXACT_MATCH, where it wasAMBIGUOUS), andinserted.[BusinessEntityID]has theinsertedoccurrence asTObjectName.getSourceTable()and the trigger's table as its final table. A column qualified by the trigger table's name but read only from the trigger's rows, as inINSERT INTO dbo.audit(v) SELECT dbo.t.v FROM inserted, isNOT_FOUNDand no longer feedsdbo.audit.v; data lineage lists it under a pseudo table of its own, and the tabledbo.tkeeps its type. - 2026-11-27 DuckDB, Spark SQL and Databricks data lineage of
INSERT ... BY NAME: each column of the query goes to the target column of its name, where the lineage paired them by position. WithCREATE TABLE tgt(a INT, b INT),INSERT INTO tgt BY NAME SELECT y AS b, x AS a FROM srcgivessrc.x -> tgt.aandsrc.y -> tgt.b, where it gavesrc.x -> tgt.bandsrc.y -> tgt.a. Each operand of a set operation pairs by name too, and so does a star withREPLACEin a derived table: in DuckDB,INSERT INTO tgt BY NAME SELECT d.* REPLACE(u.z AS b) FROM (SELECT v.n AS b, t.* FROM t CROSS JOIN v) d CROSS JOIN ugivest.* -> tgt.aandu.z -> tgt.b, whereu.zfed both columns. The newTInsertSqlStatement.isQueryByName()returns true for such an INSERT, andisPositionalQueryInsert()for an INSERT whose query pairs by position. - 2026-11-27 Data lineage and TSQLResolver2 of PIVOT (Mantis 5162). A PIVOT over a derived table or a CTE that selects
*from a table without DDL left its FOR column out of every generated column, in BigQuery, SQL Server and Snowflake: SQL ServerWITH cte AS (SELECT * FROM src) SELECT p.[SETT], p.[PRIN] INTO tgt FROM cte PIVOT(MAX(k) FOR bt IN ([SETT], [PRIN])) pnow givestgt.SETTandtgt.PRINthe sourcessrc.kandsrc.bt, as a PIVOT over the table itself does, where it gavesrc.kalone. In the simple output, each generated column of a BigQuery PIVOT lists the aggregated column and then the FOR column as its sources, where the order depended on internal ids and could differ from one generated column to the next. A BigQuery FOR column that is a STRUCT field,FOR payload.bt, reads that field (src.payload.bt), not a columnbtof the same leaf name. BigQuery's names for an aliased aggregate,gl_key_SETTinPIVOT(MAX(k) AS gl_key, MAX(n) AS nominal FOR bt IN ('SETT', 'PRIN'))andgl_key_sett_aliasforIN ('SETT' AS sett_alias), resolve when read directly or through a derived table or a CTE (EXACT_MATCH, with the sourcessrc.kandsrc.bt), where they wereNOT_FOUNDand had no lineage; the read through a derived table or a CTE is a regression of 4.2.21.TGetTableColumnlists the columns of a single aliased aggregate by these names,avgdelay_AAforAVG(departure_delay) AS avgdelay FOR airline IN ('AA', ...), where it listedAA. In Spark SQL and Databricks, TSQLResolver2 names the columns of a PIVOT with several aggregates as Spark does, by the IN value's alias and the aggregate's alias: forSUM(k) AS total, MAX(n) AS largest FOR (bt, id) IN (('direct', 1) AS d, ('online', 2) AS o),o_largestresolves, where it wasNOT_FOUND, and the bare value aliasd, which resolved, is no column of the PIVOT. The SQL-LR document reads a grouping column through a Snowflake PIVOT whose IN list is a subquery:INSERT INTO o SELECT r FROM s PIVOT (SUM(a) FOR q IN (SELECT q FROM s))givess.r -> o.rand is complete, where the statement was partial with an unsupported-construct diagnostic;IN (ANY ...)keeps the diagnostic. - 2026-11-26 Data lineage and TSQLResolver2 of a name read through
SELECT *over a join, in three shapes beyond those of 4.2.27 (Mantis 5149). A name that the ON clause or DDL proves in more than one of the star's inputs, asaincreate table tgt as select z.a, z.b from (select * from t1 join t2 on t1.a = t2.a) z, isAMBIGUOUSwith both tables as candidates (TObjectName.getCandidateTables2()), and data lineage publishes both as sources oftgt.a, each marked with the candidates (sourceColumn.getCandidateParents(),<candidateTables>), where it gave no candidates and listedaas an orphan column. This holds through nested derived tables and CTEs, and for two columns of one table that two stars give the same name, as Snowflake'sSELECT p.* RENAME (v AS a), p.* RENAME (w AS a) FROM t1 p, which now publishest1.vandt1.w. Witha.*, b.*, whereblists its columns andcol_dis not one of them,col_dincreate table tgt as select col_a, col_d from (select a.*, b.* from t2 a join (select col_1 as col_a, col_b from aTab) b on a.id = b.col_b) tist2's again (t2.col_d -> tgt.col_d, final tablet2), which 4.2.24 to 4.2.28 lost. WithOption.setLinkOrphanColumnToFirstTable(true)(defaultfalse), an orphan column read from a CTE overSELECT *links to the CTE's first table, as one read from a derived table already did:xincreate table out1 as with a as (select * from t1) select x, t4.q from a join t4 on a.k1 = t4.k4now readst1, marked witht1andt4as candidates. - 2026-11-26 BigQuery, Snowflake and DuckDB data lineage of an INSERT whose query has a star with
REPLACE(Mantis 5162): the replacement value goes to the target column at the replaced column's place, counted with the star's other columns, where it was counted as a column after the star or lost behind it. WithCREATE TABLE tgt(x INT64),INSERT INTO tgt SELECT t.* REPLACE(u.z AS b) FROM t CROSS JOIN ugivesu.z -> tgt.x, where it gavet.* -> tgt.x, and withtgt(x, y),INSERT INTO tgt SELECT t.* REPLACE(u.z AS b), u.msg FROM t CROSS JOIN ugivesu.z -> tgt.xandu.msg -> tgt.y, where both target columns readt.*. A target column whose source place is not known still reads the star. - 2026-11-26 BigQuery, Snowflake, DuckDB, Databricks and Spark SQL TSQLResolver2 and data lineage of a name read beside a qualified star with
EXCEPTorEXCLUDE(Mantis 5162). These vendors reject an excluded column that the star does not have, soSELECT s.* EXCEPT(bt), bt AS picked FROM src s CROSS JOIN rhsproves thatsrchasbt:btissrc's (EXACT_MATCH) and data lineage givessrc.bt -> tgt.picked, also whensis a derived table or a CTE oversrc, wherebtwasAMBIGUOUSbetweensrcandrhsand an orphan column. - 2026-11-26 Data lineage of a column read without a qualifier over two occurrences of one table, which the vendors reject as ambiguous:
qtysoldinCREATE TABLE sales(qtysold INT); INSERT INTO x(p) SELECT qtysold FROM sales s, sales t;staysAMBIGUOUSin TSQLResolver2 with both occurrences as candidates, and data lineage now gives it no source and lists it as an orphan column, as it already did without the DDL, where it readsales.qtysold; measured in PostgreSQL, SQL Server, Oracle and BigQuery. The same holds beside a star withEXCEPT, as in BigQuerySELECT a.* EXCEPT(bt), bt AS picked FROM src a CROSS JOIN src b, which readsrc.bt. - 2026-11-26 Data lineage of a call of a scalar function whose body the analyzed SQL does not hold, in Oracle, PostgreSQL, SQL Server, Azure SQL, MySQL and Db2 (Snowflake, BigQuery and OceanBase are unchanged). The call now has a result of its own, named after the function, which is the source of the value it computes, marked with
column_type="unresolved_scalar_return", and each argument is an indirect dependency of that result (fdrwitheffectType="unresolved_scalar_return",EffectType.unresolved_scalar_return), since what the function returns is not known. A call of an undeclared function by a qualified name, as PostgreSQLINSERT INTO dst_a(v) SELECT app.save_value(s.v) FROM src_a s, SQL Server[dbo].[fn](s.v)or the Oracle package membersave_pkg.save_object(s.v), gavesrc_a.v -> dst_a.v, as if the function returned its argument; the simple output now gives the function's result as the source ofdst_a.v. A function declared without a body, in an Oracle package specification or as a CLR, Java or C routine, gave the target no source; it now gives the function's result. Built-in functions, functions the analyzed SQL defines, and calls of an unknown function by a bare name, such asABS(s.v)ormaybe_udf(s.v), keep their lineage. - 2026-11-26 TSQLResolver2 and data lineage of the columns a table's definition rules in or out. A table created by a query has only the columns the query outputs: after
CREATE TABLE w AS SELECT * EXCLUDE (x) FROM base_src(DuckDB, Snowflake;EXCEPT (x)in BigQuery and Databricks),w.xisNOT_FOUND, also whenbase_srchas no DDL, andCREATE TABLE tgt AS SELECT w.x FROM wno longer reads a columnw.x. A system column of a declared table, PostgreSQL'sctid,xminortableoidand DuckDB'srowid, resolves to the table, and data lineage reads it (w.ctid -> tgt.rforCREATE TABLE tgt AS SELECT w.ctid AS r FROM w), where it wasNOT_FOUNDand had no lineage. - 2026-11-25 Data lineage of a scalar function that the analyzed SQL defines and that several statements call (Mantis 5158): each call reads only its own arguments. With
CREATE FUNCTION scale_value(p INT) RETURNS INT ... RETURN p * 2andINSERT INTO dst_a(v) SELECT scale_value(s.v) FROM src_a s; INSERT INTO dst_b(v) SELECT scale_value(s.v) FROM src_b s;, bothdst_a.vanddst_b.vhad bothsrc_a.vandsrc_b.vas sources, since every call wrote into the function's parameter and read its shared return; the lineage now givessrc_a.v -> dst_a.vandsrc_b.v -> dst_b.v, measured in Oracle, MySQL, PostgreSQL, SQL Server and Db2, for calls in queries, UPDATE statements and procedures, and for an Oracle package function that two packages call. In the full output each call has its own argument slots and its own function result, and the function's parameters and RETURN expression no longer receive the callers' arguments. Values the function body reads from tables, such as a lookup with SELECT INTO, still reach every caller. - 2026-11-25 TSQLResolver2 and data lineage no longer read a collation name as a column. In PostgreSQL,
upper(title COLLATE "de_DE")gave a sourcesrc."de_DE"besidessrc.titleandpg_catalog."c"was an orphan column; MySQL'sCOLLATE utf8mb4_binwas an orphan column; and SQL Server'sCOLLATE Latin1_General_100_CS_ASand Snowflake'sCOLLATE 'en-ci'were column references in TSQLResolver2. The name is now a collation (TObjectName.getDbObjectType()returnsEDbObjectType.collation), and a real column of the same spelling, as"c"inlength("c"), is still read. In an Oracle PL/SQL routine, thePASSINGarguments ofXMLEXISTSread the routine's parameters, which data lineage listed as orphan columns andTGetTableColumnas columns ofdual, so in the full output a caller's arguments now reach the condition as row dependencies (fdr). - 2026-11-25 PostgreSQL data lineage of a call of a function or procedure that the analyzed SQL defines. A named argument binds the parameter it names: in
CALL p(b => w, a => v)the procedure'sareadsv, and inSELECT f(b => w.w, a => v.v)the function'sareadsv.v, where the lineage bound the arguments by position. An overloaded routine takes the overload PostgreSQL selects by the names of named arguments, the proven types of the arguments and thesearch_path: withf(p text)andf(a integer, extra integer DEFAULT 0),f(a => s.v)takes the second and reads its body'stwo_src.v, where it took the first; withsb.f(p integer)andsa.f(p text)underSET search_path TO sa, sb,f(s.v)with an integers.vtakessb.f, the exact match, where it tooksa.f; and withf(p anyarray)andf(p integer, q integer DEFAULT 0), an integer argument takes the integer overload. A call whose argument types are not proven keeps the earlier choice. The SQL-LR document binds such a call to the same overload, where it reported the call as ambiguous (ANALYSIS_AMBIGUOUS_NAME) and published no value. - 2026-11-25 Oracle data lineage of procedure parameters and variables declared with
%TYPEor an object type (Mantis 5159). A parameter anchored to a column,p_id hist.id%type, takes the argument at its position or of its name: withadd_hist(:old.emp_no, :old.hire_date, :old.code)in a trigger onempandINSERT INTO hist (id, start_date, code) VALUES (p_id, p_start, p_code)in the procedure, the lineage givesemp.emp_no -> hist.id,emp.hire_date -> hist.start_dateandemp.code -> hist.code, where it kept onlyemp.code -> hist.code, whose names agree; named arguments (p_code => :old.code) and an omitted DEFAULT parameter bind the same way. An object-typed parameter or variable, anchored (src_obj.payload%TYPE) or declared with its type, carries each attribute separately, through constructors, nested object types and a subtype's inherited attributes:o := payload_t(n, 0)passed to a procedure that writesp.atodst_aandp.btodst_bsendsn's source todst_a.vonly, where it reached both, ando := outer_t(inner_t(x), inner_t(y))sendsx's source todst_a.vandy's todst_b.v, where the lineage read a source named after the parameter (p.a.v). - 2026-11-24 Performance: parsing takes less time on large scripts whose queries have many columns, and the output does not change. Measured serially with TSQLResolver2, each against the code before it: the 523 files of the benchmark corpus parse in 3.5 s instead of 3.9 s (9.7% to 12.2% less), and a 157 KB Snowflake script of chained common table expressions in 0.90 s instead of 1.25 to 1.29 s (27.5% to 30.5% less); a second change takes a further 7% to 21% off that script and about 2% off the corpus. Files of up to 40 KB parse as fast as before.
- 2026-11-23 Data lineage and TSQLResolver2 read each table with the definition in effect where the statement runs, for every vendor: the latest CREATE, ALTER, DROP or replacement before the statement, in the same input or an earlier one, with the caller's metadata (
DataFlowAnalyzer.setSqlEnv(TSQLEnv), a JSON catalog) as the earliest definition. A definition that comes later is used only when there is no earlier one, so splitting or merging the input files no longer changes the result. In SQL Server and Azure SQL, a table created later in the input, or in a later input, was not seen: withINSERT INTO tgt (x) SELECT a FROM t1, t2;in one input andCREATE TABLE t1 (a INT); CREATE TABLE t2 (b INT);in the next,awas an orphan column and now givest1.a -> tgt.x, and inINSERT INTO tgt (x) SELECT o.id FROM o WHERE EXISTS (SELECT 1 FROM i WHERE k = o.id), witho(id, k)andi(z)declared later, the WHERE readi.kand now readso.k. A star reads the definition in effect: afterCREATE TABLE t(a INT); INSERT INTO before_dst SELECT * FROM t; DROP TABLE t; CREATE TABLE t(b INT); INSERT INTO after_dst SELECT * FROM t;,before_dstreadst.aandafter_dstreadst.b, where both read both columns, andSELECT a, b FROM tfollowed byCREATE TABLE t(a int); DROP TABLE t; CREATE TABLE t(b int);readst.aand listsbas an orphan column. A view replaced withCREATE OR REPLACE VIEWis a view of its own: statements before the replacement read the first query's tables, statements after it the replacement's, where one view read both. An ALTER takes effect at its place, with the vendor's position rules: after MySQLCREATE TABLE s (a INT, b INT); ALTER TABLE s ADD c INT FIRST;,INSERT INTO t2 SELECT * FROM sintot2(x, y, z)givess.c -> t2.x,s.a -> t2.yands.b -> t2.z, where data lineage gaves.a -> t2.x,s.b -> t2.yands.* -> t2.zand the SQL-LR document gave no value.ParallelDataFlowAnalyzersees a table created in a later input as well. - 2026-11-23 The POM embedded in a per-customer jar gives the project version without trailing spaces: it read
<version>4.2.28 </version>, which Maven trims, but a tool that reads the POM as text got the version followed by two spaces. Nothing else in the jar changes, and the public Maven trial (com.gudusoft) is not affected.
GSP Java version 4.2.28(2026-11-23)¶
- 2026-11-23 The POM embedded in a per-customer jar (
META-INF/maven/gudusoft/gsqlparser/pom.xml) no longer names a parent, so a customer who deploys the jar with that POM to their own Maven repository can resolve it. It namedgudusoft:gsp_java:1.0-SNAPSHOTas its parent, as every per-customer jar since 2024-09 did, and that POM is published nowhere, so Maven failed with "Could not find artifact gudusoft:gsp_java:pom:1.0-SNAPSHOT". The POM keeps the description and URL it used to inherit, and nothing else in the jar changes. The public Maven trial (com.gudusoft) is not affected. - 2026-11-22 Performance: when data lineage builds its catalog from the analyzed SQL (no
TSQLEnvset withDataFlowAnalyzer.setSqlEnv(TSQLEnv), default settings), it takes less time on a script that declares, besides its queries and DML, only SQL Server stored procedures or synonyms, Oracle standalone procedures, functions, triggers or synonyms, or Snowflake schemas. Measured end to end, one script each: a 49 KB SQL Server script of stored procedures takes 260 ms instead of 284 ms (8.7% less); a 6 KB SQL Server script of synonyms and queries 108 ms instead of 125 ms (13.1%); a 3.9 KB Oracle procedure 85 ms instead of 103 ms (17.2%); a 4.6 KB Oracle trigger 86 ms instead of 97 ms (11.4%); a 10 KB Oracle script of synonyms and queries 143 ms instead of 158 ms (9.8%); and an 8 KB Snowflake script of schemas and queries 276 ms instead of 319 ms (13.4%). The output does not change. - 2026-11-22 The following are deprecated and keep working as before. The lineage2 preview, package
gudusoft.gsqlparser.lineage2withLineageAnalyzer,LineageConfig,LineageResult,Lineage2Cliand its other public types, is frozen; data lineage throughDataFlowAnalyzeris not affected.TCompiler,TTypeAndScopeScanner,TTypeResolver,TQueryScopeandTCTEListScopeingudusoft.gsqlparser.compilerare used only by the legacy compiler;EResolverType.RESOLVERis not deprecated. ForMySqlParserandSparkSqlParseringudusoft.gsqlparser.parser, useTGSqlParserwithEDbVendor.dbvmysqlorEDbVendor.dbvsparksql, which runsMySqlSqlParserandSparksqlSqlParser; those two are not deprecated. ForTParseTreeNode.toString2()andsetString2(String)usetoString()andsetString(String), and for the formatter classSQLionuseFormatterFactory. - 2026-11-19 Snowflake: a SHOW statement inside a Snowflake Scripting block (a stored procedure's
$$body orBEGIN ... END), such asSHOW PARAMETERS LIKE 'CORTEX_ENABLED_CROSS_REGION' IN ACCOUNT;, parses as the statement it is (TShowStmt), where the whole procedure failed (Mantis 5023). A string with a backslash-escaped quote before a blank, as in' WHERE size=\'' || v || '\'', is read as Snowflake reads it (Mantis 5025); at the top level this also ends such a literal where Snowflake does, soSHOW TASKS LIKE 'a\'' ; SELECT 'x';is two statements, where it was one. The same holds when SQL follows the quote on its line:SELECT 'a\'' FROM t; SELECT 'x';is two statements, where the literal ran on to the next quote and swallowed the second statement without an error. A procedure body written as a quoted string that is not a valid Snowflake Scripting block reports a syntax error, whereparse()threw a ClassCastException. - 2026-11-19 Teradata:
ALTER TABLE ... MODIFYchanges a table's partitioning in the forms the reference lists ([[NOT] UNIQUE] PRIMARY [AMP] [INDEX] ...,NO PRIMARY INDEX,NOT PARTITIONED,PARTITION BY ...,DROP RANGE ... ADD RANGE ... [EACH ...],WITH DELETE,WITH INSERT), reachable asTAlterTableOption.getPartitioning()(Mantis 4934);MODIFY ADD RANGE BETWEEN 21 AND 30 EACH 1and two other forms that parsed as a modified column namedADDorDROPnow parse as partitioning.CREATE TABLE ... PARTITION BY COLUMN ADD 3andRANGE_N(...) ADD 5keep their primary index and partitioning, which were dropped.PARTITION BY (a + 1)parses as the partitioning expressiona + 1, and a visitor reaches the bounds and theEACHstep of eachRANGE_Nrange. Data lineage reads aRANGE_Ncall in a query as a function of its column and bounds, where the analysis failed for the whole input. Nested CASE statements in a stored procedure parse (Mantis 4939). - 2026-11-19 Teradata: a labeled handler block (
DECLARE EXIT HANDLER FOR SQLEXCEPTION L1: BEGIN ... END L1;) has the parse tree of the unlabeled form, its block inside the DECLARE (Mantis 4941). Data lineage reads the tables a handler's statements read and write, for labeled, unlabeled and single-statement handlers; a variable an EXIT handler assigns reaches only what can run after the handler's own block ends: the statements after it, and the next round of a loop that can repeat; a cursor reads a variable as of eachOPEN, so aFETCHbefore the handler's block never reads the handler's write. A procedure whose body is labeled (B0: BEGIN ... END B0) reports the label throughgetLabelName(), andLEAVE B0ends the procedure. - 2026-11-19 Oracle: a wrapped unit (
CREATE OR REPLACE PROCEDURE scott.p wrapped ...,PACKAGE BODY ... wrapped) reports its name, schema and object type as its plain form does, and a wrapped package body reportsgetKind()as a body (Mantis 5069). TSQLResolver2 keeps packages of one name in two schemas apart:scott.pnever reads another schema'sp, quoted schema names keep their case, and a barep.xin a unit of schemabreadsb.p. A unit, or a package declared without a schema, is in the schemaALTER SESSION SET CURRENT_SCHEMAsets before it; with no schema known, a bare name reads only a package declared without one. - 2026-11-19 Netezza:
ALTER TABLE t1 DROP CONSTRAINT c1reportsEAlterTableOptionType.DropConstraintfromTAlterTableOption.getOptionType(), as Oracle, SQL Server, DB2 and Teradata do, andgetConstraintNameList()listsc1(it returned null);getConstraintName()is unchanged (Mantis 4929). Netezza reportedEAlterTableOptionType.dropConstraint, which PostgreSQL, Greenplum, EDB, GaussDB, Redshift, Vertica, Snowflake, DuckDB, SQLite, MySQL, OceanBase and ClickHouse still report for the clause: code that compares a Netezza option withdropConstraintmust compare it withDropConstraint, and code that handles the clause for every dialect tests for both. - 2026-11-19 Oracle:
TAlterSessionStatement.getAssignments()returns the parameters anALTER SESSION SETassigns and their values, oneTSetAssignmenteach: forALTER SESSION SET CURRENT_SCHEMA = 'ABC',getParameterName()isCURRENT_SCHEMAandgetParameterValue()is'ABC'(Mantis 4928). The parser read them and dropped them. They are not column references, so TSQLResolver2 and data lineage do not change. Other dialects return null. - 2026-11-19 Oracle:
CASTtakes a value to return on a conversion error and a format model with an optional NLS parameter, in SQL and PL/SQL, where they were syntax errors: inCAST('2020-13-01' AS DATE DEFAULT NULL ON CONVERSION ERROR, 'YYYY-MM-DD'),TFunctionCall.getCastConversionDefault()returns the expressionNULLandgetCastFormatArgs()lists'YYYY-MM-DD'.toScript()writes both back, and data lineage reads the columns they name: inCREATE TABLE dst AS SELECT CAST(s.raw_value AS DATE DEFAULT NULL ON CONVERSION ERROR, s.format_mask) d FROM src s, bothsrc.raw_valueandsrc.format_maskare sources ofdst.d.NUMBER(*)without a scale parses, with*as its precision. A partitioned CREATE TABLE AS SELECT,CREATE TABLE t2 PARTITION BY RANGE (d) (...) AS SELECT id, d FROM t, with or without a column list and with other table properties before or after the partitioning, keeps its partitioning and its query:getTableProperties().getTablePartition()andgetSubQuery()return them (Mantis 5153, 5155, 5156).
GSP Java version 4.2.27(2026-11-19)¶
- 2026-11-19 Data lineage of a column read through
SELECT *over a join of tables whose columns are not known (Mantis 5149, a regression of 4.2.23): inCREATE TABLE test1 AS SELECT col_a, col_c FROM (SELECT * FROM t2 a JOIN (SELECT coalesce(col_1, col_2) AS col_a, col_b FROM aTab) b ON a.ID = b.col_b JOIN (SELECT * FROM dTab JOIN cTab ON dTab.dd = cTab.cc) c ON a.Id = c.Id3) t,col_cis a column oft2,dTaborcTab(blists its columns, so not ofaTab). Data lineage publishes all three as sources oftest1.col_c, each marked with the three as candidate tables (sourceColumn.getCandidateParents(),<candidateTables>); 4.2.23 to 4.2.26 published none. TSQLResolver2 reports such a read asAMBIGUOUSwith the three inTObjectName.getCandidateTables2(), where it reported an exact match to the derived tablet, andTSQLResolver2ResultFormatterlists it asmissed.col_c, as it lists other ambiguous columns. A column read directly from such a join,SELECT au_lname FROM authors CROSS JOIN publishers, keeps its output:AMBIGUOUSwith both tables as candidates, and no data lineage edge. - 2026-11-18 SQL Server and Azure SQL data lineage of a table-valued function that the analyzed SQL does not define, such as a function of another database (Mantis 5152): a call by a schema- or database-qualified name in a query's or an
UPDATE'sFROMorAPPLY,FROM OtherDb.dbo.GetItems() f, is read as a table of the function's name whose columns are the ones the statement reads from it, so the simple output showsOtherDb.dbo.GetItems.ItemId -> dbo.tfnWrapper.ItemId. Every column read through such a call used to feed one node named after the function, which the simple output hides. The call's arguments are published as an indirect dependency (fdr) of the rows the statement reads from the call, not as a source of the values it returns, since what the function does with them is in its body.Option.setShowTableFunctionArgumentAsDirect(true)(defaultfalse) also publishes each argument as a direct (fdd) source of the values read from that call, as an assumption. Built-in table functions called by one name (STRING_SPLIT,GENERATE_SERIES), methods such asx.nodes(), functions the analyzed SQL defines and other vendors do not change. - 2026-11-18 SQL Server: data lineage through a MERGE nested in an INSERT's FROM clause,
INSERT INTO t (id) SELECT id FROM (MERGE src USING upd ON ... OUTPUT $action, inserted.*) m, is published again (Mantis 5150); 4.2.21 to 4.2.26 lost every edge into the INSERT's target, and an aliased MERGE its own edges. TSQLResolver2 reads the nested MERGE's OUTPUT list as the columns of the FROM item, a star over a table the metadata describes as that table's columns, and resolves the MERGE's own names in the MERGE, which still reads the INSERT's common table expressions:src.id -> t.idand the MERGE'sUPDATE SETandINSERT VALUESedges come back, with or without the tables' DDL. - 2026-11-18 SQL Server: a column read from
OPENQUERYis connected to the table its pass-through query reads again:INSERT INTO tgt(a) SELECT a FROM OPENQUERY(srv, 'SELECT a FROM t') qyieldst.a -> tgt.a, which 4.2.21 to 4.2.26 lost. TSQLResolver2 reads the OPENQUERY as a derived table of its pass-through query, as the parser and data lineage already did, including a star in the query text and an alias column list. An unqualified name that the pass-through select list has is read from the OPENQUERY, not from a table joined to it. - 2026-11-17 One lookup decides which common table expression a table name reads, for the parser (
TTable.isCTEName(),getCTE()andgetCteColomnReferences(), now set together) and TSQLResolver2 alike. A CTE defined with a qualified name, which no vendor's syntax allows but the parser accepts, is read by the same qualified name only, part by part: TSQLResolver2 read Snowflake'sWITH S.C AS (SELECT a FROM t) SELECT a FROM S.Cas a tableS.C, so data lineage did not reachtthrough it. The source of a MERGE, or of a MySQL REPLACE, that has a WITH of its own reads the statement's CTEs too, as does a Teradata implicit table under an inner WITH. Of two CTEs of one name, which no vendor accepts, a name reads the latest one before it, and each keeps its own column list: under MySQL's default profileWITH c AS (SELECT 1 AS x), C AS (SELECT 2 AS y) SELECT y FROM CreadsC. A CTE read through MERGE USING, and an implicit table, carry the CTE's column list. - 2026-11-17 TSQLResolver2 reads a common table expression defined after the one whose query names it where the vendor allows a WITH list in any order (Hive, ClickHouse, Teradata and SQLite, and PostgreSQL, Greenplum, EDB and BigQuery under RECURSIVE), as the parser already did. It read such a name as a table, so in Hive's
WITH a AS (SELECT x FROM b), b AS (SELECT 1 AS x) SELECT x FROM adata lineage drew no edge fromb's columns. Each such reference keeps its own column list, as inFROM b q(y), and is its own FROM item. - 2026-11-17 Which common table expression a table name reads follows the vendor's rules, by one rule for the parser (
TTable.isCTEName(),getCTE()) and TSQLResolver2. A CTE reads itself only where it can recurse: without the RECURSIVE keyword a PostgreSQL, MySQL or BigQuery CTE does not see itself, so inWITH r AS (SELECT 1 AS n UNION ALL SELECT n + 1 FROM r)therin the body is a table.WITH RECURSIVEcovers every CTE of its list, also in MySQL, BigQuery and ClickHouse, and every recursive query block after the anchor reads the CTE, as MySQL allows. A CTE reads a CTE defined after it only in Hive, ClickHouse and Teradata, and under RECURSIVE in PostgreSQL, Greenplum, EDB and BigQuery: in SQL ServerWITH a AS (SELECT * FROM b), b AS (...)reads the tableb. A name a CTE cannot read is looked up in the enclosing WITH, as in BigQuery'sWITH q1 AS (...) SELECT * FROM (WITH q1 AS (SELECT * FROM q1) ...).TTable.setCTE(TCTE)no longer refuses a CTE: it sets the one it is given and returns true. Circular references between CTEs are reported as an error ("Circular CTE reference") in Hive, ClickHouse, PostgreSQL, Greenplum, EDB and BigQuery as in Teradata, where TSQLResolver2 overflowed the stack; SQL Server CTEs cannot form a cycle and are no longer reported as one. - 2026-11-16 Recursive common table expressions. In SQL Server, Azure SQL, Oracle, DB2 and Snowflake, where a CTE can be recursive without the RECURSIVE keyword, every member after the anchor reads the CTE: in
anchor UNION ALL r1 UNION ALL r2, r1's reference used to be taken for a table of the same name, which data lineage reported as a table that does not exist. Data lineage now connects every member of a recursive CTE's set operation to its result, where a member before the last could be left out, and records that each recursive member reads the CTE's rows (anfdrrelationship onRelationRows), for every vendor. - 2026-11-16 Whether a FROM item names a common table expression follows the vendor's identifier rules, in the parser and in TSQLResolver2 alike, under the analysis's identifier profile. In Oracle and Snowflake an unquoted
cno longer namesWITH "c"(it is the nameC); in PostgreSQLitemno longer namesWITH "Item"; in BigQuery a CTE name is compared without regard to case, soFROM sales_datesreadsWITH Sales_Dates ...and data lineage connects its columns to the CTE. A configured profile applies, such as Snowflake'sQUOTED_IDENTIFIERS_IGNORE_CASE.ESQLDataObjectType.dotCteNameis a new object type, andTCTEList.searchCTEByNamehas an overload that takes anIdentifierService. Code that switches over everyESQLDataObjectTypevalue sees one more value. - 2026-11-16 Performance: TSQLResolver2 no longer takes time that doubles with every level of a chain of derived tables that each select
A.*and add a column, such asSELECT A.*, R1 * D1 AS R2 FROM (SELECT A.*, ... FROM t A) A, over a table without metadata. A Teradata script with 21 such levels took minutes to analyze for data lineage and now takes about two seconds; a chain of 16 levels parses in 42 ms instead of 2 s, and its lineage takes 92 ms instead of 4 s. The results do not change. - 2026-11-16 The parser finds a table by its name or alias with the vendor's identifier rules, under the analysis's identifier profile, instead of stripping quotes and ignoring case. In SQL Server,
DELETE [A] FROM t1 AS A JOIN t2 B ON A.x = B.ynow deletes fromt1: data lineage reports the target ast1with aliasA, where it used to report a table named[A]. A delimited qualifier over an undelimited alias, such as[dest].xovert1 AS dest, now marks its token as a table alias. WithEResolverType.NONE, Oracle"c".xno longer links toFROM t1 c, sincecis the nameC, as the default resolver already decided, and a configured profile governs the parser's lookups: with MySQLlower_case_table_names = 0,A.xno longer links toFROM t1 a.TTableList.checkColumnReferenceInTables,TTable.checkTableByNameandTObjectName.resolveWithThisTablehave overloads that take anIdentifierService, andIdentifierService.forAnalysis(TSQLEnv, EDbVendor)returns the service a statement compares names under. - 2026-11-16
ESQLDataObjectType.dotTableAliasis a new object type for comparing a table's alias, or the name of an unaliased table used as a qualifier, withSQLUtil.sameNameandIdentifierService. BigQuery compares an alias without regard to case, as its reference documents, while its table names keep their case; every other vendor compares an alias by the analysis's table rule, including MySQL'slower_case_table_names. The alias comparisons that already went through the name service use it, so in BigQuery a qualifier such asAM.xmatchesFROM t AS amin them as well. Code that switches over everyESQLDataObjectTypevalue sees one more value. - 2026-11-16 MySQL: a select item that is an expression without an alias is named as MySQL names it, by its text as written (
a + 1,concat( 'a' , 'b' ),(1+1)), and a string by its value, a number as written and NULL asNULL, also inside parentheses. A derived table's or a CTE's column is read by that name: inSELECT d.a + 1FROM (SELECT a + 1 FROM t) d, TSQLResolver2 bindsd.a + 1to the derived table, and data lineage now connects `t.a` through the derived table to the outer query, where the reference used to be reported as an orphan column. As in MySQL, the name counts its spaces (`d.`a + 1reads no column) and ignores case.TResultColumn.getOutputName()returns the name; a string holding a backslash, a double-quoted string inside parentheses, an empty string and a name longer than 255 bytes still have none. - 2026-11-15 Performance: measured on the benchmark corpus against 4.2.26, tokenizing takes about 27% less time, parsing with TSQLResolver2 about 43% less and data lineage about 50% less; the data lineage of a single small statement takes about a third of the time it did. A Snowflake script of chained common table expressions with hundreds of columns parses in 1.4 seconds instead of 3.9, and its data lineage takes 1.7 seconds instead of 8.2. The output does not change.
- 2026-11-15 BigQuery, Databricks, Hive, Redshift, DuckDB: a column read through a derived table whose select item is a path or a subscript (
SELECT f FROM (SELECT o.s.f FROM t o) x,SELECT "arr[1]" FROM (SELECT arr[1] FROM t) x) is the derived table's own column, named by the item's last step or text. TSQLResolver2 no longer adds a column of that name (f,"arr[1]") togetLinkedColumns()of the table behind the derived table, which does not have it; this holds with and without metadata. - 2026-11-15
TSqlCmds,TSqlCmdsAdapter,SqlCmdsFactory.setUseModularProviders(boolean),TSqlCmdsOdbc,TSqlCmdsSoqlandTSqlCmdsTrinoare deprecated. They keep working as they did.SqlCmdsFactory.get(EDbVendor)returns the per-vendor statement splitters (TSqlCmdsOracle,TSqlCmdsMssqland so on) by default, and those are the maintained ones;setUseModularProviders(false)switches to the older monolithicTSqlCmds, which splits some scripts differently, andSqlCmdsFactorynever creates the last three classes. - 2026-11-15 Dameng:
SET TRANSACTIONwritten over several lines is one statement; it was cut at the first newline. The semicolons inside the braces ofCREATE JAVA CLASS name { ... }stay in the statement, and so do those ofWITH FUNCTIONin a query that does not start the statement (a subquery,CREATE VIEW ... AS,INSERT ... SELECT). ASET TRANSACTIONon one line is now a SQL statement (sstoraclesettransaction) that runs to its semicolon, not a DIsql command line (sstsqlpluscmd): a statement after it on the same line is a statement of its own, and a statement on the next line belongs to it when no semicolon ends theSET TRANSACTION. Data lineage follows these boundaries; for example,SET TRANSACTION READ ONLY; SELECT t.a FROM t;now yieldst.a -> RS-1.a. - 2026-11-15 OceanBase (Oracle mode):
SET ROLEandSET TRANSACTIONwritten over several lines are one statement; they were cut at the first newline. On one line they are now SQL statements (sstoraclesetrole,sstoraclesettransaction) that run to their semicolon, not SQL*Plus command lines (sstsqlpluscmd), so a statement after them on the same line is a statement of its own and data lineage follows that boundary. - 2026-11-15 Data lineage: the output no longer changes order from run to run, nor do the ids and the
Function Call-Nprocess names that follow that order, for Oracle PL/SQL calls bound after the unit that defines their routine and for dropped tables; both follow the order of the analysis. - 2026-11-15 Oracle: an unqualified name that matches a parameter of a routine or of an explicit cursor is read the same way whatever the parameter's place in the list. It is the column when any table of the statement, not only the first, has that column in its metadata, and the parameter when the statement's only table is a subquery that does not select it;
TObjectName.getDbObjectType()reported the opposite in these cases. In anAS OFclause a declared variable or parameter is that variable, also when a table of the statement has a column of its name. Data lineage does not change. - 2026-11-13 DuckDB: a list comprehension
[e FOR v IN coll IF cond]is an expression of its own (TListComprehension), named as DuckDB names it. Its variables read no column: inINSERT INTO x(p) SELECT [x.f FOR x IN [{'f': c}]] FROM tdata lineage readst.conly, where it also read the target'sx.f. A qualified name whose qualifier is a relation of the FROM clause stays that relation's column.ARRAY[e FOR v IN coll]and a secondFORclause, which DuckDB rejects, are now syntax errors.
GSP Java version 4.2.26(2026-11-13)¶
- 2026-11-12 Oracle data lineage no longer depends on the order of the input files: a PL/SQL call statement analyzed before the unit that defines its routine (a package member, a standalone procedure, a routine reached through a synonym, a routine named like a built-in, a call without parentheses) binds its arguments once that unit is analyzed, as it does when the routine comes first; it no longer feeds a function node of the call's name. A call with a cursor argument binds its other arguments.
- 2026-11-12 Oracle data lineage of a call of a package member that another input unit declares: the call binds its arguments to the member's parameters (it bound none). A three-part call
SCHEMA.PKG.P(...)names the package its metadata group places in that schema; a two-part call does not name another known schema's package unless the caller sees a synonym of it. - 2026-11-12 Data lineage of standalone routines of one name in two schemas (all vendors): each schema's routine is its own, so they no longer share local variables and each target reads only its own sources. In Oracle an unqualified call takes a member of its package, then its own schema's routine, and another schema's routine only through a synonym the caller sees.
- 2026-11-12 Oracle data lineage with metadata groups in stored form (
IdentifierInputForm.CATALOG_STORED): the packages of one name in the schemas"sales"andSALESare two packages with their own members and variables. - 2026-11-11 Oracle data lineage of a
TABLE(f())call: the call takes the routine its own package or schema declares, or the target of a synonym it sees, never another schema's function of the same name, whether the definition comes before the call or after it.
GSP Java version 4.2.25(2026-11-11)¶
- 2026-11-11 Oracle data lineage of a MERGE whose source is a pipelined function call,
MERGE INTO t USING TABLE(PIPE_TICKETS()) s ...(Mantis 5147, a regression of 4.2.24): the MERGE's own call reaches the function's source again, for package-local and schema-qualified calls and a call before its function's unit, without taking another call's lineage or another schema's function of the name.
GSP Java version 4.2.24(2026-11-11)¶
- 2026-11-11 Oracle data lineage of a
TABLE(f())call: each call of a table function is a relation of its own. In metadata grouped by schema, two schemas' packages of one name, each read asTABLE(PKG.F()), read one relation, so each schema's source reached the other schema's target. A pipelined function that pipes the rows of another function's call now reaches that call's source. - 2026-11-11 Oracle data lineage of two packages of one name in two schemas: a package is found by its place, its name with the session's schema and database, so a specification and its body share one package while another schema's package of the name keeps its own routines and variables. A PL/SQL call
PKG.P(v)names the enclosing package first, then a package of the caller's schema. - 2026-11-11 Oracle data lineage of a two-part package call
PKG.F(...)in metadata grouped by database and schema: the call resolves to the member of the session schema's package, binds its argument to the parameter and reads the function's RETURN expression. - 2026-11-11 Data lineage of a call whose routine is not found: it no longer reads the result of another routine registered under the same name; a qualified call reads only the results of the place it names.
- 2026-11-11 Snowflake: an unlabeled
REPEAT ... UNTIL ... END REPEATstatement starts atREPEAT; its start token was null (Mantis 5075). - 2026-11-11 Oracle data lineage of pipelined table functions (Mantis 5145, 5146): a schema-qualified call such as
REPORTING.TICKET_API.PIPE_TICKETS(...)finds its routine in its database, and aTABLE(f())call analyzed before the function's definition, later in the script or in a later file, keeps its lineage, column by column and forSELECT *. - 2026-11-10 Data lineage reads a derived table's, CTE's or subquery's column, and a name a derived result set holds only through a star, where TSQLResolver2 binds it, not at the first column or star whose name matches.
- 2026-11-10 PostgreSQL, DuckDB and Snowflake: a base table's column alias list (
FROM s q(x, y)) renames its columns in order for TSQLResolver2 and data lineage; with DDLq.xwas NOT_FOUND and the lineage published nothing. - 2026-11-10 SQL-LR v2 lineage: a column of a VALUES list in FROM, and a name passed through a plain star, follow TSQLResolver2's binding.
- 2026-11-10 DuckDB:
PERCENTILE_CONTandPERCENTILE_DISCkeep their FILTER clause and the ORDER BY of WITHIN GROUP. - 2026-11-09 DuckDB: an INTERVAL keeps its whole amount expression, as in
INTERVAL (b + 1e3) DAY. - 2026-11-09 DuckDB: predicates group as DuckDB groups them (
txt LIKE 'a%' AND b > 2,IS DISTINCT FROM,ESCAPE,BETWEEN). - 2026-11-09 DuckDB: what follows a call, a cast or a struct literal stays in the parse tree, so
list_value(b)[c]readsc.
GSP Java version 4.2.23(2026-11-09)¶
- 2026-11-09 BigQuery data lineage of STRUCT and ARRAY columns in BigQuery's own field paths (Mantis 5113, 4987). Since 4.2.14 the lineage gave the element of an array a column of its own, so
CREATE TABLE out AS SELECT cl FROM p.d.t, UNNEST(cities) clreadp.d.t.cities[*]and listedcities[*]besidecities, and a whole STRUCT copied into a STRUCT column gave one whole-column edge where 4.2.13 gave its fields. Now an element is its array (out.cl <- p.d.t.cities), a field of an element is written as INFORMATION_SCHEMA.COLUMN_FIELD_PATHS writes it (items.name, neveritems[*].name), and a STRUCT, or an ARRAY of STRUCT, written into a column whose declared type lists its fields gives one edge per field, the fields paired by their position as BigQuery converts a STRUCT:INSERT INTO tgt SELECT info FROM srcgivestgt.info.name <- src.info.nameandtgt.info.age <- src.info.age, also through CTEs, stars andUNNEST, for INSERT with and without a column list, CREATE TABLE ... AS SELECT with a declared schema, UPDATE and MERGE. A value a function, CAST, IF or an expression computes, and a source whose fields are not known, keep the whole-column edge, as do SELECT, views and a CREATE TABLE ... AS SELECT whose schema the query gives. Other vendors are unchanged. - 2026-11-09 Data lineage of a ranking window function (Mantis 5120).
ROW_NUMBER,RANK,DENSE_RANK,PERCENT_RANK,CUME_DISTandNTILE(with Db2'sROWNUMBERandDENSERANK, ClickHouse'sdenseRankandpercentRank, DuckDB'srank_dense) read no column of their own: their window's PARTITION BY and ORDER BY keys were record dependencies only, so a column computed by one had no source, and the simple output dropped it. The keys are now the function's value sources (fdd), each keeping the clause it is written in (selectListfor PARTITION BY,orderbyfor ORDER BY): inUPDATE employees e SET e.salary_rank = (SELECT rank_num FROM (SELECT employee_id, ROW_NUMBER() OVER (PARTITION BY dept_id ORDER BY salary DESC) AS rank_num FROM employees) ranked WHERE ranked.employee_id = e.employee_id),employees.salary_rank <- employees.dept_id, employees.salary. An aggregate or a value function over a window keeps its argument as its source and its keys as record dependencies. - 2026-11-09 DuckDB TSQLResolver2 names a qualified call and the calls DuckDB's grammar writes another way as DuckDB 1.4.4 does, and
TResultColumn.getOutputName()returns that name:main.abs(b)with the schema as written,main.count(*)asmain.count_star(),main.ifnull(b, c)asCOALESCE(b, c),TRIM,SUBSTRING,EXTRACT,POSITIONandAT TIME ZONEas the functions the transformer calls (EXTRACT(year FROM dt)asmain.date_part('year', dt)), a list, a struct, a map and ROW as their constructors ([1, 2]asmain.list_value(1, 2)),ARRAY[1, 2]as(ARRAY[1, 2]), LIKE and ILIKE with ESCAPE, SIMILAR TO, GLOB and IS TRUE / FALSE / UNKNOWN as rewritten (txt SIMILAR TO 'a'asregexp_full_match(txt, 'a')), named arguments and the SQL value functions (localtime,USER) as written; a form DuckDB rejects has no name. - 2026-11-09 DuckDB TSQLResolver2 names a number written with an exponent, a bare decimal point or digit separators, and an INTERVAL with a unit, as DuckDB 1.4.4 writes them:
1e3as1000.0,1e-5as1e-05,.5as.5and5.as5, digit separators removed (1_000as1000), andINTERVAL 1 DAYasto_days(CAST(trunc(CAST(1 AS DOUBLE)) AS INTEGER)). - 2026-11-09 DuckDB parse of a colon before a name, numbers and
^@, as DuckDB 1.4.4 reads them. A colon right after an operand, or at the start of a subscript, reads the name past it,arr[:b],arr[1:b],{txt:b},MAP {txt:b},{date:b},arr[NULL:b], which lexed the colon and the name as one bind variable (arr[1:b],{txt:b},MAP {txt:b},{date:b}andarr[NULL:b]did not parse;arr[:b]lostb); a client tool's placeholder elsewhere,WHERE c = :p,THEN :a, stays one bind variable. A number ends where its digits do, so1__000,0x1Fand1.5fare1,0and1.5with the aliases__000,x1Fandf;^@(starts_with) is one operator, named(txt ^@ 'a'); and a parameter is named by its number,($1 + b).
GSP Java version 4.2.22(2026-11-09)¶
- 2026-11-09 SQL Server and Azure SQL parse a column, an alias or a table alias named
ConnectorStartagain (Mantis 5123).SELECT a, CASE WHEN b <> -1 THEN 1 ELSE 0 END AS Connect FROM tandSELECT a, Start = 1 FROM twere syntax errors since 4.2.6, when Exasol's hierarchical query (CONNECT BY ... START WITH) was added to the grammar Exasol shares with SQL Server; the clause now applies to Exasol only, whereConnectandStartare names again too, and aCREATE SEQUENCE ... START WITHbeside a hierarchical query still parses. - 2026-11-09 DuckDB TSQLResolver2 names a select item without an alias by the text DuckDB 1.4.4 writes it as, and
TResultColumn.getOutputName()returns that name:b + 1is(b + 1),CAST(b AS INT)isCAST(b AS INTEGER),count(*)iscount_star(),ROW_NUMBER() OVER ()isrow_number() OVER (), and a subscript (arr[1]), a FILTER, an aggregate's ORDER BY and WITHIN GROUP (asquantile_cont,quantile_discor"mode") are written as DuckDB writes them; a form it does not model stays unnamed. A read of such a name binds its item, also through a set operation, a star over one and a CTE:s."(b + 1)"ofINSERT INTO x(p) SELECT s."(b + 1)" FROM (SELECT b + 1 FROM t) swasNOT_FOUNDand now readst.b, whiles.arrover(SELECT arr[1] FROM t) s, which bound the subscripted item under its column's name, is nowNOT_FOUND. WithCREATE TABLE t(m INT, k INT),CREATE TABLE s(a) AS SELECT m, m + 1 FROM tnow declares the columnsaand(m + 1)in the metadata, whereswas left open pasta. - 2026-11-08 Redshift and Vertica TSQLResolver2 names a select item without an alias as the result headers in the vendors' documentation show it (AWS's Database Developer Guide, Vertica 11.0.x's SQL reference), and
TResultColumn.getOutputName()returns that name: Redshift names a column or a SUPER path by its last attribute, a function by its name except the ones it renames (dateaddisdate_add,extractisdate_part,nvliscoalesce,sysdateistimestamp), a cast by its operand or its type, and a constant,+,-and||?column?; Vertica names a function as written,EXTRACTdate_part, and a constant, an operator or a cast of a constant?column?; a form no example shows has no name. A read of such a name binds its item: Redshiftq.coalesceofINSERT INTO x(p) SELECT q.coalesce FROM (SELECT nvl(b, 0) FROM t) qwasNOT_FOUNDand now readst.b, whileq.nvlstaysNOT_FOUND, and a Vertica transform function over a window, such asMAPITEMS(a) OVER(), leaves the places after it in a set operation unknown, as a Spark SQL generator does. For every vendor, a view or aCREATE TABLE ... ASwhose query has an output the library has no name for now registers no column, where it registered the named ones as a list that read as complete. - 2026-11-08 Spark SQL TSQLResolver2 names a select item without an alias as Spark 3.5.3 and 4.0.1 both write it, and
TResultColumn.getOutputName()returns that name: an operator in parentheses (b * 2is(b * 2)), a function as Spark spells it with the arguments it adds (round(b)isround(b, 0),count(*)iscount(1)), a cast of a column as the column and a literal by its value;b + 1is(b + 1)only where the script declaresba number, anddate_add(b, 1)where it declaresba DATE. A read of such a name binds its item, also through a set operation, a star over one and a CTE:s.`(b * 2)`ofINSERT INTO x(p) SELECT s.`(b * 2)` FROM (SELECT b * 2 FROM t) swasNOT_FOUNDand now readst.b. In Spark SQL and Databricks, a table generator without an alias (explode,posexplode,inline,stack,json_tuple) leaves the places after it unknown, in a derived table and a set operation, where it shifted them:INSERT INTO x(p) SELECT q.b FROM (SELECT posexplode(arr), b FROM t UNION ALL SELECT 0, c, e FROM u) qreadst.bandu.e, where it readu.c. - 2026-11-08 Hive TSQLResolver2 names a select item without an alias as Hive 4.0.1 does, and
TResultColumn.getOutputName()returns that name: a column by its name, a path or a field access by its field, a column under casts and conversions by the column unless an earlier item has that name, and any other item_cwith its place in the select list, a star counting as one place (SELECT c, b + 1, abs(d) FROM toutputsc,_c1and_c2); a window function and a table generator stay unnamed. A read of such a name binds its item, also through a set operation, a star over one and a CTE:s.`_c0`ofINSERT INTO TABLE x (p) SELECT s.`_c0` FROM (SELECT b + 1 FROM t) swasNOT_FOUNDand now readst.b. - 2026-11-08 ClickHouse TSQLResolver2 names a select item without an alias as ClickHouse 26.1 writes it, and
TResultColumn.getOutputName()returns that name: an operator as the function it calls (b + 1isplus(b, 1),b IS NOT NULLisisNotNull(b)),CASE WHEN ...asmultiIf(...),b::Int32asCAST(b, 'Int32'),count(*)ascount(), the calls ClickHouse's parser rewrites (ltrim(txt)istrimLeft(txt),EXTRACT(YEAR FROM dt)istoYear(dt)), and windows, numbers, strings and intervals as ClickHouse prints them; an item written twice reads as the first. A read of such a name binds its item, also through a set operation, a star over one and a CTE:s.`plus(b, 1)`ofINSERT INTO x(p) SELECT s.`plus(b, 1)` FROM (SELECT b + 1 FROM t UNION ALL SELECT c + 1 FROM u) swasNOT_FOUNDand now readst.bandu.c. An unquoted, unqualifiedtrue,false,infornan, a number the grammar reads as a name, and a date call's unit (dayinDATEADD(day, 1, dt)) no longer bind a column:INSERT INTO x(p) SELECT TRUE + b FROM treadst.balone. - 2026-11-07 TSQLResolver2 of a name read through a star over a set operation of a derived table or a CTE. The set operation had no columns there, so such a name was bound to the star at no known place; where the set operation's output names every column, the name is now the star's member at its place (
ResolutionResult.getOutputBinding()), traced to every operand, a name the set operation does not output isNOT_FOUNDand one two of its columns hold isAMBIGUOUS, as over a plain derived table: in PostgreSQLINSERT INTO x(p) SELECT s.k FROM (SELECT * FROM (SELECT k FROM t UNION ALL SELECT k FROM u) q) s,getAllFinalTables()ofs.kgivestandu, ands.mover(SELECT * FROM (SELECT b + 1 FROM t UNION ALL SELECT c + 1 FROM u) q) sisNOT_FOUND. The data lineage reads such a member at its place, or else through its one owner. - 2026-11-07 TSQLResolver2 and data lineage of a name read through several stars of unknown columns, all but one of which leave the name out by
EXCEPT,EXCLUDEorRENAME. InINSERT INTO x(p) SELECT s.m FROM (SELECT t.* EXCLUDE (m), u.* FROM t JOIN u ON t.id = u.id) s(Snowflake, DuckDB; BigQuery'st.* EXCEPT (m)), both stars were counted ands.mhad no output binding; it is now bound tou.*(ResolutionResult.getOutputBinding()), and two stars that may hold the name still bind none. The data lineage of the CTE form,WITH s AS (SELECT t.* EXCLUDE (m), u.* FROM t JOIN u ON t.id = u.id) INSERT INTO x(p) SELECT s.m FROM s, now readsu.m -> x.pand nevert.m, and a star read whole into another keeps the edge of each star it reads, where the first star's edge was drawn for both. - 2026-11-07 Data lineage with
Option.setShowJoin(true)of a join condition whose operand TSQLResolver2 reportsAMBIGUOUS. Such an operand was joined by a scan of the FROM items' column names; the join now reads the relation TSQLResolver2's evidence names for it, as a derived table that outputs the name twice, and there each column the condition's filter reads, one join for each pair, and gives no join where nothing proves the relation (two different reads of the name, two tables that may hold it). In PostgreSQLDELETE FROM x USING (SELECT *, k FROM t) s WHERE x.p = s.k,s.kstaysAMBIGUOUSbetween the star'skand the itemk, botht.k, and the join isx.p -> result_of_s-1.k.
GSP Java version 4.2.21(2026-11-07)¶
- 2026-11-07 SQL Server, Azure SQL, Sybase and SQL Anywhere TSQLResolver2 of an unqualified column in the ON condition of an UPDATE's join whose target is also written in FROM (Mantis 5129). In
UPDATE a SET p = 1 FROM a JOIN b ON k = b.k2,kmay be a column of either table, and nothing in the statement says which (SQL Server raises "Ambiguous column name" when both declare it), but since 4.2.20 TSQLResolver2 bound it tobalone,EXACT_MATCH, so the data lineage readb.kand, withOption.setShowJoin(true), joinedb.k2tob.k; with both tables declaringkit chosebtoo.kisAMBIGUOUSbetweenaandbagain, in both join orders, with a target alias or a schema, and the lineage gives it no source. A qualified name, and a name only one table's DDL has, still bind to that table. - 2026-11-07 Athena, Trino and Presto parse
AT TIME ZONEon any value (Mantis 5128). Only a TIMESTAMP literal took the operator, and its zone was folded into the constant, soSELECT call_setup_time AT TIME ZONE 'America/New_York' AS "call_setup_time_local" FROM msvcwas a syntax error near TIME and the script had no lineage. A column,current_timestamp, a CAST, a value in WHERE, a function argument, a BETWEEN bound and a chained conversion now take it, with a string or an INTERVAL zone as Trino's grammar has it, and each is anEExpressionType.at_time_zone_texpression whose operands are the value and the zone; the literal form keeps its zone that way too. The reported statement readsmsvc.call_setup_timeintocall_setup_time_local, asat_timezone(call_setup_time, 'America/New_York')does. - 2026-11-07 Data lineage of
SELECT *(Mantis 5066). The lineage gave a star the names that other statements, and the star's own conditions, read from its tables, so a star output columns its query never named. A star's columns now come only from what is declared or built: a query's output names, a table's columns from its DDL, a view, aCREATE TABLEor the metadata, and the outputs of PIVOT and UNPIVOT; a column the star's own statement names keeps its pairing with a target column (Mantis 4860). Inselect * from (select * from b union select * from c); select bColumn from b; select cColumn from c;the first statement readb.bColumnandc.cColumnthrough its union, columns only the other two statements read; it now readsb.*andc.*. In BigQueryINSERT INTO d.tgt SELECT * FROM d.src AS s WHERE s.x > 1,d.src.xgives the rows theirfdredge and is no projected column of the star. A name read through a star over several relations, none of which can hold it, is listed as an orphan column (inpseudo_table_include_orphan_column) with no relationship, and without DDL a read through a star over a USING join no longer takes the first table's column. - 2026-11-06 TSQLResolver2 of a name read through the star of a derived table or a CTE over several FROM items: which item holds the name. Where one item is proven to hold it, by its DDL or by a qualified use, and the vendor rejects a read of a repeated name, the name is that item's: in
INSERT INTO x(p) SELECT s.q FROM (SELECT * FROM t JOIN u USING (id) WHERE u.q > 0) s,s.qwas left betweentanduand is nowu's, asqread directly from the join is. A derived table or a CTE is such an item too:aa.pin(SELECT *, aa.p AS proof FROM (SELECT * FROM a) aa JOIN e ON aa.c = e.k) smakess.paa's, with final tablea. DuckDB and SQLite, which name a later column of a repeated name apart (id_1,id:1), read the first item that holds the name: DuckDB'ss.idover(SELECT * FROM a JOIN b ON a.id = b.id) swasAMBIGUOUSbetweenaandband is nowa's. A name a USING join does not merge is read from the items that may hold it, as over an ON join: witht(id, m, k)declared,TSQLResolver2.getRelationOutput(...)named no owner ofs.nover(SELECT * FROM t JOIN u USING (id)) sand now namesu, and the data lineage of a CTE over such a join now readsu.n. The SQL-LR document gains the edges of such reads. - 2026-11-05 TSQLResolver2 and the SQL-LR document of a set operation whose operands put a star of unknown width before other items, as
SELECT *, k FROM t UNION ALL SELECT *, k FROM u. A CTE over it now has the columns the derived table has: the star, then each item of the first operand past it, with every operand's item at its place. In DuckDB, which names a repeated column apart (SELECT *, k FROM thasid, m, k, k_1overt(id, m, k)),s.kwasAMBIGUOUSin a CTE, a CTE reference, an UPDATE's FROM and a MERGE's USING, and is now the first operand's star memberk. Another operand's value at that place is not known: overt(id, m, k)andu3(k, n, id)DuckDB readst.kandu3.idthere, so without DDL the SQL-LR document no longer givesu3.k -> x.pforINSERT INTO x(p) SELECT s.k FROM (SELECT *, k FROM t UNION ALL SELECT *, k FROM u3) s, and with both tables declared it givest.kandu3.id. A star in every operand is a column of the set operation also withEXCEPTorEXCLUDE:s.idoverSELECT * EXCLUDE (m) FROM t UNION ALL SELECT * EXCLUDE (n) FROM uwas bound to nothing. The data lineage of a read through such a union of modified stars no longer guesses the other operand's column of the name. - 2026-11-04 Parse, TSQLResolver2 and data lineage of a star's modifiers,
EXCEPTorEXCLUDE,REPLACEandRENAME(Mantis 5062, 5115). The ClickHouse parse dropped the pairs of* REPLACE (...), the DuckDB parse those of* REPLACE (...)and* RENAME (...), and the Databricks parse the list of a qualifiedt.* EXCEPT (m), so such a star was read as a plain one. They are kept now, inTResultColumn.getReplaceExprAsIdentifiers()andgetExceptColumnList(); the newTResultColumn.isStarRenaming()tells a RENAME from a REPLACE, andisStarModifiersModelled()is false for a modifier the parse does not hold (ClickHouse's APPLY, Snowflake's ILIKE). A REPLACE pair gives its member the pair's value: withCREATE TABLE a(p INT64, c INT64),INSERT INTO x(p) SELECT z.p FROM (SELECT * REPLACE (c AS p) FROM a) zgavea.p -> x.pand now givesa.c -> x.p, in BigQuery, Snowflake, DuckDB and ClickHouse;REPLACE (42 AS p)reads no column, and a REPLACE key is compared as an identifier, soREPLACE (c AS P)replaces the columnpin BigQuery, Snowflake and DuckDB. A Snowflake RENAME renames all its pairs at once:d.kkofSELECT d.kk FROM (SELECT * RENAME (k AS kk) FROM t) dwasNOT_FOUNDin TSQLResolver2 and the renamed-awayd.kreadt.k; the lineage publishes a renamed column under its new name only and no longer makes upt.kkfor a star without DDL. The columns of a view or aCREATE TABLE ... ASover a REPLACE or RENAME star are known, so a name the star does not output is not one of them. - 2026-11-04 TSQLResolver2 of a name read through
SELECT *over several FROM items whose columns are not known, none of them proven to hold the name (Mantis 5067).pinINSERT INTO x(p) WITH z AS (SELECT * FROM a JOIN e ON a.c = e.k) SELECT p FROM zandz.pin the derived-table form(SELECT * FROM a JOIN e ON a.c = e.k) znow agree: the name is a column of the CTE or the derived table itself (evidenceColumnSource.EVIDENCE_OPEN_STAR_COLUMN), andgetFinalTable(),getAllFinalTables()and the candidate tables name no table, where the first item could be taken. A star over one item, the owner of a USING merge and an item whose DDL has the name keep their table. - 2026-11-03 TSQLResolver2 with
TBaseType.USE_JOINEXPR_INSTEAD_OF_JOINset to false, which keeps the earlier join representation of the parse tree (Mantis 5053). No column name of a query resolved:cinSELECT c FROM a, and inSELECT c FROM a JOIN b ON a.c = b.q, wasNOT_FOUND, so the data lineage and the SQL-LR document differed from those of the default setting. A query's names now resolve as with the default setting, and the lineage is the same. - 2026-11-03 The SQL-LR document reads a column of a derived table, a CTE or a set operation at the position TSQLResolver2 binds it to (
ResolutionResult.getOutputBinding()), where it searched the relation's columns by name again and refused a column list shorter than its query outside PostgreSQL, Greenplum, EDB and GaussDB. In DuckDB,WITH s(a) AS (SELECT m, k FROM t) INSERT INTO x(p) SELECT s.a FROM sgave nothing and now givest.m -> x.p. A column list's name, a name DuckDB gives a repeated column (k_1) and a set operation's position are read where they are; a shorter list is read where the vendor allows one (PostgreSQL, Greenplum, EDB, GaussDB, DuckDB, Redshift's WITH clause), and nothing is read through one the vendor rejects. A name TSQLResolver2 does not find stays unresolved. - 2026-11-02 TSQLResolver2 of a name a derived table outputs both as an item and through a star,
(SELECT k, * FROM t) s: binding the itemktotassumesthask, so the star outputsktoo ands.kisAMBIGUOUSin every context. Inside a scalar subquery, as inUPDATE x SET p = (SELECT max(s.k) FROM (SELECT k, * FROM t) s),s.kwas the item alone,EXACT_MATCH, where the same query at top level isAMBIGUOUS; the data lineage keepst.k -> x.p. DuckDB names the star'skapart (k_1), so theres.kstays the item. A star over a VALUES table, a PIVOT or an UNPIVOT now outputs the columns that input has: its declared columns, the columns a pivot generates and the source columns it passes through. - 2026-11-02 TSQLResolver2 and data lineage of
JOIN ... USINGandNATURAL JOIN. A long chain of USING joins no longer takes minutes (Mantis 5054): a chain of 2,000 USING joins now parses in about 2 seconds, where it took more than 30 minutes, as a key is no longer copied for every table to its left. TSQLResolver2 binds each key itself: a USING key's left operand is the value the whole left side exposes, and a key binds no side it does not prove, soTTable.getLinkedColumns()lists a key under the tables it proves, each once. In Snowflakecreate table target(c1, c2, c3) as select * from test_table5 t5 left join test_table6 t6 using(c3) left join test_table7 t7 using(c5)without DDL, the mergedc5readc5of all three tables; it is the column oftest_table5or oftest_table6, which one is not known, so TSQLResolver2 reports itAMBIGUOUSand the lineage gives it no source (withOption.setLinkOrphanColumnToFirstTable(true),test_table5, with both tables as candidates), andtest_table7, the right side of a LEFT JOIN, gives it no value. A star over a USING or NATURAL join is expanded once, from TSQLResolver2's layout, each merged column read from its owners only, through any number of derived tables, also in the SQL-LR document, which refused such a star: witht(id, m, k),u(id, n, k)andy(k, id, m, id2, n)declared, PostgreSQLINSERT INTO y SELECT * FROM t JOIN u USING (k)givest.k -> y.k,t.id -> y.id,t.m -> y.m,u.id -> y.id2andu.n -> y.n, withEXCEPT,REPLACEandRENAMEapplied. New:TSQLResolver2.getJoinEvidence(...),getJoinNameEvidence(TObjectName),getUsingKeyEvidence(...)andgetRelationOutput(TSelectSqlStatement), and on the parse treeTJoinItem.getJoinEvidence(),TObjectName.getJoinNameEvidence()andTResultColumn.getStarOutput(). - 2026-11-01 TSQLResolver2 lays out the columns of a derived table, a CTE, a CTE reference and a set operation by position, for every vendor, and the data lineage reads a reference at the position TSQLResolver2 binds it to, where it searched the relation's column names. A star's columns stand in the vendor's order, a USING or NATURAL join's merged columns once, a column list names positions, DuckDB renames a repeated name after each list, and a set operation pairs its operands by position; a name two positions hold is
AMBIGUOUS. Witht(id, m, k)andu(id, n, k)declared, PostgreSQLWITH s(a) AS (SELECT t.*, u.* FROM t, u) INSERT INTO x(p) SELECT s.id FROM sreads the fourth column,u.id -> x.p, and DuckDBWITH s AS (SELECT t.k, u.k FROM t, u) INSERT INTO x(p) SELECT s.k_1 FROM sgivesu.k -> x.p, where the lineage held one column forkandk_1and read nothing or both. Past a column list the vendor rejects as shorter than its query, as SQL Server and MySQL do, no name is a column: SQL ServerINSERT INTO x(p) SELECT s.id FROM (SELECT k, * FROM t) s(a)givesx.pno source. A name that a BigQuery star over a table and anUNNESTof an element of unknown type may both hold has no source.ResolutionResult.getOutputBinding()returns the position a reference reads, andTSQLResolver2.getRelationOutput(TTable)the relation's columns. - 2026-11-01 A column name TSQLResolver2 resolves
NOT_FOUNDkeeps no table. It kept the table the parser's own linking had given it, so the data lineage read it as a column of a relation that does not have it:d.zzinSELECT d.zz FROM (SELECT a FROM t) dpointed atd. Such a name now has no table (TObjectName.getSourceTable()is null andgetResolveStatus()isTBaseType.RESOLVED_BUT_NOT_FOUND) and is an orphan of its statement, whichOption.setLinkOrphanColumnToFirstTable(true)links to the first table.TGetTableColumnlists it as missed: in a SQL Server trigger ont(p),SELECT inserted.zz FROM insertedgivesmissed.zz(3,17), where it gave a column oft, andd.zzabove, which it dropped, givesmissed.zz(1,10). A column of a derived table or a CTE whose select item reads such a name has no physical table either: with metadata that listsbTab(Quantity2)completely,getFinalTable()ofb.TimeinSELECT b.Time FROM (SELECT ID2, Time FROM bTab) bwasbTaband is now null. The data lineage loses the edges that read such names, among them self-loops on an INSERT's own target and reads of:newin a statement-level trigger; anAMBIGUOUSname keeps its candidates. - 2026-11-01 SQL Server and Azure SQL TSQLResolver2 and data lineage of
OPENXML. The parse dropped its WITH clause and nothing read the call's columns:INSERT INTO tgt(a, b) SELECT _login, x.p FROM OPENXML(@idoc, '/FilterSet') WITH (_login varchar(100) 'a', p int) xread both namesNOT_FOUNDand gave no lineage. The call is now a relation with the columns of its schema: the columnsWITH (...)declares, the columns of the tableWITH (TableName)names, as the metadata holds it where the statement runs (that table is no source), or the edge table's columns (id,parentid,nodetype,localname,prefix,namespaceuri,datatype,prev,text) without WITH; a name the schema does not have isNOT_FOUND. The full lineage output givesopenxml._login -> tgt.aandopenxml.p -> tgt.b; the simple output folds the call away, as it doesOPENJSONof a variable.TOpenXML.getColumnDefinitions()andgetTableName()return the WITH clause. - 2026-10-31 TSQLResolver2 follows
ALTER TABLE ... ADDin blocks, routines and loops, and a table created again. AfterBEGIN ALTER TABLE t ADD c INT; END,SELECT c FROM tin a later SQL Server procedure or view wasNOT_FOUND, while the data lineage has readt.csince Mantis 4883; an ALTER in a block that runs its statements in order (BEGIN ... END,BEGIN TRY, an anonymous block, also in Snowflake and BigQuery) now adds the column for the statements after it, and one in a branch, a loop, a CATCH block, an exception handler or a routine does not. In a Snowflake procedure, a PL/pgSQL function or procedure, a MySQL procedure and a BigQuery procedure withstrict_mode = false, the statements after the routine's own ALTER read the column:npinCREATE PROCEDURE p() ... BEGIN ALTER TABLE inv ADD COLUMN np INTEGER; INSERT INTO o(x) SELECT np FROM inv; ENDwasNOT_FOUNDand is nowinv's, withinv.np -> o.x. After a loop, the loop's ALTER is not applied, as the loop may not run: SnowflakeBEGIN FOR i IN 1 TO 2 DO ALTER TABLE inv ADD COLUMN np INTEGER; END FOR; INSERT INTO o(x) SELECT np FROM inv; ENDreadnpEXACT_MATCHand nowNOT_FOUND, also after a BigQueryLOOPand a loop in a PostgreSQLDOblock, and in the data lineage it is an orphan of its statement, as anyNOT_FOUNDname now is; the loop's own later statements still read it. ACREATE TABLEthat runs declares the table anew: afterDROP TABLE t, also SQL Server'sIF OBJECT_ID('t') IS NOT NULL DROP TABLE t, the newCREATE TABLE t(id INT)no longer keeps a column an earlier ALTER added, whileCREATE TABLE IF NOT EXISTSand the caller's metadata keep the table. - 2026-10-31 TSQLResolver2 resolves the columns past a column list that names fewer columns than its query, where the vendor allows one (PostgreSQL, Greenplum, EDB, GaussDB, DuckDB, and Redshift's WITH clause), and a view's star beside other items.
s.kofWITH s(a) AS (SELECT m, k FROM t) SELECT s.k FROM s,v.kofCREATE VIEW v(a) AS SELECT m, k FROM t,s.mofCREATE TABLE s(a) AS SELECT * FROM tands.kofWITH s(a) AS (SELECT m, k FROM t UNION ALL SELECT n, k FROM u)wereNOT_FOUND; each is now the query's column, as the data lineage already read it. A view without a column list whose query puts a star beside other items has the star's columns too:s.idofCREATE VIEW s AS SELECT *, m AS q FROM twasNOT_FOUND, with or withoutt's DDL. In MySQL aCREATE TABLE ... SELECTwith column definitions has the defined columns the query does not give, then the query's columns. DuckDB names a repeated column of a view apart (k,k_1,k_1_1). - 2026-10-31 SQLite TSQLResolver2 and data lineage of a table's rowid, read as
rowid,oidor_rowid_. WithCREATE TABLE t(id integer),select rowid from twasNOT_FOUNDand the lineage fed the target from a result column with no source;INSERT INTO x(p, q, r) SELECT rowid, t.oid, _rowid_ FROM tnow givest.rowid -> x.p,t.oid -> x.qandt._rowid_ -> x.r. A table declaredWITHOUT ROWIDhas none, a declared column of the name is that column, a view or a derived table outputs no rowid, and the name over two rowid tables isAMBIGUOUS.TSQLTable.isWithoutRowid()tells a table's kind. - 2026-10-31 TSQLResolver2 names a set operation's columns by its first operand, a VALUES list too, and so does the metadata of a view or a
CREATE TABLE ... ASover a set operation.d.column1of(VALUES (1) UNION ALL SELECT n FROM u) dwasNOT_FOUNDin PostgreSQL, as MySQL'sd.column_0and DuckDB'sd.col0were; past a shorter column list the VALUES names stand, so PostgreSQL's(VALUES (1, 2) UNION ALL SELECT m, n FROM u) d(a)hascolumn2.CREATE VIEW v AS SELECT a FROM t UNION ALL SELECT b FROM uhad the columnb, the last select's, sov.awasNOT_FOUNDandv.bfound, in PostgreSQL and Oracle; the view now hasa. The data lineage is unchanged. A VALUES list of 1,600 cells under a shorter column list parses in 13 ms, where it took 72 ms. - 2026-10-31 TSQLResolver2 and data lineage of
head.field, where no relation in scope is namedhead, in Vertica, DuckDB, ClickHouse, Redshift, Doris, StarRocks, Flink and Couchbase: it reads the fieldfieldof the columnhead, as the parser's own linking did. InINSERT INTO x(p) SELECT info.name FROM sales, TSQLResolver2 answeredNOT_FOUNDand the lineage published the field as a column,sales.name; the name is now a field access ofsales.info, and the lineage givessales.info -> x.p. A column declared with a type that has no such field, anINTor a STRUCT without it, is no such head: withCREATE TABLE sales(info INT)the name isNOT_FOUNDand has no source, and two relations that may holdinfoleave itAMBIGUOUSwith no source. Teradatat.col.fieldreads the columncolwith the JSON entityfield, and nothing for a character, binary or interval column. BigQuerycustomer.address.*over metadata withoutcustomerno longer makes up a tablecustomer.address, and over a STRUCT without the field it isNOT_FOUND. - 2026-10-30 TSQLResolver2 and data lineage of a FROM item's alias, or an unaliased table's name, read as a value: the item's whole row or a column, by the vendor's rule. BigQuery and Couchbase read the item's row before a column of the name; PostgreSQL, Greenplum, EDB, GaussDB and DuckDB read a column of the name at any query level first, else the row; Oracle reads the row only under
VALUEorREF; the other vendors read a column. TSQLResolver2 answeredNOT_FOUNDfor every such name, and the lineage made up a column:INSERT INTO x (p) SELECT row_to_json(s) FROM sales sgavesales.sand now givessales.*, orsales.aandsales.bwithCREATE TABLE sales (a INT, b INT); a derived table's or a CTE's row reads its columns, soTO_JSON_STRING(d)over(SELECT a, b FROM sales) dreadssales.aandsales.b. In BigQuery a table's own name read as a value reads the table's whole row, asgameroundsandlevelinSELECT gamerounds, level FROM daily.gamerounds LEFT OUTER JOIN meta.level USING (levelkey, kingappid)readdaily.gamerounds.*andmeta.level.*, where the lineage read columns named after their own tables, andARRAY_AGGof a table's row keeps its whole-row star and no longer drops a real column named like the alias. In SQL Server,sofCREATE TABLE sales(s INT); INSERT INTO x(p) SELECT s FROM sales swasNOT_FOUNDand is now the columnsales.s. - 2026-10-29 Oracle and Informix TSQLResolver2 of
TABLE(collection_expression)in a FROM clause, a relation of the collection's elements:f.anythinginINSERT INTO o (p) SELECT f.anything FROM T1, TABLE(flatten(T1.record)) fwasNOT_FOUNDand now binds to the item, as the parser's own linking did. The operand may be a table function's call, a collection column or a subquery that returns a collection. The item's columns are the element type's where the input shows it:COLUMN_VALUEof SYS's ODCI lists, such asSYS.ODCIVARCHAR2LIST, and of a collection of a built-in type the script declares, a declared object type's attributes, an alias column list; otherwise any name may be its column, and an unqualified name beside another relation of unknown columns isAMBIGUOUS. The operand reads only the FROM items to its left. The collection column ofTABLE(d.emps), which the parse read as a table name, is now a column ofdept, and the data lineage readsdept.empsinto the collection's columns. - 2026-10-29 Data lineage of a table whose metadata lists only some of its columns, declared with
TSQLTable.addUnresolvedStar(). The lineage dropped a read of a column the list leaves out, as one the table does not have: in Oracle, withdeb_rfa_dpd_historylisting onlydpd_100,insert into o (x, y) select b.pb_id, dpd_100 from deb_rfa_product_bridge pb left join deb_rfa_dpd_history b on pb.pb_id = b.pb_idgavedeb_rfa_dpd_history.DPD_100and now also givesdeb_rfa_dpd_history.pb_id. A list without that declaration stays complete (TSQLTable.hasAllColumnsKnown()), and a table the script declares (CREATE TABLE, AS SELECT, SELECT INTO, CLONE) keeps the columns of its declaration. A partial table with a column named*stays partial throughTSQLEnv.copy()and the merge of several metadata files, soParallelDataFlowAnalyzerand the SQL-LR document no longer lose its other columns. - 2026-10-29 TSQLResolver2 and data lineage of a column a trigger reads through a row name: Oracle's
:NEW,:OLD,PARENTand their REFERENCING aliases, also in the WHEN condition and in a compound trigger; theNEWandOLDof MySQL, OceanBase (MySQL mode) and SQLite; a Db2 or Teradata REFERENCING name; HANA's:n.b; and the column of SQL Server'sUPDATE(col). TSQLResolver2 left eachNOT_FOUND; it now binds it to the trigger's table, for the rows the trigger has (OLDof an INSERT trigger is no row). Outside Oracle the data lineage placed such a column in the first table of its statement, soINSERT INTO audit(c) VALUES (NEW.c)in a MySQL trigger ontgave the self-loopaudit.c -> audit.c; such reads now come from the trigger's table, also where Teradata made up a table of the row name (afterrow,newtable), and HANA'sSELECT * FROM :mynewtabno longer expands onto columns a self-loop had made up. - 2026-10-29 Teradata TSQLResolver2 of a name qualified by a table the FROM clause does not list, which Teradata adds to the query as an implicit table.
delete_exep2.store_idinDELETE FROM foodmart.delete_exep1 AS d WHERE d.id = delete_exep2.store_idwasNOT_FOUND, as was such a name in an UPDATE, a MERGE, anINSERT ... SELECT, a set operation and the body of a derived table or a CTE; it now binds to the implicit table the parser links it to. Only a qualified name reads such a table, never an unqualified name, a star or a subquery with a FROM clause of its own, and an aliased table's own name qualifies it too (foodmart.delete_exep1.name). In the data lineageSELECT t.c FROM db1.t a, db2.t bisAMBIGUOUSand no longer readsdb1.t.c, asFROM db1.t, db2.talready did, and inSELECT a FROM u x, v y WHERE u.a = 1the unqualifiedareadsu.a, which the qualified use proves. - 2026-10-29 Db2 statement boundaries in a script that ends its statements with semicolons (Mantis 5090, 5091). A routine in Oracle PL/SQL style,
CREATE PROCEDURE p(...) ISwith declarations beforeBEGIN, or a function withRETURNandAUTHID, was cut at its first declaration's semicolon (5090); it now runs to its END, and local subprograms declared before its BEGIN stay inside it. An IF, FOR, WHILE or REPEAT written outside a routine ended at the first semicolon of its body (5091); it now runs to its END IF, END FOR, END WHILE or END REPEAT, so its statements have lineage:IF 1=1 THEN INSERT ...; ELSE INSERT ...; END IF;gives the lineage of both INSERTs. The FOR ofCURSOR FOR,HANDLER FORandFOR UPDATE, theREPEATfunction and the LOOP ofWHILE ... LOOPno longer count as constructs of their own, which made a routine swallow the statements after it, and a nestedBEGIN ... ENDno longer closes its block. An IF whose END IF is missing still ends at its first semicolon, so the statements after it survive, and now reports its syntax errors. - 2026-10-29 Db2 parses forms it rejected or read wrong (Mantis 5093 to 5096): an anonymous block with an EXCEPTION section,
BEGIN ... EXCEPTION WHEN OTHERS THEN ROLLBACK; END;, now read as Oracle's grammar reads it, without errors (5093);LISTAGG(DISTINCT c, ','), andLISTAGG(DISTINCT(c), ','), which parsedDISTINCT(c)as a function and lost the modifier, soTFunctionCall.getAggregateType()is nowdistinct(5094);LISTAGGwithout a separator,LISTAGG(c)(5095); and the predicateexpr IS [NOT] TRUEorIS [NOT] FALSE, whileTRUEandFALSEstay names elsewhere (5096). AnIF ... THEN BEGIN ... END; ELSE ... END IFin a procedure kept neither its BEGIN block nor its ELSE branch and had no lineage; both are kept. - 2026-10-29 The statements around one the parser does not recognize are parsed (Mantis 5092). An unknown statement, a procedure fragment pasted into a script (a call without CALL, an assignment, a cursor declaration), a typo such as
COMMIT:or a stray CTE head in Databricks left every statement of the script without a parse tree, so the lineage was empty, as measured on Db2, Oracle, Databricks and Trino. The unit is still reported as one syntax error with its position, andparse()still returns the error count, but the other statements now parse:INSERT INTO LAB.DEST(C) SELECT C FROM LAB.SRC; BOGUS THING; INSERT INTO LAB.DEST2(C) SELECT C FROM LAB.SRC2;gives 4 tables and 4 relationships with one error on Db2 and Oracle, where it gave none. Trino now reports such an error, which it lost. - 2026-10-29 Data lineage of a name read from a derived table, a CTE or a set operation follows TSQLResolver2's binding; the lineage's own search of the relation's column names, which took the first column of a name, is gone. A name such a relation outputs twice is
AMBIGUOUS, and the lineage reads what every alternative reads, nothing when they read different columns:WITH c AS (SELECT *, k FROM t) UPDATE x SET p = c.k FROM cgivest.k -> x.p, andWITH c AS (SELECT a AS k, b AS k FROM t) UPDATE x SET p = c.k FROM cgives no edge, where one of the two columns was taken; outside DuckDB a name two columns of such a relation share thus loses the source the lineage guessed for it. In DuckDB, TSQLResolver2 names a later column of a repeated namename_1,name_2, ..., as DuckDB 1.4.4 does, a CTE counting one number across its list: overt(id, m, k)andu(id, n, k),s.idof(SELECT t.*, u.* FROM t, u) sist.idands.id_1isu.id; the DuckDB lineage reads the same columns as before. DuckDB names now compare with only A to Z folded, quoted or not (SQLUtil.sameName):"á"and"Á"are two names,"Orders"andordersone. - 2026-10-29 TSQLResolver2 names the columns of a derived table, a CTE and a set operation by one vendor rule, for every lookup, and
TResultColumn.getOutputName()returns the name: an alias; a column, or a path's last field in BigQuery, Spark SQL, Databricks and Couchbase (s.nested.fieldisfield); each name of a Spark SQL, Databricks or Hive tuple alias,posexplode(x) AS (i, a), which takes a position per name; and PostgreSQL's name for any other expression. In PostgreSQLSELECT d.lower, d.a, d."?column?", d.case FROM (SELECT lower(b), CAST(a AS INT), a + 1, CASE WHEN a > 0 THEN 1 END FROM t) dresolves each name (1::intisint4,trim(b)isbtrim), and a BigQuery expression without an alias has no name. Over(SELECT posexplode(col1) AS (i, a), b FROM t) d(p, v, c)in Databricks,d.vis the tuple's second column andd.cthe itemb, whered.vwasbandd.cnothing. - 2026-10-29 TSQLResolver2 and data lineage of the values of a MERGE's
WHEN NOT MATCHED THEN INSERT. A value resolves among the USING relations of its clause, which cannot read the target: one relation having the name binds it, several leave itAMBIGUOUS. TSQLResolver2 linked every value to the USING item, over anAMBIGUOUSresult too, and in a script the lineage could read a value from the target. Over a USING join of tables whose columns are unknown,MERGE INTO cj_target t USING cj_source1 s1 INNER JOIN cj_source2 s2 ON sid1 = sid2 ON t.tid = sid1 WHEN NOT MATCHED THEN INSERT VALUES (sid1, delta, sval)reads each value from the join (join_expr.delta -> MERGE-INSERT-1.delta), never fromcj_targetor one guessed table, and a value bound to a derived operand of the join reads that operand's column. In an Oracle package, a routine's parameters in the VALUES list, read as columns ofDUAL, now read the parameters. A name the USING relation provably lacks stays unresolved, as since Mantis 4652, now also over a set operation or a struct path: in BigQuery... USING (SELECT col1 AS a FROM t1 UNION ALL SELECT col2 AS a FROM t2) SRC ... VALUES (a, maybe_a_column),maybe_a_columnwas linked toSRC. - 2026-10-28 Couchbase TSQLResolver2 and data lineage of a set operation whose operands return differently named fields. SQL++ combines the objects by their fields, with no BY NAME: in
SELECT d.a FROM (SELECT s.a AS a FROM src1 s UNION ALL SELECT t.b AS b FROM src2 t) AS d,d.areadssrc1'saonly, but TSQLResolver2 found nod.aand the lineage fedsrc2.bintoaby position. UNION now outputs every operand's names, INTERSECT the names both operands have and EXCEPT the left operand's, each traced to the operands that have it; RAW, ELEMENT and VALUE results pair by position as before. The lineage of Snowflake's and DuckDB'sUNION ... BY NAMEand of BigQuery'sCORRESPONDINGpairs by name too: in BigQuerySELECT a, b FROM src1 UNION ALL CORRESPONDING SELECT b, z FROM src2,src2.zno longer feeds the union'sb. The SQL-LR document places a later Couchbase operand's fields by name and reports a field only a later operand returns as not published. - 2026-10-28 TSQLResolver2 and the SQL-LR document of the columns of a data-changing CTE,
WITH d AS (DELETE FROM s RETURNING a) SELECT d.a FROM d, in PostgreSQL, Greenplum, EDB and GaussDB. TSQLResolver2 never read such a CTE's body and gave the CTE no columns, so everyd.awasNOT_FOUND. The CTE now has the columns of its RETURNING list, named by an alias, the CTE's column list or as PostgreSQL names an expression, a star standing for the columns of the relation it reads where they are all known: a DELETE's row and a column an UPDATE does not assign read the target's column, and an INSERT's or a MERGE's written value and an assigned column are the CTE's own. The body's names resolve in its own scope, an INSERT's RETURNING list reads its target, and PostgreSQL 18'soldandnewrows, and the namesRETURNING WITH (OLD AS o, NEW AS n)gives them, resolve in a RETURNING list, at top level too. GaussDB's DML target is a table, never a CTE of the WITH clause. In Greenplum the statement threw ClassCastException at the parse; it now parses as a DELETE. In the SQL-LR documentWITH d AS (DELETE FROM t RETURNING id) SELECT id FROM d, wnow givest.id -> id, anASSUMEDread (SINGLE_SOURCE_SCOPE), where it reported thatidmay be a column ofw. The data lineage is unchanged.
GSP Java version 4.2.20(2026-10-28)¶
- 2026-10-28 SQL Server data lineage of an inline table-valued function,
CREATE FUNCTION f(...) RETURNS TABLE AS RETURN (SELECT ...)(Mantis 4756). A query that reads the function read the RETURN query's result set, which the simple output folds away, so the function left no hop: two nested functions gavedbo.SourceTable -> dbo.TargetTabledirectly. A FROM item that calls the function, also inCROSS APPLY, now reads a relation named after the function, with one column per returned column, as a view or a multi-statement function gives a hop. Withdbo.GetFilteredValuesreadingdbo.GetBaseValues(), which readsdbo.SourceTable,INSERT INTO dbo.TargetTable (id, amount, category) SELECT id, amount, category FROM dbo.GetFilteredValues('Widgets', 100) fgivesdbo.SourceTable.id -> dbo.GetBaseValues.id -> dbo.GetFilteredValues.id -> dbo.TargetTable.idfor each column, and no direct edge.ParallelDataFlowAnalyzergives the same hop. A RETURN query with a star or an unnamed column, and an UPDATE, MERGE, EXEC or PIVOT that reads the function, keep the earlier lineage. - 2026-10-28 Teradata parses two forms that were syntax errors:
col IN COALESCE(a, b, c), an IN whose right operand is a function call without the list's parentheses (Mantis 5076), and a two-character comparison operator split by a newline or a tab, ascol <and> otheron two lines, which is now one operator (Mantis 5077). - 2026-10-28 Redshift parses six forms that were syntax errors (Mantis 5078 to 5083):
GROUP BY (a, b)andGROUP BY (1, 2), also before a UNION and inCREATE VIEW ... WITH NO SCHEMA BINDING(5078); string constants separated by a newline, which are one constant,TConstant.getValue()joining them ('B,'and'C'on two lines giveB,C) (5079); a column namedinterval, whileINTERVAL '1 day'stays a literal (5080); the column aliasAS from(5081);LISTAGG(...) OVER (...)without WITHIN GROUP (5082); and a quoted window function name with IGNORE NULLS or RESPECT NULLS,"last_value"(x IGNORE NULLS) OVER (...), as Redshift writes view definitions (5083). A quoted name is read as the window function only when the nulls treatment and OVER are there, so"lag"(x, 1) OVER (...), a schema's function and a user function"first_value"(1, 2)stay plain calls.LAG,LEADandNTH_VALUEwith IGNORE NULLS now keep their arguments, which the parse dropped, so the TSQLResolver2 table and column listing ofSELECT a, LAG(b) IGNORE NULLS OVER (PARTITION BY c ORDER BY d) AS e FROM fnow includesf.b. - 2026-10-28 Snowflake parses six forms that were syntax errors (Mantis 5084 to 5089): a window's
PARTITION BY (expr), other(5084);v::variant['k'], an element of the cast value, read as an array access over the cast, with any further elements (5085);CASE ... END['k'], an array access over the CASE (5086); a column namedstring(5087); a table or alias namedidentifierused as a qualifier, as inSELECT identifier.col_a FROM sch1.identifier, whileIDENTIFIER('name')stays the function (5088); and the ODBC escapes{ts '...'},{d '...'}and{t '...'}(5089). - 2026-10-28 SQL Server and Azure SQL data lineage of an xml type method (
value,query,exist,modify,nodes) called on the column of anodes()rowset.SELECT x.value('a','int') FROM t CROSS APPLY t.d.nodes('/r') n(x)gavet.x -> x.value, a column the SQL never wrote;xis now the column of thenodes()rowset, which readst.d, in TSQLResolver2 and in the lineage, also for a FROM item's[log].nodes(...). A function called as a FROM item (nodes(),STRING_SPLIT, a table function) is now its own invocation in every statement: a later statement's call of the same name read the rows of an earlier statement's call, so two independent calls shared their rows, and a second PostgreSQL MERGE readgenerate_series.*from the first MERGE's call. - 2026-10-28 DB2 and Couchbase: TSQLResolver2 resolves a column read through a DB2 nested table expression,
TABLE((SELECT ...)) x, and through a Couchbase set operation in FROM,(SELECT ... UNION SELECT ...) AS d, when every branch aliases the same columns in the same order, as SQL++ combines objects by field. Such a name wasNOT_FOUND. Oracle'sTABLE(subquery)stays a collection expression. The data lineage is unchanged, and the SQL-LR document now gives both branches of the Couchbase union. - 2026-10-28 TSQLResolver2 resolves a column of a table that the metadata lists without columns, or with a star it could not expand:
SELECT k.c FROM known kwasNOT_FOUNDand is nowEXACT_MATCH. A metadata table is closed only when its column list is complete (TSQLTable.hasAllColumnsKnown()), and then a column it lacks isNOT_FOUND; a table the metadata omits stays a table of unknown columns. The data lineage,known.c -> RS-1.c, is unchanged. - 2026-10-28 TSQLResolver2 resolves the statements of a script in which another statement has a syntax error; it did not run on such a script at all. In
SELECT t.a FROM t; SELECT FROM WHERE (; SELECT u.b FROM u;,t.aandu.bare nowEXACT_MATCH, andTSQLResolver2.getRunOutcome().getFailedStatements()names the rejected statement with the stageSYNTAXand the line and column of its first error.parse()returns the same result with the same errors, and the data lineage reports the syntax error, not a resolver error. While a statement is skipped, what one statement shows about a table is not used to resolve a name in another.EResolverType.RESOLVERandNONEare unchanged. - 2026-10-28 TSQLResolver2 binds more names of data-changing statements, triggers and packages. In a SQL Server or Sybase trigger,
insertedanddeleted, delimited or not, answer to their own names unless a CTE has the name, and each is its own statement's FROM item, linked to the trigger table: in a trigger onemp_mgr,SELECT emp_mgr.emp, inserted.mgr FROM emp_mgr, insertedreademp_mgr.empfrom two tables andinserted.mgrfrom none. AnOUTPUTclause reads its own statement's inserted and deleted rows, in both of its lists and through a CTE target, and$actionis a value, not a column. Where the vendor's UPDATE writes one table, a SET target is that table's column, so inUPDATE t SET x = x + 1 FROM u WHERE t.id = u.idthe right-handxbinds tot; in SQL Server the target is its FROM item, aliased or not. A read in an Oracle package body binds to its one source when the package specification is in the input and declares no such name. In the data lineage such a SET column no longer gets afind orphan columnhint, a trigger'sinsertedcolumn reads its own FROM item, and the package reads gain their edges. - 2026-10-28 Data lineage and TSQLResolver2 of the output columns of a derived table, a CTE and a set operation. In Redshift, Spark SQL and Databricks a select-list alias read later in the same select list is the alias: in Spark SQL
select sum(B) as A, case when xxx then A else 0 end as b from C, the CASE read a columnC.Aand now readsRS-1.A, and the Redshift column listing ofselect clicks / impressions as probability, round(100 * probability, 1) as percentage from raw_datano longer hasraw_data.probability; a column the FROM clause is shown to have outranks an alias. In TSQLResolver2 a name two output columns share is ambiguous (SELECT q.a FROM (SELECT a, b AS a FROM t) q), a set operation is named by its first select, or by every branch for SnowflakeUNION ALL BY NAME, a column list shorter than a star leaves the star's other names open, and the expressions of BigQuery* REPLACE (...)are resolved:b.tabinSELECT a.* REPLACE (COALESCE(b.tab, 'IA') AS tab) FROM a JOIN b ON a.k = b.kbinds tob. - 2026-10-28 SQL-LR of an unqualified name that TSQLResolver2 binds to the one FROM item known to have the column, over items whose columns are unknown: the document gives that item's column as an
ASSUMEDread with the basisSINGLE_SOURCE_SCOPE(a qualified use addsUSAGE_INFERRED), since in valid SQL an unknown item that also had the name would make it ambiguous.CREATE TABLE t (a INT); SELECT a FROM t, ugivest.a -> Q.a, and so doesSELECT a FROM t, u WHERE t.a > 0; with nothing declared,SELECT a FROM t, ukeeps both candidates and reportsANALYSIS_AMBIGUOUS_NAME. A derived table, a CTE or a set operation whose output has the column counts as such an item; a USING or NATURAL join that may merge the name, and ClickHouse, do not. - 2026-10-27 TSQLResolver2 binds an unqualified column name to the one FROM item the input proves has the column, and reports it
AMBIGUOUSwhen two do, whateverTBaseType.GUESS_COLUMN_STRATEGYsays. A qualified use, a read whose only possible source is the table, and the target columns of an INSERT, a MERGE or a one-table UPDATE prove a column; they are collected before any name is resolved, so the order of the references no longer decides: inSELECT x FROM a, b WHERE a.x = 1,xisa.x. A proof holds within a statement for every vendor, and across the statements of a script for Oracle, PostgreSQL, SQL Server, MySQL and BigQuery (SELECT aa.x FROM a aa; SELECT x FROM a, bbindsxtoa), never across a change of the search path or the current schema, a CREATE, DROP, ALTER or RENAME of the name, or a re-pointed synonym. A column TSQLResolver2 only guessed for one reference no longer decides the later ones. UPDATE, DELETE and MERGE report every candidate of an ambiguous name; an unqualified name in a MERGEWHEN NOT MATCHEDclause cannot read the target (inWHEN NOT MATCHED BY SOURCE, the source); a variable a PL/SQL block declares stays that variable in a MERGEVALUESlist, where it became a made-upDUAL.l_key; andSET (a, b) = ...targets are SET targets. In the BigQuery and Snowflake lineage ofMERGE INTO DetailedInventory T USING Inventory S ON T.product = S.product WHEN NOT MATCHED AND quantity < 20 THEN INSERT ..., the condition'squantityreadDetailedInventory.quantityand now readsInventory.quantity. - 2026-10-27 Couchbase TSQLResolver2 and data lineage of a derived table,
FROM (SELECT ...) AS t1(Mantis 5063).t1.countryinSELECT t1.country FROM (SELECT ... country ...) AS t1wasNOT_FOUND; it is now the derived table's column, when the derived table is a single query whose columns have names (not RAW, ELEMENT, VALUE or a star) and the statement that reads it has no LET or LETTING clause.TTable.getDerivedTableQuery()returns its query. The lineage reads the derived table's own columns for its filter and its aggregates: inSELECT t1.country, array_agg(t1.city), sum(t1.city_cnt) FROM (SELECT ...) AS t1 WHERE t1.city_cnt > 5 GROUP BY t1.country, the rows ofarray_aggandsumnow depend ont1.city_cntandt1.country. The SQL-LR document reads it as a derived table, does not expand a bareSELECT *over it, as SQL++ nests the fields under the alias, and takes a built-in aggregate written in lower case as an aggregate. - 2026-10-27 MySQL, OceanBase (MySQL mode), StarRocks and Doris parse
TRUEandFALSEas boolean literals. They parsed as column names, soSELECT TRUE AS t FROM agave the lineagea.TRUE -> RS-1.t, andWHERE TRUEa filter edge froma.TRUE. After a period both are still names, soa.TRUEanda.FALSEread the columns ofa, and a quotedTRUEis a column as before. - 2026-10-27 TSQLResolver2 and data lineage of the columns of an
XMLTABLE, a SQL ServerCONTAINSTABLE,FREETEXTTABLEorOPENROWSET, a TeradataTABLE(f(...) RETURNS (...))and a NetezzaEXTERNAL 'file' (...)(Mantis 5063). A column read through one wasNOT_FOUND, and an unqualified one bound another FROM item whose columns are unknown:SELECT a FROM t, XMLTABLE(... COLUMNS a ...) xreadt.a, in TSQLResolver2, the lineage and the SQL-LR document. Their columns now follow each vendor's documentation: an XML table'sCOLUMNS, or Oracle'sCOLUMN_VALUEwithout them; SQL Server'sKEYandRANK; anOPENROWSET's WITH list, orBulkColumnof aSINGLE_*bulk read; the RETURNS list and Netezza's column list, which are no longer reported as column references; and an alias column list renames them by position. The lineage publishesCOLUMN_VALUEand the renamed names, and an XML table without PASSING reads its XQuery expression. A subquery in a call's arguments reads the FROM items to the call's left, no longer the call's own columns. - 2026-10-27 TSQLResolver2 resolves a correlated name in a subquery of an UPDATE, a DELETE or a MERGE (Mantis 5063). Such a subquery could not read the statement's target or FROM items, so in
UPDATE t c SET c.a = (SELECT h.x FROM h WHERE c.k = h.k),c.kwasNOT_FOUND. A subquery in the SET, WHERE, MERGE ON or WHEN clauses, or in a join condition of the FROM clause, now sees the statement's tables; one inside a FROM item (a derived table, a LATERAL or APPLY body, a VALUES row, a MERGE source) does not, as the vendors resolve FROM items before the target. SQL Server'sUPDATE t ... FROM tandDELETE t FROM tcount the twotitems once for an unqualified name too, and DB2'sTABLE (fullselect)in a query is lateral. The data lineage is unchanged. - 2026-10-27 TSQLResolver2 and data lineage of the columns of a JSON table, SQL Server's
OPENJSONorJSON_TABLE(Mantis 5063). A column read through its alias wasNOT_FOUNDin TSQLResolver2, and an unqualified one bound another FROM item with unknown columns:SELECT value FROM t CROSS APPLY OPENJSON(t.j)readt.value, in TSQLResolver2, the lineage and the SQL-LR document. The columns are now the WITH or COLUMNS list, with each NESTED PATH's columns in place, or OPENJSON's defaultkey,valueandtypewithout WITH. The lineage publishes the same columns; it flattened one NESTED level and gave every JSON table without a listkey,valueandtype. The SQL-LR document reports a read through a JSON table as not modelled. A call's argument, of a JSON table or a table function, reads only the FROM items to its left, asLATERAL VIEWdoes, whereSTRING_SPLIT(value, ',')and SnowflakeFLATTEN(input => value)read their ownvaluecolumn; an argument that read the call's own output, astest_size_toin OracleSYS.ODCINUMBERLIST(25, COALESCE(test_size_to, 38)), now has no source. A JSON table whose columns the parse does not keep (MySQL and PostgreSQLJSON_TABLE, Teradata) is resolved as before. - 2026-10-26 TSQLResolver2 resolves a column name qualified by a schema or a database:
sch.t.c,db.sch.t.c, Teradatadb.t.cand SQL Serversrv.db.sch.t.c(Mantis 5063).sch.t.clooked for a relation namedschand wasNOT_FOUND, and a name with a database dropped the database and the schema unchecked, soSELECT db1.dbo.t.a FROM db2.dbo.tbounddb2.dbo.t. Such a name now binds to the table, not aliased, whose name writes every written part of the qualifier, in the innermost scope that has one; a table written with fewer parts is not bound, as the session's schema decides it, and a database-qualified name that agrees with no table isNOT_FOUND. BigQuery and the Trino family keep their own rules, and attribute and field paths are read as before. The data lineage is unchanged. - 2026-10-26 An exception in TSQLResolver2 fails only the statement it happens in (Mantis 5070). It discarded every statement's resolution and left the statuses already set on the parse tree, so a consumer read a mix of partial TSQLResolver2 results and the parser's first guesses, with no error. The failed statement is now left as if TSQLResolver2 had never run on it and the others are resolved;
TSQLResolver2.getRunOutcome().isSuccessful()is false, andgetFailedStatements()names the statement, its stage (CIRCULAR_CTEorMETADATA) and the failure. The data lineage reports it as anErrorInfoof the new typeResolverError, at the statement, or for dynamic SQL at the statement that runs it. A failure in a later stage of the run still fails the whole run. - 2026-10-26 TSQLResolver2 resolves a script with a PIVOT in an UPDATE, a DELETE or a MERGE (SQL Server) or with a chain of PIVOT clauses,
s PIVOT (...) p1 PIVOT (...) p2(Mantis 5071). Both stopped TSQLResolver2 on the whole script with NullPointerException. Each clause of a chain reads the one before it, a chained UNPIVOT too, and the names of a clause, as inMAX(x) FOR c IN (...), resolve in the PIVOT's source: they wereNOT_FOUNDin a SELECT, or bound to the UPDATE target or to another table without metadata. A CTE source keeps its column list, and a joined source gives its tables to the clause. In the data lineage an UPDATE with a PIVOT now has its SET edges, and PIVOT aliases are no longer listed as tables without columns. - 2026-10-26 SQL Server and Azure SQL: TSQLResolver2 no longer fails on a script whose later statement names a column spelled like a datepart, as
q,d,m,noryear(Mantis 5068). The check whether such a name is a date function's argument, asqinDATEADD(q, 1, d), read the first statement's tokens; from the second statement on it threw IndexOutOfBoundsException, and the whole script kept the parser's first guesses, which the lineage published. WithCREATE TABLE sales(qtysold INT); CREATE TABLE listing(qtysold INT); INSERT INTO x(p, q) SELECT qtysold, s.qtysold FROM sales s, listing;the edgelisting.qtysold -> x.pis gone:qtysoldis in both tables, so it isAMBIGUOUS, as on PostgreSQL. A leading comment no longer shifts the check, and indbo.dateadd(q), a user function named like a date function,qis a column. The lineage of these scripts now follows TSQLResolver2: a filter no longer lists a@variableas a source, and columns the first guesses could not bind gain their sources. - 2026-10-26 With
Option.setLinkOrphanColumnToFirstTable(true), the candidates of a name TSQLResolver2 found in several relations belong to the reference that was linked (Mantis 5048). They were kept on the table column every read shares, so a proven read of the same column showed them too, and a derived table or a CTE linked first got none. WithCREATE TABLE sales(qtysold INT); CREATE TABLE listing(qtysold INT); INSERT INTO x(p, q) SELECT qtysold, s.qtysold FROM sales s, listing;,x.p <- sales.qtysoldkeeps the candidates[listing, sales]andx.q <- sales.qtysoldnow has none;INSERT INTO x(p) SELECT v FROM (SELECT v FROM pay) d1, (SELECT v FROM pay2) d2now givesx.p <- pay.vthe candidates[pay, pay2].TableColumnRelationshipElement.getCandidateParents()andResultColumnRelationshipElement.getCandidateParents()return them, and an edge of the simple output carries the candidates of every path behind it;TableColumn.getCandidateParents()is deprecated and no longer set. The default option is unchanged. - 2026-10-26 Data lineage of a name read through
SELECT *over a join of tables whose columns are unknown (Mantis 5057). Without DDL such a name is a column of exactly one of the tables, and which one is not known, but the lineage gave it as a column of every joined table:INSERT INTO x(p) SELECT z.p FROM (SELECT * FROM a JOIN e ON a.c = e.k) zgavea.P, e.P -> x.p, and now givesx.pno source, as the direct readSELECT p FROM a JOIN e ON a.c = e.kdoes. A name the statement shows for one table keeps it:z.creadsa.c, which the join condition names. This replaces two earlier results without DDL: through a UNION of such stars (Mantis 4974),priorityandpdnow read no source whilefs_id, which the join condition names, still readsFS; and past a short alias list (Mantis 4873),d.zof(SELECT * FROM t, u) d(a)reads no source instead oft.Zandu.Z. A star over one table, a qualified star (a.*), a table with DDL, a set operation's star and a USING-merged name are unchanged. - 2026-10-26 TSQLResolver2 and data lineage of a DELETE whose FROM or USING list holds a parenthesized join (Mantis 5055): PostgreSQL
DELETE FROM x USING (a JOIN b ON ...), MySQLDELETE x FROM x, (a JOIN b ...)and SQL ServerDELETE x FROM x JOIN (a JOIN b ...) ON .... TSQLResolver2 registered none of the nested join's tables, so a name could bind only to the DELETE target: inDELETE FROM x USING (a JOIN b ON a.p = b.k) WHERE x.p = q,qwasx's, and the lineage ofx's rows made upx.q(Snowflake alsox.k);qis nowAMBIGUOUSwithout DDL, andb's with DDLa(c, p), b(k, q), where it wasNOT_FOUND. A FULL JOIN ... USING inside the parentheses reads both sides. The parentheses now change nothing, on PostgreSQL, Redshift, Greenplum, Snowflake, DuckDB, GaussDB, EDB and MySQL. In SQL ServerDELETE x FROM x JOIN (a JOIN b ON a.p = b.k) ON x.p = a.pwith DDL,x's rows depend ona.pandb.k, as without the parentheses, and the SQL-LR document reads the conditions of nested joins too. - 2026-10-25 Data lineage, TSQLResolver2 and SQL-LR of
SELECT *over aJOIN ... USINGor aNATURAL JOIN(Mantis 5052, 5056). The star now reads each merged column once, its value from the merge's owners: the left side for INNER and LEFT, the right side for RIGHT, both for FULL, along chains. The columns stand in the vendor's order: PostgreSQL and Oracle put the merged columns first, in the USING list's order (NATURAL: the left side's), then the left side's other columns, then the right side's; MySQL puts the coalesced columns first in the first table's order, a RIGHT JOIN's first table being its right side; DuckDB and the other vendors, Snowflake, BigQuery, Redshift, Greenplum, GaussDB, EDB, Trino and Spark SQL among them, keep the left side's columns in place. Before, a CTE, a view orCREATE TABLE ... ASover such a star read the merged column from every side and a derived table from the first, and TSQLResolver2 read a merged name through a derived table's or a CTE's star as the first table that had it. A side the merge does not read no longer gives the column a source, also under* EXCEPTand* REPLACEand with a derived table, a CTE or a set operation as a side, and a column list over the star pairs by the vendor's positions. A qualified star (a.*) keeps its own table's USING column. - 2026-10-25 Data lineage, TSQLResolver2 and SQL-LR of a column that a
JOIN ... USINGor aNATURAL JOINmerges. The merged column is one column whose value comes from the left side for INNER and LEFT, the right side for RIGHT and both sides for FULL; the lineage ofSELECT c FROM a FULL JOIN b USING (c)read onlya.c, half of the value, and now readsa.candb.c, in the select list and in filters. Along a chain the owners follow each join type: ina RIGHT JOIN b USING (c) LEFT JOIN d USING (c),cisb's, where TSQLResolver2 tooka, the first table. In TSQLResolver2 a name merged from several sides is anAMBIGUOUSresult that names them (AmbiguousColumnSource.getMergedOwners()), never one guessed table, and the SQL-LR document reads the same owners for chains and NATURAL joins, which it gave as ambiguous or as half.UPDATE ... FROMandDELETE ... USINGfollow the same rule. - 2026-10-25 Data lineage of an unqualified column name that two or more FROM items are known to have. When TSQLResolver2 found it
AMBIGUOUS, the lineage still bound it to the first FROM item with a column of that name: withsalesandlistingboth declaringqtysold,SELECT qtysold FROM sales, listing, which every engine rejects, gavesales.qtysoldas a definite source. Such a name now has no source. WithOption.setLinkOrphanColumnToFirstTable(true)it is linked to the first relation that has the column, andgetCandidateParents()lists TSQLResolver2's candidates, in filters too. A name exactly one relation is known to have is still bound, as are the columns of a USING join, a self-join and a correlated subquery. This covers procedures,UPDATE ... FROM,MERGE ... USING,CREATE TABLE ... AS, views, function and scalar subquery arguments, and the join records of theshowJoinoption. - 2026-10-24 TSQLResolver2 resolves a name of a JOIN's ON condition among the relations joined up to that condition and the outer scopes, in a query, an UPDATE and a DELETE. It used the whole FROM clause, so a name matched relations joined later: in
FROM employee JOIN manager ON emp_mgr = mgr_id JOIN mgr_cnt ON emp_mgr = mgr_id, the firstmgr_idwasAMBIGUOUSbetweenmanagerandmgr_cntand is nowmanager's; the second ON and the WHERE stayAMBIGUOUS. In the lineage, the ON condition ofFROM t, v JOIN w ON (...)no longer seest, so a name in it can readv's column. - 2026-10-24 Data lineage of a column whose qualifier names nothing in scope. The lineage ignored such a qualifier and read the column of the only table, or of a table another reference had proven:
SELECT z.qtysold FROM sales sgavesales.qtysold, ass.qtysolddoes, andINSERT INTO table1 VALUES (rec.ac_code)the self-looptable1.ac_code -> table1.ac_code. Such a name now has no source. A qualifier that names the table by another spelling (a PIVOT result), a Teradata implicit table, a trigger row (NEW,OLD, aREFERENCINGname, SQL Server and Sybaseinsertedanddeleted), and the field of a column, where the metadata declares the column or, in a dialect that reads fields, nothing shows the table lacks it, keep their reading. The old resolver reads such a name the same way. - 2026-10-24 Oracle data lineage of a trigger's row read through a
REFERENCINGalias. Only:NEWand:OLDwere known, so an alias fell through to the first table of the statement it was read in:INSERT INTO t5 VALUES (:newRow.b)in a trigger ont4gave the self-loopt5.b -> t5.b, and a trigger on a nested table gaveemployees.emp_id -> employees.employee_id, a columnemployeesdoes not have.NEW,OLD,PARENTand their aliases, written as bind variables in the body or plainly in the WHEN condition, now read the row of the ON table, so the INSERT givest4.b -> t5.b;NEWandOLDof a trigger on a nested table are no row of it and stay unlinked. A compound trigger now models its ON table and itsUPDATE OFcolumns as a simple trigger does, so:new.b := :old.ain a timing point gives lineage, where it gave none. - 2026-10-24 Data lineage with the
showJoinoption: an unqualified join operand that nothing else binds is joined only to a table the statement reads. It was joined to the first table the whole run had seen with a column of that name: afterCREATE TABLE other(k INT),INSERT INTO x(p) SELECT a.p FROM a JOIN b ON k = b.k2gave the joinother.k -> b.k2and now gives no join record. A table the statement reads keeps its join when a CREATE TABLE declares the column: SQL ServerUPDATE a SET p = b.p FROM a JOIN b ON k = b.k2, with onlyadeclaringk, keepsa.k -> b.k2. Only the join records change; the fdd and fdr relationships are unchanged. - 2026-10-24 Data lineage, TSQLResolver2 and SQL-LR of a column list on a CTE reference,
FROM c s(a, b, c), and SQL-LR of a column list over a star of unknown columns (Mantis 5037, 5043). A list on the reference names the positions of the CTE's columns, as the CTE's own list does, but the lineage gave every reference the CTE's one set of columns and TSQLResolver2 never applied the reference's list:WITH s0 AS (SELECT * FROM t) INSERT INTO x(p) SELECT s.a FROM s0 s(a, b, c)gavet.A -> x.p, a columntdoes not have, and now givest.* -> x.p, asWITH s0(a, b, c) AS (...)does;WITH s0 AS (SELECT m, k FROM t) INSERT INTO x(p) SELECT s.b FROM s0 s(a, b)gave no edge and now givest.k -> x.p. Past a shorter list, where the vendor allows one, the CTE's own names stay. Each such reference now gives the lineage of its derived-table twin,FROM (SELECT * FROM s0) s(...): in the select list, WHERE,CREATE TABLE ... AS, UPDATE, DELETE, a CTE over a UNION and two references with different lists. Over a star of unknown columns, as inINSERT INTO x(p) SELECT s.a FROM (SELECT * FROM t) s(a, b, c), the SQL-LR document gavet.a -> x.pand now gives the read as not known, with a diagnostic; the lineage givest.* -> x.p. - 2026-10-24 MySQL and OceanBase (MySQL mode) keep the rows of
VALUES ROW(...)and the column list of a derived table,(...) d(a, b)(Mantis 5013). The parse dropped both, so a VALUES table gave no lineage, and a column of the list was read as one of another table:UPDATE x JOIN (VALUES ROW(...)) d(a, b) ... SET x.p = d.agave the made-upx.a. MySQL names VALUES columnscolumn_0,column_1, ..., as MySQL 8.0 documents; OceanBase gets no default names.VALUES ... ORDER BY ... LIMITkeeps its ORDER BY and LIMIT, which PostgreSQL lost too; an ORDER BY key may name a VALUES column by the vendor's name for it (MySQLcolumn_0, PostgreSQLcolumn1); and a VALUES list that is the statement itself now gives the lineage of its cells on Databricks, Greenplum, Trino, DB2 and MySQL. - 2026-10-23 Data lineage of a VALUES list in every statement that reads one (Mantis 5016, 5018). Item j of every row now feeds the column at position j of a derived table, a CTE, a set operation, a view or table column list, an UPDATE SET target or an INSERT column list. Before,
UPDATE ... FROMa SQL Server or Snowflake VALUES table read a made-up table(values_table), and a DELETE gave its condition no source;MERGE ... USINGread the first row only, or(values_table); a column list shorter than the row threw IndexOutOfBoundsException; a VALUES branch of a set operation and a VALUES list used as a scalar subquery gave nothing, and a VALUES first select under a second set operation threw NullPointerException;CREATE VIEWandCREATE TABLE ... ASover VALUES threw NullPointerException;INSERT INTO x(p, q) (VALUES (1, (SELECT max(k) FROM u)))fedu.ktox.p; and PrestoUNNESTread a VALUES list as a tableValues-Tableand lost its inputs. A subquery in a cell gives the cell its value and no longer picks rows. GaussDB and EDB name VALUES columnscolumn1,column2, ... and DuckDBcol0,col1, ... (Mantis 5014), and where the vendor allows a shorter column list the default names stand past it, in TSQLResolver2 too:d.column2over(VALUES (1, 2)) d(a)was not found. - 2026-10-23 Data lineage of a set operation read by position; it was read through its last select's list.
UPDATE x SET p = (SELECT max(m) FROM t UNION SELECT max(n) FROM u)lostt.mon every vendor;SET (p, q) = (...)over a set operation with a star, or overSELECT * FROM t, now reads the items at each position, where indexing the set operation's columns threw IndexOutOfBoundsException; andINSERT INTO x(p) SELECT m FROM t UNION ALL VALUES (...)is now mapped. In TSQLResolver2 a CTE column list over a set operation names the first select's positions: with a VALUES last select the CTE had no columns, andWITH c(a, b) AS (SELECT * FROM t UNION ALL SELECT * FROM u)read its list as names of the star, both making upt.a. A select reading such a CTE now reads the list's column, where its second column got another position's source, or none. - 2026-10-23 Data lineage of a column list read by position in the statements that still paired it item by item (Mantis 5011, 5002, 5008). An UPDATE or DELETE through a CTE or a derived table paired the list with the query's items one by one and bound a star's names onto list columns: in SQL Server
WITH c(a, b, d, e) AS (SELECT m, *, k FROM t) UPDATE c SET a = e,eisk, not a columnt.e(5011). ACREATE VIEWorCREATE TABLE ... AScolumn list over two stars, or over one star where the list may name fewer columns than the query, as in PostgreSQL, gives each column every item that can stand at its position;CREATE TABLE ... ASover two stars had no such reading (5002). Redshift's WITH column list may name fewer columns than its query, as Redshift documents, and is no longer taken to name them all (5008); a Redshift view,CREATE TABLE ... ASand derived table keep the full-list rule. - 2026-10-23 Data lineage of a derived table, a CTE or a view read by a DELETE, an
UPDATE ... FROMor aMERGE ... USING, now the same as when a query reads it. A DELETE read no derived table or CTE in USING and no join condition ofDELETE ... FROM ... JOIN, and its source rows now pick the rows it removes, as a MERGE's do;UPDATE ... FROMignored a derived table's alias list;MERGE ... USINGpaired an alias list only when it was as long as the query, andMERGE ... USINGa set operation now gains its sources. A query lost a CTE column past a list shorter than its query (Mantis 4997), and threw NullPointerException past one over a star. A column list over a star gives each column the items that can stand at its position, a star possibly standing for no column: a CTE no longer binds a star's names onto a list column (a made-upt.d), and a derived table no longer putskofSELECT *, kat the second name. A name past a shorter list keeps its name in the select list and in a WHERE or ON clause, where a renamed position made upt.Aand the other selects of a UNION were dropped. In TSQLResolver2 a column list over the star of a UNION or a CTE now renames the star's positions, as a derived table's list does since Mantis 4843; it inferred the list's names into the star's tables, publishing columns liket.bthat no table has.
GSP Java version 4.2.19(2026-10-23)¶
- 2026-10-23 TSQLResolver2 resolves the column references in the rows of a VALUES query (Mantis 5019). It never resolved a name in a VALUES row, and it dropped what the first phase had linked, so in
UPDATE x SET p = (WITH c AS (SELECT * FROM t) VALUES ((SELECT max(m) FROM c)))the lineage readt.Mand the SQL-LR document had no VALUE fact; it now givest.m -> x.p. A CTE defined by VALUES has its columns in TSQLResolver2: the names of its column list and, past a shorter list, the vendor's default names, soainWITH c(a) AS (VALUES ((SELECT m FROM t))) SELECT a FROM cresolves to the CTE. A VALUES row in a LATERAL or APPLY item is resolved as before. - 2026-10-23 PostgreSQL, Greenplum, GaussDB, EDB and DuckDB keep the CTE list of a query written as
WITH ... VALUES ...(Mantis 5017). The parse dropped it, so a VALUES row read the CTE as a table:UPDATE x SET p = (WITH c(a) AS (SELECT m FROM t) VALUES ((SELECT max(a) FROM c)))gavec.a -> x.p, a column of a tablecthat does not exist, and now givest.m -> x.p, also in a derived table, in a CTE and inINSERT ... WITH ... VALUES.TSelectSqlStatement.getCteList()returns the list. A query that reads a CTE defined by VALUES now gives the lineage of its rows. The formatter no longer throws NullPointerException for a query with a CTE list and no SELECT keyword:WITH ... VALUES ... UNION VALUES ...,WITH c AS (...) TABLE c, a DuckDBPIVOTand a HiveFROM ... SELECTunder a WITH clause. - 2026-10-23 Data lineage of
UPDATE ... SET p = (VALUES (...))andSET (p, q) = (VALUES (...))(Mantis 5015). The analysis stopped with NullPointerException and the statement had no lineage. Each value of the row now feeds its column, as the rows of a VALUES derived table do:UPDATE x SET (p, q) = (VALUES ((SELECT max(m) FROM t), (SELECT max(n) FROM u)))givest.m -> x.pandu.n -> x.q. - 2026-10-23 Data lineage of
UPDATE ... FROMa CTE defined by VALUES (Mantis 5010). The analysis stopped with NullPointerException, with or without a column list, and the other tables of the UPDATE lost their lineage too. The rows feed the CTE's columns by position:WITH c(a, b) AS (VALUES ((SELECT max(m) FROM t), 2)) UPDATE x SET p = c.a FROM cgivest.m -> x.p. - 2026-10-23 Data lineage of
UPDATE ... FROMa CTE with a column list (Mantis 5003). The UPDATE paired the listed columns with the items of the CTE's query one by one. A list shorter than the query, which PostgreSQL, Greenplum, EDB, GaussDB and DuckDB allow, stopped the analysis with IndexOutOfBoundsException, and a star of unknown width gave a column the wrong item or none: withWITH c(a, b) AS (SELECT * FROM t),c.bhad no source. Each listed column now reads the items that can stand at its position, as a query reading the same CTE does:WITH c(a) AS (SELECT *, k FROM t UNION ALL SELECT *, k FROM u) UPDATE x SET p = c.a FROM cgivesx.p <- t.*, t.k, u.*, u.k. - 2026-10-22 PostgreSQL and DuckDB data lineage of the columns past a short alias list of a derived table (Mantis 4873). The list
d(a)may name fewer columns than the query, the others keeping their names, but those columns had no lineage. Witht3 (c1, c2, c3)declared,SELECT d.a, d.c3 FROM (SELECT * FROM t3) d(a)now readst3.c3; without DDL,INSERT INTO x (p, q) SELECT d.a, d.c FROM (SELECT * FROM t) d(a)givest.c -> x.q, also through a derived table over a UNION. - 2026-10-22 Data lineage of a UNION whose branch has a star of unknown width (Mantis 4914): the branches are paired by position. In
INSERT INTO out (x, y, payload) SELECT s.*, t.p FROM src s, other t UNION ALL SELECT u.x, u.y, u.p FROM fallback u,out.xandout.yreadsrc.*andfallback.x/fallback.y, andout.payloadreadsother.pandfallback.ponly. The same holds for the column list of a view, a CTE, a derived table,CREATE TABLE ... ASandINSERT ALLover such a UNION. In PostgreSQL, Greenplum, EDB, GaussDB and DuckDB, where such a list may name fewer columns than the query, the list is not taken to be as wide as the query:WITH c(a) AS (SELECT *, k FROM t UNION ALL SELECT *, k FROM u) INSERT INTO x (p) SELECT a FROM cgivesx.p <- t.*, t.k, u.*, u.k; the same holds for the two-star lists below. - 2026-10-22 Data lineage of a CREATE VIEW column list over two or more stars of unknown width (Mantis 4915). It was split by position;
CREATE VIEW v (a, b, c, d) AS SELECT s.*, t.* FROM src s, other tnow gives every column ofvthe sourcessrc.*andother.*, asINSERT INTO out (a, b, c, d) SELECT s.*, t.* ...does. One star keeps its proven pairing, and a constraint in an Oracle view column list takes no position. - 2026-10-22 Data lineage of a CTE column list over a select list with two or more stars of unknown width (Mantis 4916).
CREATE VIEW v AS WITH w (a, b, c) AS (SELECT s.*, t.* FROM src s, other t) SELECT a, c FROM wfailed with IndexOutOfBoundsException. As the boundary between the stars is unknown, each CTE column now reads every star that can stand at its position, as an INSERT column list does:v.aandv.creadsrc.*andother.*. - 2026-10-22 Data lineage of
SELECT *over a join of a declared table and a table without DDL in a UNION branch (Mantis 4975). The declared table's columns now keep their place in the join, as in a plain select, so a CTE column list over such a UNION reads the right sources: a column of the table without DDL reads its*, a declared column its own column. A USING or NATURAL join,* REPLACE, a derived table in the join, and a declared table between two tables without DDL keep the earlier result. - 2026-10-22 Data lineage of
INSERT INTO t2 (c1, c2) SELECT * FROM tmpafterSELECT * INTO tmp FROM t1witht1declared (Mantis 4876). Only the first column was paired;tmpnow keeps the column order oft1, so the INSERT pairs by position andinsert into TABLE_2 (COL_1, COL_2_RENAMED) select * from TMP2givesTMP2.COL_2 -> TABLE_2.COL_2_RENAMED. Measured on Greenplum, PostgreSQL and SQL Server. - 2026-10-22 Data lineage of
SELECT *over a table whose column order is unknown, at the positions of a target (Mantis 4860, following 4856). An INSERT without a column list, an INSERT over a UNION, the column lists ofCREATE TABLE ... AS,CREATE VIEWand a CTE, and the INTO clauses ofINSERT ALLnow read such a star whole (T9.*) instead of the column named like the target;DataflowRemoveHelperandRemoveDataflowFunctiondo the same. A column the statement itself names keeps its pairing. For a table that two procedures make withSELECT ... INTO(a, bandc, d),INSERT INTO X(p, q) SELECT * FROM TgivesX.p <- T.a, T.candX.q <- T.b, T.d. - 2026-10-22 PostgreSQL data lineage of
EXECUTE format('... %s ...', ...)(Mantis 4880). The table a%sstands for is still namedPLACEHOLDER, and is now marked as a dynamic SQL template,table.getEndpointKind()returningDYNAMIC_TEMPLATE, as the T-SQL table ofEXEC('INSERT INTO ' + @t ...)is. APLACEHOLDERwritten literally stays a plain table, and%%sis no hole. - 2026-10-22 Data lineage of a procedure after
ALTER TABLE t ADD c(Mantis 4883). The procedure missed the added column; it is now analyzed after the ALTER, soCREATE PROCEDURE p AS INSERT INTO o SELECT c FROM tgivest.c -> o.candSELECT *givest.id -> o.idandt.c -> o.c. The same holds for a view, for a procedure that calls it (EXEC,INSERT ... EXEC, CALL), for Oracle and PostgreSQL procedures, and for an ALTER inside aBEGIN ... ENDblock; a statement before the ALTER still sees the table without the column. - 2026-10-22 Impala data lineage of
payload.old_field, a field of the STRUCT columnpayload(Mantis 4917). It was read as the columnold_fieldof a tablepayload; it is now the field, as in Hive, with or without DDL and through a table alias:events.payload.old_field -> v.a. - 2026-10-22 MySQL
LOAD DATA INFILEgives lineage (Mantis 4963): the file is a path node, as for SQL ServerBULK INSERTand RedshiftCOPY.LOAD DATA INFILE '/data/x.csv' INTO TABLE t (col_a, col_b)gives'/data/x.csv' -> t.col_a, t.col_b, and without a column list'/data/x.csv' -> t.*. A user variable in the column list is no column; aSETcolumn that reads a variable or a column of the list is loaded from the file. - 2026-10-22 Teradata, Oracle and Snowflake data lineage of the subquery of a time-travel read (Mantis 4920). The subquery of Teradata
TRANSACTIONTIME AS OF (SELECT c.cert_ts FROM cert c ...), OracleAS OF TIMESTAMP (SELECT ...)and SnowflakeAT(TIMESTAMP => (SELECT ...))now reaches lineage as a WHERE subquery does:cert.cert_tsfeeds the rows read from the table, and the subquery's own filter is kept. A constant point in time is unchanged. - 2026-10-22 Teradata system functions called with their library prefix are the built-ins (Mantis 4921):
TD_SYSFNLIB.XMLAGG(...)andTD_SYSFNLIB.COUNT(*)are aggregates with the edges ofXMLAGG(...)andCOUNT(*), the row edge included. Any other qualifier (myschema.sum) is still a user function. - 2026-10-21 Teradata and Oracle data lineage of
NEW type(...)and of a method called on a parenthesized value (Mantis 4919).NEW JSON(t.e, LATIN),NEW JSON(t.e, LATIN).JSONEXTRACTVALUE('$.a'),(t.j).JSONEXTRACTVALUE(...)and OracleXMLTYPE(t.c).getStringVal()now read their source columns:t.e -> v.x.LATIN,UNICODE,BSONandUBJSONafter the JSON value are no longer reported as columns. - 2026-10-21 Data lineage of an interval-qualified value (Mantis 4918). Teradata
(t.a - t.b) SECOND(4)(alsoSECOND(4,6)andDAY(4) TO SECOND), MySQLDATE_ADD(t.d, INTERVAL t.n DAY)and BigQueryINTERVAL t.n DAYnow read the columns of the value, as inCREATE VIEW v AS SELECT (t.a - t.b) SECOND(4) AS x FROM t, which givest.a, t.b -> v.x. The MySQL grammar keeps the interval value, and BigQueryINTERVAL (SELECT 1) DAYno longer fails. Literal intervals are unchanged.
GSP Java version 4.2.18(2026-10-21)¶
- 2026-10-21 Data lineage of
MERGE ... WHEN MATCHED THEN UPDATE SET (col) = (...)andSET (a, b) = (...)(Mantis 4986). The MERGE update analysis took only a plain column target, so these assignments were dropped without an error and the columns they write had no lineage. A parenthesized column is now the column. A column list pairs by position: with a subquery's select list, as inSET (rate, other) = (SELECT c.taxrate, c.begindate FROM taxrate2 c WHERE c.k = s.pk_taxcode), which givestaxrate2.taxrate -> delivery.rateandtaxrate2.begindate -> delivery.otherand keeps the subquery's condition; and with a value list,(x, y),ROW(x, y)or(ROW(x, y)). Each form gives the lineage ofSET a = x, b = y. This covers PostgreSQL, DuckDB, Redshift, GaussDB, Snowflake and DB2. A subquery with a*or with another number of items cannot be paired by position, so such an assignment, like any other target the analysis cannot handle, is now reported indataflow.getErrors(). - 2026-10-21 Oracle data lineage of
UPDATE t SET (t.col) = (SELECT ...), a single target column in parentheses (Mantis 4984). The assignment was dropped without an error:UPDATE dw.delivery t SET (t.rate) = (SELECT NVL(c.taxrate, 0) FROM ods.taxrate c WHERE t.taxcode = c.pk_taxcode)gavedw.deliverywith no columns and no relationship. It now gives whatSET t.rate = (...)gives,ods.taxrate.taxrate -> dw.delivery.ratewith the subquery's conditions, also when the target is an updatable inline view,UPDATE (SELECT ...) v SET (v.rate) = (...), which failed with "cannot be mapped to a CTE projection". An UPDATE SET target that the analysis cannot handle is now reported indataflow.getErrors()instead of being dropped without a trace. - 2026-10-21 Oracle parses
ALTER SESSION DISABLE PARALLEL { DML | DDL | QUERY }andALTER SESSION FORCE PARALLEL { DML | DDL | QUERY } [ PARALLEL n ](Mantis 4983). OnlyENABLE PARALLELparsed, soparse()returned 2 atdisableorforce, and everyEXECUTE IMMEDIATE 'alter session disable parallel dml'in a procedure was a syntax error in the data lineage output, which parses the text of dynamic SQL. As in Oracle, the degreePARALLEL nfollowsFORCEonly.
GSP Java version 4.2.17(2026-10-20)¶
- 2026-10-20 Data lineage of
SELECT *over a join of a table whose columns are known (a table the script creates, a derived table that lists its columns) and one whose columns are not, as a query, a view, a CTAS, anINSERT ... SELECTor aSELECT ... INTO(Mantis 4981). With the unknown table first, as inCREATE VIEW v AS SELECT * FROM fs JOIN run ON ...with onlyrun (entity, pd)created, the unknown table had no lineage at all:vread onlyrun.entityandrun.pd, and a PrestoUNNESTof such a derived table gave no relationship. With the unknown table last, its*also read the known table's columns. Both orders now give whatSELECT fs.*, run.*gives:fs.* -> v.*andrun.entity -> v.entity,run.pd -> v.pd. A CTE column list over such a star,WITH c(fs_id, priority, entity, pd) AS (SELECT * FROM fs JOIN run ON ...), now givespriorityits sourcefs.*. - 2026-10-20 Data lineage of a column a query reads from a
UNION(or another set operation) ofSELECT *branches, when the branches do not name that column (Mantis 4974). The column took every column the star reads as its source; when every branch isSELECT *of the same tables, it now reads the column of that name, as from a plain subquery. InSELECT priority FROM (SELECT * FROM FS JOIN RUN ON ... UNION SELECT * FROM FS JOIN RUN ON ...) uwithRUN (ENTITY, PD)declared,priorityreadRUN.ENTITYandRUN.PD; it now readsFS.PRIORITY. - 2026-10-20 Data lineage of
SELECT *over a join, as a branch of aUNIONor another set operation, when the joined tables' columns are known (aSELECT ... INTO #t, or a table the script creates) (Mantis 4970). The branch took the columns of one of the tables only, so a query reading theUNIONby column name got another column by position: inSELECT fs_id FROM (SELECT * FROM #FS fs JOIN #RUN r ON ... UNION SELECT * FROM #FS fs JOIN #RUN r ON ...) u,fs_idread#RUN.ENTITYand no#FScolumn reached the result. It now reads#FS.FS_ID. SAP ASE, SAP IQ and SQL Anywhere#tables gave the wrong lineage from 4.2.13; SQL Server#tables and created tables in every database gave it in earlier versions too. - 2026-10-20 SQL Server and Azure SQL parse the WITH clause after
OPENROWSET(BULK ...)that Azure Synapse serverless SQL pools use to give a file its columns (Mantis 4923):SELECT TOP 5 col_a, col_b FROM OPENROWSET(BULK 'sample.parquet', DATA_SOURCE = 'DS_sample', FORMAT = 'PARQUET') WITH (col_a varchar(100), col_b int) AS src, also in a CREATE VIEW, returned 3 fromparse()with a syntax error at WITH. A column can haveCOLLATE, a JSON path or a column ordinal, as inWITH (country_code varchar(5) COLLATE Latin1_General_100_BIN2_UTF8, population bigint 4). The columns areTTable.getOpenRowSet().getColumnDefinitions(), withTColumnDefinition.getCollationName()andgetColumnPath(). The OLE DB provider form of OPENROWSET takes no WITH clause, as before. Not there yet: OPENROWSET gives no source node in lineage, with or without the WITH clause. - 2026-10-20 Teradata parses
TD_SYSFNLIB.TRYCAST(x) RETURNS INTEGER, the form Teradata writes into stored view text forTD_SYSFNLIB.TRYCAST(x AS INTEGER)(Mantis 4912). It returned 2 fromparse()with a syntax error; it now parses asTRYCAST(x) RETURNS INTEGERdoes,TFunctionCall.getTypename()returns the type, andCREATE VIEW v AS SELECT TD_SYSFNLIB.TRYCAST(t.x) RETURNS DECIMAL(13,0) AS c1 FROM tgivesv.c1 <- t.x, as the AS form does. A RETURNS clause after any other function call still needs the parentheses that Teradata requires,(MYUDF(x) RETURNS INTEGER). - 2026-10-19 PostgreSQL parses
PREPARE name [(data_type, ...)] AS statementintoTPrepareStmt(Mantis 4868). It was aTUnknownSqlStatement, so the prepared statement was not in the parse tree and gave no lineage.getStmtName(),getDatatypeList()andgetPreparableStmt()return the name, the parameter types and the statement (SELECT, INSERT, UPDATE, DELETE, MERGE or VALUES, with or without WITH), whose resolution and lineage are those of the same statement without PREPARE. - 2026-10-18 PostgreSQL, Greenplum and GaussDB parse PL/pgSQL
RETURN QUERY EXECUTEwith a command text built from an expression (||,format(...)) and aUSINGlist. Only a single string constant was accepted, and anything else failed the whole CREATE FUNCTION.TReturnStmt.getUsingVariables()returns the USING values. - 2026-10-18 PostgreSQL data lineage of a data-modifying statement in WITH that no query reads: PostgreSQL runs it all the same, but
WITH x AS (INSERT INTO t SELECT a FROM s) SELECT 1gave no lineage; it now givess.a -> t.a. PostgreSQL 17MERGEis parsed as a CTE body (TCTE.getMergeStmt()) and analyzed, and a MERGE keeps itsRETURNINGclause, which was parsed and dropped. - 2026-10-18 Parsing, data lineage and formatting no longer depend on the default locale of the JVM. In a Turkish locale
"insert".toUpperCase()isİNSERTwith a dotted capital I, so keyword lookups, builtin names such ascurrent_timestampand names folded for comparison missed, and the same SQL gave other results than on an English machine. Every case fold in the library, the parsers and lexers included, now usesLocale.ROOT. - 2026-10-18 The SQL-LR producer covers more of what the data lineage analysis records: set operations,
INSERT ... VALUES, the rowsRETURNINGandOUTPUTreturn from INSERT, UPDATE and DELETE, routine returns andSELECT ... INTO, PIVOT, lateral and table function calls, the routine a call can resolve to (a candidate set when several fit), the parameters of dynamic SQL, every PostgreSQL data-modifying CTE in the WITH of a SELECT, INSERT, UPDATE, DELETE or MERGE, and PL/pgSQLRETURN NEXTandRETURN QUERY EXECUTEof a literal text. Two runs give the same bytes in any JVM locale. - 2026-10-13 Supported Java versions are Java 8, 17 and 21. The parser JAR is Java 8 bytecode, so the same JAR runs on all three, and the full test suite now also runs every night on Java 17 and Java 21, compiled for each.
- 2026-10-13 The evaluation of dynamic SQL no longer depends on the default locale of the JVM. On a JVM running in a Turkish locale,
UPPER('select i from s')gaveSELECT İ FROM Swith a dotted capital I, so the rebuilt statement named a column that does not exist, and SQL keywords and variable names were compared in that locale too; case is now changed with the rules of no particular language, as on any other JVM. - 2026-10-12 GSP writes lineage documents in the SQL-LR format (draft 0.1).
SqllrProducer.produce(inputs, config)analyzes a list ofSqllrInputunits (SqllrInput.named,contentAddressedorlocal) under aProducerConfigfromProducerConfig.builder(EDbVendor);ProducerResult.getDocument()returns the L1 document andgetExplainedDocument()the L2 document with its ExplainGraph. A document lists the columns each value and each row comes from, with the SQL position of every read and how each name was bound (declared in the input, by a catalog, or inferred from its use). It covers SELECT, INSERT, UPDATE, DELETE, MERGE, CREATE TABLE and CREATE VIEW AS,SELECT *over declared columns, synonyms, temporary tables and table variables with their lifetimes, the statements of routine bodies, and dynamic SQL: each text the analysis parsed is a unit of its own, proven only when the site runs one string literal. A construct the document does not model lowers the completeness of its statement, with a diagnostic saying what was left out, instead of being dropped without notice. Two runs on the same input write the same bytes, on Java 8 and Java 21 and whatever the default locale or file encoding of the JVM. An unqualified column in a subquery belongs to the subquery's own table when that is its only table, as SQL resolves the innermost query first: inSELECT * FROM t1 WHERE column1 = ANY (SELECT column1 FROM t2)the innercolumn1readst2.column1, and without a declaration oft2its binding says that it rests on this assumption. A column read both through a name that can only mean it and through a name that could also mean a column of another table (SELECT column1 + t1.column1 AS x FROM t1, t2) keeps both reads, the second with the candidates of the ambiguous name. - 2026-10-12 The SQL-LR library in
gudusoft.gsqlparser.lineage.v2reads, checks, merges and compares SQL-LR documents.Document.parse(bytes)reads one with a strict JSON reader,LineageValidator.standard(SourceTextProvider.NONE).validate(bytes)checks its schema, references, identifiers and semantics,new LineageMerger(producer, createdAt).merge(documents)merges documents, andLineageComparator.compare(before, after)lists what changed between two.
GSP Java version 4.2.16(2026-10-12)¶
- 2026-10-11 Oracle, PostgreSQL and MySQL names follow the rules of the real servers (checked on Oracle 23.26, PostgreSQL 16.15 and MySQL 8.4.10). Oracle keeps
ßwhen it upper-cases an unquoted name:CREATE TABLE straßecreatesSTRAßE, soSELECT x FROM STRASSEreads another table, as Oracle's ORA-00942 shows. WithCREATE TABLE straße(x int); CREATE TABLE t(x int); INSERT INTO t SELECT x FROM STRASSE, lineage readstraße.xand now readsSTRASSE.x, a table the script does not create. PostgreSQL lower-cases onlyAtoZin an unquoted name and cuts names to 63 bytes: afterCREATE TABLE "Äbc"(x int),INSERT INTO t SELECT x FROM ÄBCnow reads"Äbc".x, where it read a separate tableÄBC, and Greek or Georgian capitals stay as written. MySQL compares table names by the simple lower-case mapping, column and index names the same way, and function, procedure and parameter names by the simple upper-case mapping: withlower_case_table_names=1,`İ`andiare one table,ςandσare two columns, andİandiare one column; index and parameter names ignore case whateverlower_case_table_namesis.IdentifierRules.CaseFoldhas three new values,UPPER_SIMPLE,LOWER_SIMPLEandLOWER_ASCII, andIdentifierRulestwo new fields,collapse(IdentifierRules.CaseCollapse) andmaxUtf8Bytes, set by a new six-argument constructor; the rules areIdentifierRules.forOracleNative(),forPostgreSQLNative(),forMySQLNative(int),forMySQLNativeColumn()andforMySQLNativeRoutine(). Greenplum, GaussDB, EDB, OceanBase, Doris, StarRocks, Dameng and the other dialects derived from these three keep their earlier rules. - 2026-10-11 SQL Server accent-insensitive collations make
caféandcafeone name. GSP compares with a table of accent equivalences measured on SQL Server 2022 forLatin1_General_CI_AI,Latin1_General_CS_AI,SQL_Latin1_General_CP1_CI_AI,Latin1_General_100_CI_AIandLatin1_General_100_CS_AI, with their_SCand_SC_UTF8variants; it treated_CS_AIas exact and did not equateøwitho,łwithl,đwithdorıwithiunder_CI_AI. Other_AIcollations are compared as before.IdentifierService.isCaseSensitive(ESQLDataObjectType)is new, and it,NameService.isCaseSensitiveandVendorNameMatcher.isCaseSensitivenow returntruefor_CS,_BINand_BIN2collations. - 2026-10-11 TSQLResolver2 looks names up with the
IdentifierProfilegiven toTGSqlParser.setIdentifierProfile, where some lookups used the vendor's default rules. WithLatin1_General_CI_AI,SELECT d.cafe FROM (SELECT 1 AS [café]) dresolves to[café](it wasNOT_FOUND); with MySQLlower_case_table_names=0,WITH c AS (SELECT 1 AS y), C AS (SELECT 2 AS y) SELECT y FROM CreadsC. - 2026-10-11
IdentifierService.keyForMapreturns keys that are equal exactly whenareEqualis true, for every vendor. The key is not a name: for SQL Server it is an encoded collation key, and a MySQL column key is lower case. Before, one SQL Server or MySQL column name could give two different keys. - 2026-10-11
IdentifierService.persistentKeyV1gives new policy IDs for Oracle, PostgreSQL and MySQL, because their rules changed (Oracle tablespk1-ry85qY4x...becamepk1-Yo5P1xXR...). A key saved by an earlier release for these three databases does not match a key of this release; make the keys again from the names. Keys of the other databases are unchanged. - 2026-10-10 SQL Server dynamic SQL whose table names come from a configuration table in the procedure gives lineage (Mantis 4962). A
#temptable or table variable that the procedure fills with literalINSERT ... VALUESrows is queried as SQL Server would query it:SELECT @target = raw_table FROM #registry WHERE pipeline_type = @pipeline_typereads the matching rows, with=,<>,<,>,<=,>=,IN,LIKE,IS [NOT] NULL,AND,OR,NOT,TOPandORDER BY. AfterINSERT INTO #registry VALUES ('Pipeline_TypeX', 'dbo.BIZ_RAW_X'), ('Pipeline_TypeY', 'dbo.BIZ_RAW_Y'), a procedure that runsSET @sql = 'BULK INSERT ' + @target + ' FROM ''' + @file + ''''andEXEC sp_executesql @sql, called asEXEC dbo.ingest 'E:\in\orders_x.csv', 'Pipeline_TypeX', now givesdbo.BIZ_RAW_X.* <- 'E:\in\orders_x.csv'and nothing fordbo.BIZ_RAW_Y; its dynamic SQL site was UNRESOLVED ("argument is a runtime variable") and gave no lineage. When every call of the procedure in the analysis is bound, only the bound statements are published; otherwise the statements for every row are published as well. Parameter values come, in this order, fromDataFlowAnalyzer.resolveDynamicSqlLineage(...), presets inTSQLEnv, a literalEXECin the same script and a literalEXECin another file of the analysis; a caller's variable or parameter, and calls nested up to four deep, are followed. Dynamic SQL insideBEGIN TRY ... END CATCHis evaluated, where the whole body was skipped andresolveDynamicSqlLineagereturned no sites;DynamicSqlSite.isExecutionCertain()is false for a statement in a CATCH block or behind a condition or loop the analysis cannot decide. A query the evaluator does not model (a JOIN, an aggregate, a subquery, an unknown function), more than 8 values for one variable (DynamicLineageOptions.maxValueSetSize) or more than 1024 rows (maxConstRelationRows, which was 64) leaves the site UNRESOLVED with the reason instead of guessing. String comparisons ignore case and trailing blanks, as SQL Server's default collation does;Option.setDynamicSqlCaseSensitiveCompare(true)makes them case-sensitive. The query evaluator is public ingudusoft.gsqlparser.compiler:TLiteralRelationQuery.evaluate(...)runs a SELECT over the rows of anISqlRowSource, with values asTSqlValue. Not there yet: in a procedure without callers, a BULK INSERT built withSET @sql = ...gives no path node, while theSELECT @sql = ...form gives one. - 2026-10-10 SQL Server
BULK INSERTgives lineage from its file to its table (Mantis 4962):BULK INSERT dbo.BIZ_RAW_X FROM 'E:\in\orders_x.csv' WITH (FIRSTROW = 2)gives the path node'E:\in\orders_x.csv'anddbo.BIZ_RAW_X.* <- 'E:\in\orders_x.csv', as RedshiftCOPYdoes, where it gave nothing. The edge goes to the whole table, never to columns by position. A file name that comes from a procedure parameter with no known value gives a template path node,'@file', whosetable.getEndpointKind()isDYNAMIC_TEMPLATE. ForWITH (DATA_SOURCE = 'src')the XML output gives the path node adataSourceName, and itsuristarts with the LOCATION of aCREATE EXTERNAL DATA SOURCE srcin the script. The parser keeps the WITH options:TMssqlBulkInsert.getOptions(),getOption(String)andgetOptionValue(String)return them asTMssqlBulkInsertOptionnodes, withgetName()andgetValue(). - 2026-10-10 A procedure's parameters can be preset for dynamic SQL lineage (Mantis 4962).
TSQLEnv.setProcedureParameterValue("dbo.ingest", "@pipeline_type", "Pipeline_TypeX"), orprocedures[].parameterBindingsin a metadata JSON file (for each entry a parameter name and a string, a number or null), gives a procedure analyzed without its callers the values its dynamic SQL is built from;getProcedureParameterValue(procedure, parameter)andgetProcedureParameterPresets(procedure)read them back asTSQLRoutine.PresetValue. A procedure name without a database or schema is in the default catalog and schema, so preset a procedure defined underUSE XwithXin its name. An explicit binding ofresolveDynamicSqlLineagereplaces the presets, and the presets come before the calls found in the analysis. - 2026-10-10 The evaluation of SQL Server dynamic SQL strings follows T-SQL in three more places (Mantis 4962).
SET @sql += ' WHERE x = 1'appends to@sql; it was read asSET @sql = ' WHERE x = 1', so the statement lost its start. ASELECT @v = col FROM t WHERE ...that finds no row leaves@vunchanged, andSET @v = (SELECT col FROM t WHERE ...)sets it to NULL, so a site whose value comes only from a query that finds no row is UNRESOLVED and its reason says the query returned zero rows, where every row of a table variable was published because WHERE was ignored. A value read into a variable is converted to the variable's declared type.
GSP Java version 4.2.15(2026-10-10)¶
- 2026-10-09 Teradata parses eleven forms that Vantage accepts and that returned 2 from
parse()with a syntax error (Mantis 4945-4947, 4952-4958, 4961): LEAD, LAG, SCRIPT and COLUMNS as names (LEFT JOIN (SELECT k FROM t2) LEAD ON t1.k = LEAD.k,SUM(lag) OVER (...),FROM Script SCR,SELECT Columns AS col_b), whileLEAD(x) OVER (...),LAG(x) OVER (...)and the SCRIPT table operator keep their meaning;trunc(date); the type attribute100.0(DOUBLE PRECISION); a column namedperiodfollowed by(NAMED a, CHAR(17)); more than one name after an array index in a JSON path,col."result"[0]."x"."y"; a derived table's column list,(SELECT DISTINCT k FROM t2) c (k); an alias that starts with$after AS,AS $col_b(every other$nameis still read as a placeholder variable, as before); and a CREATE TABLE AS column list that mixes attributed and bare names,(col_a CASESPECIFIC, col_b NOT NULL, col_c, col_d) - 2026-10-09 SQL Server parses the two-argument
LTRIM(string, characters)andRTRIM(string, characters)(Mantis 4948), whose two argumentsTFunctionCall.getArgs()returns; a statement that ends in a--comment starting with a digit and has no newline after it,... ON a.k = b.k--1 note(Mantis 4951), which gave no statement and an empty error message (a line that holds only blanks and--followed by a digit is now always a comment, as SQL Server reads it, whatever the length of the lines before it); andrenameas a table or derived-table alias,FROM (SELECT col_a FROM tab1) rename(Mantis 4959). RENAME stays a keyword before OBJECT, DATABASE, COLUMN and CONSTRAINT, soRENAME OBJECT t TO t2parses as before - 2026-10-09 Oracle parses
WITH FUNCTIONin front of the query of a CREATE VIEW (Mantis 4949), which failed with "Error when tokenize" at the first;of the function, and a function declaration section with variables and constants; an expression as the third argument ofTRANSLATE,TRANSLATE(col_a, 'x', (SELECT max(c1) FROM tab2) || ' ')(Mantis 4950), whose columns are now lineage sources and whose literal is no longer listed as a column (the third argument is now an ordinary expression, so a literal there issimple_constant_t, where it wassimple_source_token_t); and an expression as the XQuery string ofXMLTABLE,xmltable(('"' || replace(str, '//', '","') || '"'))(Mantis 4960).TXmlTableParameter.getXQueryExpression()returns the string in every form;getXQueryString()still returns the literal or bind variable and returns null for any other expression - 2026-10-08 Teradata parses the forms it writes into stored view text (Mantis 4899-4905, 4907-4909); each returned 2 from
parse()with a syntax error: a temporal qualifier after a table name,FROM t CURRENT TRANSACTIONTIMEandFROM t TRANSACTIONTIME AS OF (SELECT ...) s(and the VALIDTIME forms), kept asTTable.getFlashback();TD_SYSFNLIB.XMLAGG,TD_SYSFNLIB.XMLSERIALIZEandTD_SYSFNLIB.XMLTABLE;XMLTABLE(... PASSING BY VALUE ...);LAG(x RESPECT NULLS, 1, NULL)andLEAD(x IGNORE NULLS, 1, NULL); the interval qualifierSECOND(4,6); a table operator without USING,SYSLIB.GetColumns ( ON DBC.COLUMNSV ) AS G; the RETURNS clause of a function call,(f(x) RETURNS INTEGER),(f(x) RETURNS STYLE t.c)andTRYCAST(x) RETURNS INTEGER, whose typeTFunctionCall.getTypename()returns; and a method call on a parenthesized value,(NEW JSON(x, LATIN)).JSONEXTRACTVALUE('$.a'). A function call followed by RETURNS without the enclosing parentheses is still a syntax error, as Teradata requires them. Not there yet: the source columns of an interval-qualified expression and ofNEW JSON(...), the table read in an AS OF subquery, and the aggregate edge ofTD_SYSFNLIB.XMLAGG(Mantis 4918-4921). - 2026-10-08 Teradata parses
PERIOD(a, b)right after an opening bracket,SELECT (PERIOD(T.B, T.E)) AS PandSELECT (PERIOD(DATE(T.B), DATE(T.E))) AS P(Mantis 4906); the bracket was read as the start of a cast shorthand such asx (PERIOD(DATE)), which still works, and lineage givesP <- T.B, T.E. - 2026-10-08
TCreateTableSqlStatement.isIfNotExists()returns true forCREATE TABLE IF NOT EXISTSin every dialect whose grammar accepts it. It was true only in Hive, Impala, Oracle and Dameng, and false in BigQuery, Spark SQL, Databricks, Athena, Presto, Trino, MySQL, PostgreSQL, Snowflake, Redshift and the other dialects that parse the clause. Lineage reads the flag, so in these dialects too aCREATE TABLE IF NOT EXISTSof a table declared earlier in the script declares no fields of its own.toScript()and the formatter output are unchanged. - 2026-10-08 Databricks reads every column alias of a LATERAL VIEW, as Spark SQL and Hive do. In
LATERAL VIEW posexplode(items) lv AS pos, item,TLateralView.getColumnAliasList()returned[pos]anditembecame a second table of the FROM clause, soCREATE VIEW v AS SELECT pos, item.name AS name FROM events LATERAL VIEW posexplode(items) lv AS pos, itemstopped with a NullPointerException; the aliases are now[pos, item], and the view giveslv.item <- events.itemsandv.name <- lv.item.lv AS x, other_table o, which parsed as a comma join, is now a syntax error, as in Spark SQL and Hive. - 2026-10-08 A field of a constructed STRUCT that reads a field under another name gets its edge in the simple output. Trino
CAST(ROW(payload.address.city, payload.phone) AS ROW(town VARCHAR, tel VARCHAR)) AS contactgave no edge for its fields; it now givesv.contact.town <- events.payload.address.cityandv.contact.tel <- events.payload.phone, and a renamed field of a Hive, Spark SQL or Databricksnamed_structgets its edge in the same way. The simple output keeps every source that anfddpath of the full output reaches and no longer drops a STRUCT source whose last name part differs from the target's;DataflowRemoveHelperandRemoveDataflowFunctionfold the same way. - 2026-10-08 A STRUCT select item behind a star of a table without DDL counts as one item, whatever its number of fields. With
CREATE TABLE contacts (order_id INT64, note STRING, contact STRUCT<name STRING, city STRING>), BigQueryINSERT INTO contacts (order_id, note, contact) SELECT o.*, STRUCT(c.name AS name, c.city AS city) FROM recent_orders o, customers cgavecontacts.note <- customers.nameandcontacts.contact <- customers.city; it now givescontacts.note <- recent_orders.*,contacts.contact.name <- customers.nameandcontacts.contact.city <- customers.city, and so do the column list of a view, a CREATE TABLE and a CTE, and an INSERT without a column list. A CTE column list over one star with an item after it,CREATE VIEW v AS WITH c (x, y, z) AS (SELECT s.*, t.p FROM src s, other t) SELECT x, y, z FROM c, stopped the analysis with an IndexOutOfBoundsException; it now givesv.x <- src.*,v.y <- src.*andv.z <- other.p. - 2026-10-07
TABLE t, the SQL-standard shorthand forSELECT * FROM t, is analyzed asSELECT * FROM tin PostgreSQL, DuckDB, GaussDB, EDB, Greenplum, SQLite, MySQL, OceanBase, Spark SQL, Databricks, Athena, Presto, Trino and Snowflake. The parser built an empty select for it, so the table was missing fromgetTables(), TSQLResolver2 and lineage:CREATE TABLE t2 AS TABLE t1gave no lineage in PostgreSQL and Snowflake and stopped the analysis of the statement with a NullPointerException in Athena, Presto and Trino; it now givest2.a <- t1.aandt2.b <- t1.b, asCREATE TABLE t2 AS SELECT * FROM t1does. The same holds forINSERT INTO t2 TABLE t1, a UNION, EXCEPT or IN branchTABLE t3,WITH c AS (TABLE t1)and a statementTABLE t1 [ORDER BY ...] [LIMIT ...], which Athena, Presto, Trino, Databricks, Snowflake, Greenplum and SQLite now accept.toString()still printsTABLE t, andtoScript()writes it back asTABLE [ONLY] t; a relation writtenONLY tnow keepsONLYintoScript()(SELECT * FROM ONLY srcgaveselect * from src). API changes: forCREATE TABLE dst AS TABLE src,getTables()of the CREATE TABLE statement is[dst]andsrcis a table ofgetSubQuery(), as for theAS SELECTform, andgetAsTable()returns that table (null before on Athena, Presto, Databricks, Snowflake, MySQL, OceanBase and Spark SQL);TPostgresqlTableStmtkeeps its statement typesstPostgresqlTableand now extendsTSelectSqlStatement;TFromTable.isOnlyKeyword()andTTable.isOnlyKeyword()are true forONLY tin the PostgreSQL family and Databricks. - 2026-10-07 Databricks parses a CREATE TABLE AS SELECT written without
ASorUSING(Mantis 4894):CREATE TABLE my_schema.t2 SELECT * FROM my_schema.t1andCREATE OR REPLACE TABLE ...returned 2 fromparse()with a syntax error at SELECT and gave no lineage; they now parse as theASform does,TCreateTableSqlStatement.getSubQuery()returns the query, and lineage gives the same edges,my_schema.t2.* <- my_schema.t1.*.CREATE TABLE t2 (values INT)and other first columns named like a keyword stay column definitions. - 2026-10-07 Databricks parses
DESCRIBE TABLE [EXTENDED] t AS JSON(Mantis 4895), which dbt-databricks issues; it returned 2 fromparse()with a syntax error at AS. The statement is aTDescribeStmtandTDescribeStmt.isAsJson()returns true. - 2026-10-07 Databricks splits
DECLARE [OR REPLACE] [VARIABLE] name [type] [DEFAULT expr]into a statement of its own, typedESqlStatementType.sstmysqldeclare, as Spark SQL does (Mantis 4896).DECLARE VARIABLE my_var STRING DEFAULT 'x'; SELECT my_var;returned 1 fromparse()with a tokenizer error, and the lineage of every other statement of such a script was lost:DECLARE ...; INSERT INTO s.t2 SELECT a FROM s.t1;now givess.t2.a <- s.t1.a. - 2026-10-07 SQL Server parses an XML method called on the result of another,
T.c.query('.').value('.', 'varchar(10)')(Mantis 4897), in SELECT, INSERT, SELECT INTO, UPDATE, DELETE, MERGE, WHERE and function arguments; it returned 1 fromparse()with a syntax error at the second dot.INSERT INTO dbo.target (v) SELECT T.c.query('.').value('.', 'varchar(10)') FROM dbo.src s CROSS APPLY s.xml_col.nodes('/Root/item') T(c)now givesdbo.target.v <- dbo.src.xml_col, the edge the single methodT.c.value(...)gives, and TSQLResolver2 sees the column under the chain. - 2026-10-07 MySQL parses a CREATE TABLE whose query is in parentheses right after the table name (Mantis 4898):
CREATE TABLE t2 ( SELECT * FROM t1 ORDER BY c ASC )returned 2 fromparse()with a syntax error at*; it now parses asCREATE TABLE t2 AS SELECT ...does, with the ORDER BY kept ingetSubQuery(), and gives the same lineage.IF NOT EXISTS,TEMPORARY, a parenthesized UNION,WITH,VALUESandTABLE t1queries parse too; column lists, constraints and columns named like a keyword are unchanged. - 2026-10-07 Spark SQL parses a field of an array element,
items[0].name, and a subscript that is any expression,items[i].nameoritems[i + 1].name, as Hive and Databricks do (Mantis 4885).SELECT items[0].name AS n FROM eventsreturned 2 fromparse()with a syntax error at the dot; it now parses, the expression is a field access (EExpressionType.field_access_t) over the subscript, and lineage givesRS-1.n <- events.items[*].name, the edges Hive gives for the same SQL. - 2026-10-07 A STRUCT that a select item builds keeps its fields wherever the item goes (Mantis 4878, 4891, 4892, 4893). With
CREATE TABLE out (payload STRUCT<a STRING, b STRING>, z STRING), BigQueryINSERT INTO out (payload, z) SELECT STRUCT(s.x AS a, s.y AS b) AS payload, s.w FROM src sgaveout.payload <- src.xandout.z <- src.y, the fields counted as two positions; it now givesout.payload.a <- src.x,out.payload.b <- src.yandout.z <- src.w, and so do a view's column list (TrinoCREATE VIEW w (contact, z) AS SELECT CAST(ROW(s.x, s.y) AS ROW(a VARCHAR, b VARCHAR)), s.w ...), a CREATE TABLE column list and a CTE column list; an item without an alias feeds the fields too, beside its whole column. HiveCREATE TABLE out AS WITH q AS (SELECT named_struct('a', s.x, 'b', s.y) AS payload FROM src s) SELECT payload FROM qgaveout.payload <- src.x, src.y; it now givesout.payload.a <- src.xandout.payload.b <- src.y, through a CTE, a derived table (Spark SQLFROM (SELECT named_struct(...) AS payload FROM src s) q) or a UNION branch, while a branch that builds no STRUCT feeds the whole column. A field read through a derived table,q.payload.a, reads only its field. A STRUCT inside a STRUCT publishes its leaves,named_struct('a', named_struct('b', s.x))givesout.payload.a.b <- src.x, and a typed BigQuerySTRUCT<a STRING>(s.x)names its fielda, by its type, where it took the name of the value columnx. Behind a star of a table without DDL,INSERT INTO out (x, y, payload) SELECT s.*, STRUCT(s.z AS a) FROM src sgivesout.payload.a <- src.z: the last item fills the last column whatever the width of the star. Hivestruct(s.x, s.y) AS stnames its fieldscol1andcol2; Spark SQL and Databricks name a field that reads a column after it,st.xandst.y. A BigQuery view ofSTRUCT(customer.name AS name, order_id AS id) AS buyernow lists the columnbuyerabovebuyer.nameandbuyer.id, as Trino does. The elements of an array constructor feed the column: PostgreSQLSELECT ARRAY[t.a, t.b] AS arr FROM tgivesRS-1.arr <- t.a, t.b, where it gave nothing. A declared STRUCT column projected whole,SELECT customer AS c FROM orders_raw, stays one edge. - 2026-10-07 A Hive, Spark SQL or Databricks LATERAL VIEW is one relation of its SELECT (Mantis 4887, 4888, 4889, 4890). The WHERE clause of a query with a LATERAL VIEW now gives its row lineage,
RS-1.RelationRows <- lv.item, and a CASE over a field of the element reads that field,v.n <- events.items[*].name. The function's argument is read from the relation TSQLResolver2 resolves among those to the view's left: inFROM src, host LATERAL VIEW explode(src.items) lv AS itemit readssrc.itemsand neverhost.items, an input of a CTE or derived table to the left is read, and one that names a relation to the right reads nothing. A LATERAL VIEW over a field of an earlier one,explode(item.subs), readsevents.items[*].subs. A view without a table alias (Spark SQL, Databricks) and a view after a JOIN resolve their column aliases, every INSERT of a Hive multi-insert reads the view of the shared FROM clause, and the relation of a view never publishes the name of a table: one aliased like a table of the script is numbered,tmp1-1. - 2026-10-07 The fields of a nested column follow the CREATE TABLE in force at each statement (Mantis 4861, 4862, 4884). After an Athena
DROP TABLE eventsand a secondCREATE EXTERNAL TABLE events (payload STRUCT<new_field:STRING>) LOCATION 's3://b/new/', a read ofpayload.new_fieldgivesRS-1.new_value <- events.payload.new_field, and a field only the dropped table declared is no field any more; aCREATE TABLE IF NOT EXISTSof an existing table declares nothing. An Athena array's element node is fed by its LOCATION:events.tags[*] <- 's3://b/e/'.tags[*]. Impala builds the same tree as Hive,table events: items, items[*], items[*].name, where it published the fields as columns. A subscript reads the array's element in every dialect that models nested columns: BigQuerytags[OFFSET(0)], Hive, Spark SQL, Databricks, Athena, Presto and Trinotags[1]givev.t <- events.tags[*], where several gavev.t <- events.tags; a subscript of a declared MAP reads its value node, and one of a declared STRUCT or JSON column reads the column. - 2026-10-07
DlineageUtil.modelsStructTree(EDbVendor),DlineageUtil.modelsStructTree(),NameResolver.isTrinoFamily(EDbVendor)andNameResolver.readsFieldChains(EDbVendor)are deprecated. They keep returning what they returned; the vendor rules for nested columns now live in one public class,gudusoft.gsqlparser.nodes.structured.NestedAccessProfile, andNestedAccessProfile.forVendor(vendor)withbuildsDeclaredTree(),isTrinoFamily()andreadsFieldChains()replaces them. - 2026-10-06 dlineage reports the positions of what it analyzes inside SQL Server dynamic SQL (
EXEC (@sql),EXEC ('...'),sp_executesql) in the procedure, not in the string (Mantis 4851). For a procedure whose line 4 isSET @SQL1 = 'and whose lines 5-7 continue the string withINSERT INTO dbo.tgt (a) SELECT COALESCE(s.x, s.y) FROM dbo.src s, the source columns.xhad the coordinate[3,17], line 3 of the string, and now has[6,17]; so did tables, columns and the statement itself. A string built in severalSETs keeps the literal each part was read from,''counts as two characters of the source, and a part that comes from a variable takes the place where it is spliced in, after the closing quote of the literal before it. A string assembled out of source order, and dynamic SQL inside dynamic SQL, take the position of their EXEC. EXECUTE IMMEDIATE and theEXECUTEof other dialects keep the positions of the string, and so do the syntax errors reported inside a dynamic string. - 2026-10-05 Hive, Spark SQL and Databricks
named_struct('a', x, 'b', y) AS payloadgives each field its own lineage, as BigQuerySTRUCT(x AS a, y AS b)does (Mantis 4847).CREATE TABLE out AS SELECT named_struct('a', s.x, 'b', s.y) AS payload FROM src sgaveout.payload <- src.x, src.y, and a laterSELECT payload.a FROM outread a field node that nothing fed; it now givesout.payload.a <- src.xandout.payload.b <- src.y, and the read givesv.a <- out.payload.a; a view gets the same fields. A CREATE TABLE AS SELECT of a Trino, Athena or PrestoCAST(ROW(s.x, s.y) AS ROW(a VARCHAR, b VARCHAR)) AS contactmade the columnsaandbof the table; it now makes the field nodesout.contact.aandout.contact.b, as a view does (Mantis 4834). Anamed_structwith a name that is not a non-empty string literal, qualified by a database, inside another function or in a filter is analyzed as before; one without an alias, or paired by position with a column list (INSERT INTO t (a, b) SELECT ...,CREATE VIEW v (a, b) AS ...), is covered by the 2026-10-07 entry on STRUCT select items. - 2026-10-05 A field of the element that a Hive, Spark SQL or Databricks LATERAL VIEW explodes is read from the array's element (Mantis 4845). After
CREATE TABLE events (id INT, items ARRAY<STRUCT<name:STRING>>),CREATE VIEW v AS SELECT lv.item.name AS n FROM events LATERAL VIEW explode(items) lv AS itemgavev.n <- lv.item, the whole element, and TSQLResolver2 reportedlv.item.nameasNOT_FOUND; it now givesv.n <- events.items[*].name, with and without DDL, andlv.item.nameresolves withTObjectName.getFieldPathRead()item.name. TSQLResolver2 keeps a relation for a LATERAL VIEW, whose columns are its aliases, so an unqualifieditemresolves to it (TObjectName.getSourceTable()is the view's table, of typeETableSource.lateralView) instead of to the first table of the FROM clause, which gave lineage columns such asods_adp.lofta_tinstitutionantimoneyinfo.contract_splitthat the table does not have; a name that another table also has is ambiguous. An unqualifieditem.nameover a declared table, or a LATERAL VIEW without column aliases, no longer stops the analysis of the view with a NullPointerException, and forposexplodeand other LATERAL VIEWs a field read reads the whole column,lv.item. The LATERAL VIEWs of two queries that share an alias were one table, so the lineage of each query reached the column the other exploded; a later view now gets a table of its own, numberedtmp1-1,tmp1-2, and a script without a repeated alias gives the same output as before. - 2026-10-05
DynamicLineageEdgenames each call of a function as a node of its own (Mantis 4848).DynamicSqlLineageResolvernamed an intermediate node by its display name only, so the threeCOALESCE(...)calls ofINSERT INTO dbo.tgt (k1, k2, d) SELECT COALESCE(A.k1, B.k1), COALESCE(A.k2, B.k2), COALESCE(A.d, B.d) ...run throughEXEC (@sql)were one nodeCOALESCE.COALESCE, and a consumer that followedgetSourceColumn()togetTargetColumn()through it linked every input to every output, 18 base edges where 6 are real. A display name that several nodes share is now numbered,COALESCE#1.COALESCE,COALESCE#2.COALESCEandCOALESCE#3.COALESCE, across all the dynamic statements and value variants of oneDynamicSqlLineageResolver.resolvecall, whosegetProjectedEdges()is one list, so theRS-1of a secondEXECisRS-1#2; a number that a table's name already has is skipped, and the first node with a name no other node has keeps it, such as a function called once,RS-16orINSERT-SELECT-1. - 2026-10-05 A column that
ALTER TABLE ... ADD COLUMN(ADD COLUMNS,ADD COLUMN IF NOT EXISTS) adds to a table declared earlier in the script is a column of that table, with its type, for the statements after the ALTER, in lineage and in TSQLResolver2 (Mantis 4846). The catalog kept the table asCREATE TABLEdeclared it, andDataFlowAnalyzeranalyzed every view before every ALTER: afterCREATE TABLE events (id BIGINT); ALTER TABLE events ADD COLUMNS (payload STRUCT<name:STRING>);, Hive, Spark SQL and DatabricksCREATE VIEW v AS SELECT payload.name AS n FROM eventshad no lineage andpayload.namewasNOT_FOUND; it now givesv.n <- events.payload.name, andTObjectName.getFieldPathRead()returnspayload.name. In every dialectCREATE VIEW v AS SELECT * FROM eventsafterALTER TABLE events ADD COLUMN c INTnow also givesv.c <- events.c. A statement before the ALTER still sees the table without the column: therecinSELECT c FROM events, otheris stillother.c, andSELECT * FROM eventsreads noc. The ALTER gives theTSQLEnva new version of the table,TSQLTable.newVersion(), asCREATE OR REPLACE TABLEreplaces one, and a statement before it keeps the version it found; an ALTER inside a routine, which runs when the routine is called, and a sealed table are left alone.eventsandpublic.eventsare one table here too. A stored procedure after the ALTER, and a view that such a procedure reads, still read the table as declared (Mantis 4883), and so does TSQLResolver2 for a SQL Server#temptable (Mantis 4886). - 2026-10-05 Hive
items[0].namereads the fieldnameof an element of the array columnitems(Mantis 4844). The grammar builds a field access over the subscript, and nothing below it was parsed or visited, soCREATE VIEW va AS SELECT items[0].name AS n FROM eventshad no lineage and TSQLResolver2 had no reference toitems; it now givesva.n <- events.items[*].name, with and without DDL, also fore.items[0][1].name(events.items[*][*].name),items[0].a[1].b(events.items[*].a[*].b) and(items[0]).name, andTObjectName.getFieldPathRead()returnsitems[*].name. The column records the subscripts and the field after them inTObjectName.getIndirection(), as BigQuery's grammar does (Mantis 4833). Impala, whose grammar builds the same expression, now resolves the column inside it too:items[0].namegivesva.n <- events.items[*].namewhere it gave nothing (the element node since the 2026-10-07 entry on nested fields). - 2026-10-05 An input that ends inside a double-quoted identifier is a syntax error at the opening quote, in every dialect (Mantis 4842). The lexer reached the end inside the identifier and returned no token for it, so the quote and everything after it were dropped:
SELECT 1 id";returned 0 fromparse()with no error in Athena, PostgreSQL, Oracle and almost every other dialect,SELECT 1 id"; SELECT 2;lost its second statement, and Oracle acceptedSELECT 1 AS "id;.parse()now fails, andgetSyntaxErrors()gives the position of the quote, line 1 column 12 forSELECT 1 id";. In MySQL, where double quotes delimit a string, the same holds for that string. Closed identifiers parse as before; an input ending inside a single-quoted string or a block comment is unchanged (Mantis 4882). - 2026-10-05 The columns of a VALUES table without a column list take the vendor's names, in lineage and in TSQLResolver2 (Mantis 4823): PostgreSQL, Greenplum, Redshift and Snowflake call them
column1,column2, ..., Spark SQL and Databrickscol1,col2, ....SELECT r.column1 FROM (VALUES ((SELECT x FROM t), 2)) AS rin PostgreSQL gave no lineage andr.column1wasNOT_FOUND; nowRS-1.column1 <- result_of_r-1.column1 <- t.xandr.column1resolves.TValueClause.defaultColumnName(vendor, position)is the rule. - 2026-10-05 A function in a VALUES row gives the column its value in lineage, as in a SELECT list (Mantis 4824): in
SELECT r.a FROM (VALUES (COALESCE((SELECT x FROM t), 0))) AS r(a),r.anow hast.xupstream throughCOALESCE; the same forABS,CASEand a column inside a function, such asCROSS APPLY (VALUES (UPPER(t.name))) AS r(a)in SQL Server. - 2026-10-05 A derived table's alias column list renames the columns a
SELECT *expands to, by position, in TSQLResolver2 (Mantis 4843). Overt3(c1, c2, c3), inSELECT d.a, d.b, d.c1, d.c3 FROM (SELECT * FROM t3) d(a, b),d.aandd.bwereNOT_FOUNDandd.c1resolved; nowd.aresolves tot3.c1andd.btot3.c2(ColumnSource.getFinalColumnName()returnsc1andc2),d.c1andd.c2areNOT_FOUND, andd.c3still resolves. A column after the star takes the position after the star's columns. The star's columns are known from DDL, or from a catalog table that lists every one of them; otherwise (no metadata, a catalog table without columns or with an unexpanded star,* EXCEPT,* EXCLUDEor* REPLACE, aUSING,NATURAL, semi or anti join)d.ais a column ofdwith no column oft3behind it (ColumnSource.getFinalTable()returns null andgetAllFinalTables()is empty), instead of an inventedt3.a, and a name renamed away stays visible when another column of the star may pass it on. In lineage every name past such a star reads the star:INSERT INTO o (x, y) SELECT d.a, d.b FROM (SELECT * FROM t) d(a, b)giveso.x <- t.*ando.y <- t.*, where it gaveo.x <- t.aand nothing foro.y. A derived table over a set operation,(SELECT * FROM t UNION ALL SELECT * FROM u) d(a), is Mantis 4870. - 2026-10-05 A PostgreSQL
SELECT ... INTO namestatement creates the tablename, in lineage and in the parse (Mantis 4857), as PostgreSQL documents and asINTO TEMP name, Greenplum and Redshift already did. AfterCREATE TABLE TABLE_1 (COL_1 int, COL_2 int); select COL_1, COL_2 into TMP2 from TABLE_1; insert into TABLE_2 (COL_1, COL_2_RENAMED) select * from TMP2;the target was a record variable, so the simple output dropped it and gave onlyTABLE_2.COL_1 <- TABLE_1.COL_1; it now gives the tableTMP2withTMP2.COL_1 <- TABLE_1.COL_1,TMP2.COL_2 <- TABLE_1.COL_2,TABLE_2.COL_1 <- TMP2.COL_1andTABLE_2.COL_2_RENAMED <- TMP2.COL_2. The target'sTObjectName.getDbObjectType()isEDbObjectType.tableand the SELECT lists it among its tables withETableEffectType.tetSelectInto, as for the other forms. The body of aLANGUAGE SQLfunction holds SQL and creates the table too, while in a PL/pgSQL body, of a function, a procedure or a DO block, INTO still assigns variables, and aSELECT ... INTOrun throughEXECUTE, which PL/pgSQL rejects, creates none. - 2026-10-05 OceanBase in a MySQL tenant ends a stored routine written without a DELIMITER command at the
END;that closes its outermostBEGIN, as MySQL does (Mantis 4841).CREATE PROCEDURE p() BEGIN SELECT 1; END;followed bySELECT 2;gave one statement and a syntax error atSELECT 2, so every statement after a routine was lost;TGSqlParser(EDbVendor.dbvoceanbase)now splits such a script into the statementsEDbVendor.dbvmysqlgives, also for routines in a row, a nestedBEGIN ... END;orBEGIN ... END label;, and inside a bodyEND IF;,END WHILE;,CASE ... END CASE;and aCASE ... ENDexpression, which do not end the routine. A name ending in$, such ascol$, ends a routine only after a DELIMITER command set$. - 2026-10-05 Doris INSERT, INSERT OVERWRITE, UPDATE, DELETE and CREATE VIEW are parsed into their statement classes and have lineage (Mantis 4855). They returned 0 from
parse()asTUnknownSqlStatements with no AST, soDataFlowAnalyzerfound no relationship in them and nothing reported it:INSERT INTO t2 SELECT a FROM t1now givest2.a <- t1.a, as in MySQL. The Doris forms parse too:INSERT ... WITH LABEL name,INSERT OVERWRITE TABLE t PARTITION(*),DELETE FROM t PARTITION p1andPARTITIONS (p1, p2),UPDATE t1 SET ... FROM t2 JOIN t3 ON ..., whose FROM tables are read, theCOMMENTof a view and of its columns, andCREATE VIEW IF NOT EXISTS.CREATE MATERIALIZED VIEWis now its own type,ESqlStatementType.sstcreatematerializedview, and like MERGE it stays a statement without an AST. - 2026-10-05 In the simple output with
fdredges shown, a source that reaches a column through a value path is anfddsource of that column even when it also reaches it through a filter, whatever relationship ids the statements before it used (Mantis 4867). The fold walked each intermediate node once, meeting a node's relationships in the string order of their ids (10before7), so the first path to a shared node decided the type:INSERT INTO tgt (v) SELECT SUM(e.k) FROM (SELECT d.k FROM (SELECT k FROM s) d WHERE ABS(d.k) > 0) egavefdr s.k -> tgt.vwith clause typewherewhen analyzed alone, andfdd s.k -> tgt.vafter two other statements. A node is now walked again when a better path reaches it, so a value path always wins, and the source shown, with its clause type and transforms, comes from a path of the type it gets: withOption.setTransform(true)thefddedge intotgt.vlistsSUM(e.k), no longer the filter'sABS(d.k). Only such paths can mark the folded relationship as an assumed external-script passthrough.Option.setIgnoreRecordSet(true)folds the same way. The default simple output, which showsfddedges only, is unchanged. - 2026-10-05 In the simple output, a source read in a WHERE, ON or HAVING filter through a function, aggregate, CASE, derived table, CTE or variable carries the filter's clause (Mantis 4866). The simple output (
Option.setSimpleOutput(true), withfdredges shown throughOption.setSimpleShowRelationTypes("fdd", "fdr")) folds such intermediate nodes away, and the folded source kept the clause of the edge that reads the table, which has none:UPDATE t1 SET v = 1 WHERE ABS(t1.x) > 5 AND t1.y = 2gavet1.ythe clause typewhereandt1.xnone, and so didHAVING SUM(o.amount) > 100000,ON UPPER(c.code) = o.code, a CASE, and... FROM (SELECT id, x FROM s) d WHERE d.x > 5fors.x.sourceColumn.getClauseType()of such a foldedfdrsource now returnswhere,joinConditionorhaving, the clause the full output gives the filter's own operand, in the XML and the JSON model alike; a folded source that has a clause of its own keeps it, and one that also reaches the target as a value stays anfddsource without a clause. A GROUP BY key that an aggregate in HAVING reads getshavingtoo: withGROUP BY o.customer_id HAVING SUM(o.amount) > 100000, bothOrders.amountandOrders.customer_idfeed the result'sRelationRowswithhaving. The same holds withOption.setIgnoreRecordSet(true)and inParallelDataFlowAnalyzer. Only the attribute moves: no edge is added or removed, the default simple output, which showsfddedges only, is unchanged, and a source that reaches the filter only through a condition analyzed without a clause, such as a MERGEWHEN ... ANDcondition, still gets none. - 2026-10-04 A function, aggregate or CASE operand of a WHERE, ON or HAVING filter carries the filter's clause on its lineage source (Mantis 4865). Such an operand is its own node: for
HAVING SUM(o.amount) > 100000the source of thefdredge into the result'sRelationRowsisSUM.SUM, andsourceColumn.getClauseType()returnedunknownfor it, or nothing for a CASE, where a column operand returnswhere,joinConditionorhaving. A consumer that tells filters apart by the source's clause type, as the dlineage guide says to, missedHAVING SUM(...),WHERE ABS(...)andON UPPER(c.code) = o.code. In the full output (Option.setSimpleOutput(false)) the source now carrieshaving,whereorjoinCondition, in the XML and the JSON model alike; the relationship's ownclausewas already right, and no edge is added or removed. The same holds for a constant function such as BigQueryCURRENT_TIMESTAMP(), read from the constants table. A condition analyzed without a clause, such as an IF condition, a MERGEWHEN ... ANDcondition or a windowPARTITION BY, is unchanged.
GSP Java version 4.2.14.1(2026-10-07)¶
- 2026-10-07 [Formatter] Multi-row INSERT VALUES keeps a stable indentation for sibling tuples. Stacked rows previously inherited the preceding row's final column, and normalizing every row repeatedly padded the first tuple; large batches could allocate quadratic amounts of whitespace and exhaust the Java heap. Each tuple is now normalized once and stacked rows share the first tuple's indentation. SQL tokens and comments are preserved.
GSP Java version 4.2.14(2026-10-04)¶
- 2026-10-04 A table reference that names its database finds the table that a
CREATE TABLEor the metadata declares without one (Mantis 4751). After SybaseCREATE TABLE DW_RE0.BusinessOwners (CustomerName varchar(300), ...),create view dw_dina.DW_RE0.aa_BusinessOwners as select * from dw_dina.DW_RE0.BusinessOwnersgave onlydw_dina.DW_RE0.aa_BusinessOwners.* <- dw_dina.DW_RE0.BusinessOwners.*; it now gives one edge per declared column, such asdw_dina.DW_RE0.aa_BusinessOwners.customername <- dw_dina.DW_RE0.BusinessOwners.customername, andTTable.getResolvedTable()andTTable.getExpandedStarColumns()return the declared table and its columns. A column the declaration does not have is no longer guessed to belong to the reference: withCREATE TABLE DW_RE0.T1 (a int),cinSELECT c FROM dw_dina.DW_RE0.T1, DW_RE0.T2is an orphan column instead ofdw_dina.DW_RE0.T1.c, as it already was when the DDL nameddw_dina.DW_RE0.T1. A declaration without a database is in the session's current database, so the match is made only while that database is unknown: afterUSE other_dbthe table is inother_db, and afterTSQLEnv.setDefaultCatalogName("prod")it is inprod, so a reference todw_dinastill finds nothing. Only the database may be missing:CREATE TABLE T1is notdw_dina.DW_RE0.T1. A table or synonym that the named database holds still wins, and a reference through a linked server (serverB.dw_dina.DW_RE0.T1) or a database link is never matched. The match is a best guess, not a proof: two references naming different databases,dw_dina.DW_RE0.T1andother_db.DW_RE0.T1, both read the one declaration, and each keeps its own name in the lineage (in BigQuery too, wheredb1.s1.t1anddb2.s1.t1stay two tables beside the declareds1.t1). This holds in every dialect with a database above the schema. - 2026-10-04 [Formatter] Formatting on several threads at once no longer throws a
NullPointerException.GFmtOptFactory.newInstance(), whichSQLUtil.formatSqlalso uses, tookSystem.nanoTime()as the option'ssessionId, so two threads could get the same id, and the firstFormatterFactory.ppcall to finish removed the formatters the other call was still using. Each option now gets an id of its own. - 2026-10-04 The files of an external table's LOCATION now feed each STRUCT field the table declares, including the elements and fields of an ARRAY of STRUCTs, not only its columns (Mantis 4858), in Athena, Spark SQL, Databricks, Hive, Presto and Trino. After
CREATE EXTERNAL TABLE events (payload STRUCT<address:STRUCT<city:STRING>>) STORED AS PARQUET LOCATION 's3://b/e/',SELECT payload.address.city AS c FROM eventsgaveRS-1.c <- events.payload.address.city, a field node with no upstream, soccould not be traced to the files; the field now hasevents.payload.address.city <- 's3://b/e/'.payload.address.city, next to the unchangedevents.payload <- 's3://b/e/'.payload. Each field is fed from its own field of the files, so a sibling such aspayload.address.zipis never a source ofc. - 2026-10-04 An INSERT fed by
SELECT *from a permanent table made bySELECT ... INTOpairs the columns by position in SQL Server, Azure SQL, SAP ASE, SAP IQ, SQL Anywhere, Redshift and Greenplum (Mantis 4856). Afterselect COL_1, COL_2 into TMP2 from TABLE_1,insert into TABLE_2 (COL_2_RENAMED, COL_1) select * from TMP2gave only the wrongTABLE_2.COL_1 <- TMP2.COL_1; it now givesTABLE_2.COL_2_RENAMED <- TMP2.COL_1andTABLE_2.COL_1 <- TMP2.COL_2, as does an INSERT without the column list into aTABLE_2declared as(COL_2_RENAMED int, COL_1 int). An ALTER TABLE of the table, or a secondSELECT ... INTOmaking it, leaves its*unexpanded. When the*reads a table whose column order is not known (no DDL, its columns known only from other statements), an INSERT column-list target now reads that table's*instead of the column named like it:insert into TABLE_2 (COL_2_RENAMED, COL_1) select * from T9; select COL_1, COL_2 from T9;givesTABLE_2.COL_1 <- T9.*(was<- T9.COL_1). - 2026-10-03 An INSERT column list fed by
SELECT *from a temporary table made bySELECT ... INTOpairs the columns by position in SAP ASE, SAP IQ, SQL Anywhere and Redshift, and for SQL Server'sdbo.#tand[#t](Mantis 4753). Afterselect COL_1, COL_2 into #TMP from TABLE_1,insert into TABLE_2 (COL_1, COL_2_RENAMED) select * from #TMPlinked only the same-namedTABLE_2.COL_1 <- #TMP.COL_1, and the reordered list(COL_2_RENAMED, COL_1)gave the wrongTABLE_2.COL_1 <- #TMP.COL_1. They now giveTABLE_2.COL_2_RENAMED <- #TMP.COL_2, andTABLE_2.COL_2_RENAMED <- #TMP.COL_1withTABLE_2.COL_1 <- #TMP.COL_2, as SQL Server did for an unqualified#TMP; Redshift'sselect ... into temp table ttoo. A read of a column theSELECT ... INTOdid not create,binselect a into #T2 from S1; insert into X (xa, xb) select a, b from #T2, no longer gets an edge. A temporary table that twoSELECT ... INTOstatements make, as in the two branches of an IF, takes its columns from the branch that ran, so its*is not paired by position. - 2026-10-03 HAVING clause lineage. Each column and aggregate a HAVING clause reads now influences the result's rows, as WHERE does:
SELECT o.customer_id FROM sales.dbo.Orders o GROUP BY o.customer_id HAVING SUM(o.amount) > 100000givesfdr SUM -> RelationRowswithclause="having"(JoinRelationship.JoinClauseType.having), andfdd Orders.amount -> SUM. An aggregate in HAVING reads its GROUP BY keys and its rows as the same aggregate in the select list does, soHAVING count(1) > 1is traced back to its table (Mantis 4854). In MySQL (and OceanBase in a MySQL tenant), BigQuery, Hive, Spark SQL, Databricks, Impala and Doris a SELECT-list alias named in HAVING (SELECT o.amount AS amt ... HAVING amt > 1) is now read as the alias, in both resolvers and in lineage, instead of an invented columnorders.amt. A column of that name that the FROM clause provably has still wins, except in MySQL, where it wins only when GROUP BY names it, as MySQL documents. - 2026-10-03 Hive, Spark SQL and Databricks model a STRUCT column as a tree, as BigQuery and the Trino family do (Mantis 4821, 4837).
CREATE TABLE events (payload STRUCT<name:STRING>)kept only a columnname, so the declared column disappeared and every read ofpayload.namewas dropped; without DDL a field read invented a column named after the field. TSQLResolver2 now readspayload.nameandcustomer.address.cityas the column with a field path when the first part names no relation in scope (a LATERAL VIEW alias is a relation), and lineage givesv.city <- orders_raw.customer.address.citywith and without DDL. A HivelistType_tor DatabricksARRAY<STRUCT<...>>column gets its element nodes,items[*].name. - 2026-10-03 A STRUCT field read through a CTE or derived table reads the field, not the whole column (Mantis 4836):
WITH c AS (SELECT customer FROM orders_raw) SELECT customer.address.city AS city FROM cgivesv.city <- orders_raw.customer.address.city(wasorders_raw.customer). When the CTE's column passes the table column on unchanged, each result column on the way gets a field nodecustomer.address.city; a set operation, a function, a STRUCT the query builds or a wildcard keep reading the whole column. - 2026-10-02 A UNION derived table's column in a JOIN or WHERE condition influences the rows (Mantis 4819). In
LEFT JOIN (SELECT 0 AS rank, 'G' AS type UNION ALL SELECT 1, 'I') AS r ON r.type = c.cos_typethefdron the result's rows listed onlycalls.cos_type;result_of_r.typeis there now, as it is for theVALUESform. - 2026-10-03 BigQuery
items[OFFSET(0)].item_namereads the field of the array element,orders_raw.items[*].item_name, not the whole array (Mantis 4833), with and without DDL, qualified or not (o.items[OFFSET(0)].item_name), and forSAFE_OFFSET,ORDINAL,SAFE_ORDINALand a plain index;items[OFFSET(0)]with no field after it still reads the array columnitems. The same item without an alias no longer stops the analysis with a NullPointerException; its column is named after the field,item_name. The grammar now records the subscript and the field after it on the array column (TObjectName.getIndirection()), whichTObjectName.getFieldPathRead()reads. - 2026-10-03 A
ROW(...)constructor has lineage (Mantis 4834). Its values were never sources; nowROW(a, b) AS contactgivescontact <- a, b, and a Trino, Athena or PrestoCAST(ROW(payload.address.city, payload.phone) AS ROW(city VARCHAR, phone VARCHAR)) AS contactgives one column per field,v.contact.city <- events.payload.address.cityandv.contact.phone <- events.payload.phone, as BigQuerySTRUCT(... AS city) AS contactdoes. In a view these are field nodes below the view's columncontact, so a laterSELECT v.contact.city FROM vreadsv.contact.city. A row compared in a predicate,ROW(a, b) = ROW(1, 2), now makesaandbfilter sources. - 2026-10-03 BigQuery
PIVOT(COUNT(customer.name) FOR order_id IN (1))reads the counted field,v.1 <- orders_raw.customer.name, andcustomeris no longer published as a grouping column (Mantis 4829). Through a CTE the read is of the CTE's columncustomer. - 2026-10-03 A STRUCT field read through a CTE or derived table reads the column it starts at (Mantis 4830, 4831, 4818). BigQuery
WITH c AS (SELECT * FROM orders_raw) SELECT customer.address.city AS city FROM cgavev.city <- orders_raw.addressand invented the columnaddress, andSELECT x.customer.address.city FROM (SELECT customer FROM orders_raw) xinventedorders_raw.city; both now givev.city <- orders_raw.customer. In Athena, Presto and BigQuerySELECT payload.name AS n FROM (SELECT payload FROM events) subnow has the edge from the derived columnpayloadton. The read is of the whole column; field paths through result sets are Mantis 4836. - 2026-10-03 BigQuery and Athena
CREATE VIEW v AS SELECT customer.* FROM orders_rawwithout DDL gives the view one column*read fromorders_raw.customer(Mantis 4827), not the columns*andCUSTOMERwith no edge. With DDL the declared fields expand as before. - 2026-10-03 An attribute read two levels deep after a table alias,
o.customer.address.city, reads the columncustomer(Mantis 4839, 4840). Redshift SUPER reads were NOT_FOUND because the four-part name put the alias in the database slot; they now resolve toorders_rawwith the field pathaddress.city, and lineage givesv.city <- orders_raw.customerwith and without DDL instead of nothing or the invented columnscityando.customer.name. Oracle object-type attributes were resolved but lost in lineage; they now give the same edge. - 2026-10-02 BigQuery
UNNESTof a CTE or derived-table column has lineage (Mantis 4835):WITH c AS (SELECT items FROM orders_raw) SELECT i.item_name AS item FROM c, UNNEST(c.items) AS igivesv.item <- orders_raw.items. The unnest elementicomes from a result set, which carries no field nodes (Mantis 4836), so a field read through the element's name reads the whole element; a derived table analyzed later in the FROM clause is analyzed first. - 2026-10-02 BigQuery
SELECT item_name FROM orders_raw, UNNEST(items)without DDL no longer bindsitem_nametoorders_raw(Mantis 4828). An unaliased UNNEST is a value table that exposes its element's fields under their own names, so without the element type nothing proves whetheritem_nameis a column of the table or a field of the element:ResolutionResult.getStatus()is now AMBIGUOUS with both as candidates, and lineage lists the column as an orphan instead of inventingorders_raw.item_name. With DDL the field is read as before,orders_raw.items[*].item_name; an aliased UNNEST and the UNNEST argument itself are not affected. Presto, Trino and Athena, which expand an unaliasedUNNESTof anARRAY(ROW)into one column per field, get the same reading; with several unaliased UNNESTs every value table is a candidate, and an UNNEST argument considers only the value tables to its left. - 2026-10-02 Trino and Athena UNNEST output columns are linked to the unnested array, as Presto's were (Mantis 4826):
CREATE VIEW v AS SELECT t.x AS n FROM events CROSS JOIN UNNEST(arr) AS t(x)givesv.n <- events.arr[*]. An alias reads the argument at its position when the counts agree, every alias reads the one argument's element when there is a single argument (Trino expands anARRAY(ROW)into one alias per field), and theWITH ORDINALITYalias, whichTUnnestClause.isWithOrdinality()now records, reads every array whole; with several arguments and a different number of aliases no edge is published, because the mapping needs the element types. For Trino and Athena the link is made through the resolver's binding of each argument, so joins, filters, other tables, several UNNESTs and an argument from a CTE or derived table keep their lineage; Presto's derived-table argument is now matched by name, not by its position in the UNNEST, and a CTE before an UNNEST is no longer modelled as a table. - 2026-10-02 Lineage reads the columns inside an array subscript, as in Athena, Presto and Trino
SELECT arr[n] AS part FROM logsandSELECT split(principal_id, ':')[n] AS part FROM logs(Mantis 4817). The index column selects the element, sologs.nis now a source ofpart(and of thesplitfunction's result), as it already was forelement_at(split(principal_id, ':'), n); TSQLResolver2 resolvesntologs.TObjectName.getSubscriptExpressions(),TFunctionCall.getSubscriptExpressions()andTIndices.getSubscriptExpressions()expose the expressions inside[...], andTIndices.acceptChildrenvisits them. - 2026-10-02
COUNT(*)over a table function has a row-filter source, as it has over a table (Mantis 4815): SQL ServerSELECT COUNT(*) AS n FROM DB..FN(@D)addsfdr COUNT.COUNT <- DB..FN.RelationRows. WithOption.setShowJoin(true)a join on a table function's column,ON t.id = f.c, records the function's output column as the join side. - 2026-10-02 resolver2 reads a derived table's alias column list, as in
FROM (SELECT z FROM t3) d(y)(Mantis 4814, 4832, 4819). The columns were named after the SELECT list, soywas NOT_FOUND againstd; inSELECT (SELECT max(y) FROM (SELECT z FROM t3) d(y)) AS m FROM othe enclosing table captured it andy.getSourceTable()waso. It isdnow, withResolutionResult.getStatus()EXACT_MATCH, in the default resolver, resolver2 and parse-time linking alike (the deprecated legacyEResolverType.RESOLVERis unchanged). The list renames the columns by position, also for a set operation(... UNION ALL ...) AS r(rank, type), and names the cells of a VALUES derived table(VALUES (0, 'G'), (1, 'I')) AS r(rank, type), whoser.rankandr.typewere NOT_FOUND. TrinoSELECT x.p.address.city FROM (SELECT payload FROM events) AS x(p)resolves toxwith the field pathp.address.city, and its lineagev.city <- events.payloadis back. - 2026-10-02 Spark SQL parses a nested type whose closers are written together, as in
CREATE TABLE orders_raw (order_id BIGINT, customer STRUCT<name: STRING, address: STRUCT<city: STRING>>),ARRAY<ARRAY<ARRAY<INT>>>andCAST(x AS STRUCT<a: ARRAY<INT>>)(Mantis 4838). The lexer read>>as one operator token that no grammar rule accepted; it now gives a run of>or<one character at a time, as the Hive and Databricks lexers do. The same token made the shift operators unparseable:SELECT a << 2, a >> 2, a >>> 2 FROM tnow parses, withEExpressionType.left_shift_tandright_shift_t(>>>isright_shift_ttoo, its three tokens tell it apart), and the shifts bind below+and-as in Spark's operator table. Because the lexer gives one bracket at a time, a spaceda > > bis read as a shift as well, as Hive, Databricks and BigQuery already read it. - 2026-10-02 Athena keeps the argument of an aliased UNNEST, as in
FROM events CROSS JOIN UNNEST(arr) AS t(x)(Mantis 4825).TUnnestClause.getColumns()(orgetArrayExpr()forUNNEST(split(csv, ','))) was null for the aliased forms and set only for the unaliased ones, soarrwas neither resolved toeventsnor available to lineage. - 2026-10-02 OceanBase in a MySQL or system tenant reads a routine's DECLAREd variable as that variable, as MySQL does (Mantis 4813). In
CREATE PROCEDURE p() BEGIN DECLARE c INT; SELECT c FROM t1; END;withCREATE TABLE t1 (c INT, d INT),cin the SELECT hadgetDbObjectType()column andgetSourceTable()t1 fordbvoceanbase; it is nowvariable, anddstays the column of t1. The routine body also keeps every statement MySQL keeps: DECLARE, OPEN, FETCH, CLOSE, IF, CASE, SET, RETURN and the ITERATE stub were dropped for OceanBase, SET inside a routine became a DB2 statement, and a LOOP threw a NullPointerException out ofparse(). The Oracle tenant is unchanged. - 2026-10-02
IScope.getVisibleNamespaces()of resolver2 terminates when called on a SELECT, UPDATE, DELETE or MERGE scope or on its FROM scope (Mantis 4820). The SELECT scope asked its FROM scope for the visible namespaces and the FROM scope asked its parent, the same SELECT scope, so the call overflowed the stack; the owner now reads the FROM scope's own relations, and every namespace is listed once. - 2026-10-02 The lineage of SQL in several files,
new DataFlowAnalyzer(File[], Option), is the lineage of the same SQL in one file. The metadata that the analyzer reads from the CREATE statements of the files kept the columns of a table without their types when the table came from a later file, and it took the files in the order their threads finished. A STRUCT column keeps its fields in its type, so withCREATE TABLE orders_raw (..., items ARRAY<STRUCT<item_name STRING, qty INT64>>)in one file andCREATE VIEW v AS SELECT item_name FROM orders_raw, UNNEST(items)in another, the edge fromorders_raw.items[*].item_nametov.item_namewas missing in about one run out of three. The files are now merged in their order, and a column keeps its type; a column that an earlier file gives without a type, as aCREATE TABLE ... AS SELECTdoes, takes the type of a later definition. - 2026-10-02 Athena, Spark SQL, Databricks, Presto and Trino lineage shows the files of a table, as it already did for Hive, Impala and Redshift:
CREATE EXTERNAL TABLE events (city STRING) STORED AS PARQUET LOCATION 's3://b/e/'gives the path's3://b/e/'indataflow.getPaths()and an edge from's3://b/e/'.citytoevents.city, so that a table can be traced back to its files.TCreateTableSqlStatement.getTableLocation()returns the location given by theLOCATIONclause of Athena, Spark SQL and Databricks, and by the table propertyexternal_locationof Presto, Trino and Athena, orlocationof the Iceberg and Delta Lake connectors, inWITH (...); it was null for all of them. A table without a column list, as inCREATE TABLE events USING DELTA LOCATION 's3://b/e/', gets an edge from's3://b/e/'.*toevents.*. In Hive,CREATE EXTERNAL TABLE events LIKE src LOCATION 's3://b/e/'gets the same edge; it gave a path with no column and no edge. ACREATE TABLE ... AS SELECTwrites its result to the location, so it gives the location but no path, as in Hive. The Spark SQL and DatabricksLOCATIONoption is the newECreateTableOption.etoLocation, with its path inTCreateTableOption.getTableLocation(); in Databricks it wasetoUnknown. - 2026-10-02 BigQuery, Athena, Presto and Trino keep the lineage of a STRUCT field read through a CTE or a subquery, as in
WITH c AS (SELECT customer FROM orders_raw) SELECT customer.address.city FROM c: the read comes from the CTE columncustomer, so fromorders_raw.customer, because a CTE has no field nodes of its own. In 4.2.13 it came from every leaf field ofcustomerwhen the script declaredorders_raw, and it had no lineage without DDL, through an aliased subquery (x.customer.name) or a CTE column list, or in Athena, Presto and Trino. The same read in a WHERE or ON condition, a GROUP BY or a BigQuerySELECT * REPLACE (customer.name AS customer)comes from the CTE column too; a WHERE condition added a CTE column named after the field (address), and TSQLResolver2 now resolves the columns of a REPLACE expression. The read has no edge when the DDL of the column that the CTE passes on has no such field, or when its first part also names the table it is read from (c.name FROM q AS c). A BigQuerycustomer.address.citywith an alias on the table that declarescustomer, as inFROM orders_raw o, z, comes fromorders_raw.customer.address.city; it came from a columnz.customer.address.city, or had no lineage when the script declaredz. The new page STRUCT columns in lineage, explained shows the lineage of STRUCT columns with examples. - 2026-10-02 BigQuery, Athena, Presto and Trino lineage models a STRUCT or ROW column as a tree: the declared column, and below it a node for every field, intermediate fields included, with
[*]for the element of an array (orders_raw.customer.address.city,orders_raw.items[*].item_name). A read of the whole column comes from the declared column, and a read of a field from exactly that field, with and without DDL in the script. Before, BigQuery with DDL had only the leaf fields, soSELECT customercame from every leaf ofcustomerandSELECT customer.addressalso from its siblingcustomer.phone, and Athena, Presto and Trino read every field from the whole column (events.payload). The tables in the output list the field nodes after their column, and a field that the DDL does not declare gets no node, as a column the table does not declare gets no column. - 2026-10-02 The STRUCT tree covers the forms around a field read.
UNNEST(items) AS ireads the array elementorders_raw.items[*], and BigQueryi.item_namethe fieldorders_raw.items[*].item_name, also for a nested array as inUNNEST(customer.orders);WITH OFFSET AS offstays a column of the UNNEST. A PrestoUNNEST(payload.items) AS t(item)readsevents.payload.items[*]instead of a columnevents.itemsthe table does not have.SELECT customer.*reads the fields ofcustomer: one result column per field when the DDL declares them, otherwise one column fromcustomer; Athena, Presto and Trino readpayload.*that way too instead of as every column ofevents. BigQueryUPDATE ... SET customer.name = ...andMERGE ... UPDATE SET customer.name = ...writeorders_raw.customer.name, where the write went to a columnorders_raw.namewithout DDL and was dropped with DDL.INSERT INTO t SELECT STRUCT(...) ...writes the declared fields of a STRUCT column by position, andARRAY[customer.customer_id]reads the field. When two tables in scope could own the column, as inSELECT customer.address.city FROM orders, items, the read is an orphan instead of a column of an invented tablecustomer.address; when only one of them declarescustomer, the read comes from that one. - 2026-10-02 Presto, Trino and Athena keep the fields of a
ROW(...)type and the element type ofARRAY(...)in the parse tree:TTypeName.getColumnDefList()andgetTypeOfList()were empty for them, soCREATE TABLE events (payload ROW(address ROW(city VARCHAR)))declared no fields. BigQuery resolves the columns inside anINTERVALexpression, as inDATE_ADD(d, INTERVAL SAFE_CAST(n AS INT64) DAY), which TSQLResolver2 never visited. In Athena, Presto and Trino a column declared by DDL wins over a table of the same name for the first part of a dotted name, sopayload.events.id FROM source, eventsreads the fieldevents.idofsource.payload. - 2026-10-02 Athena, Presto and Trino keep the lineage of a read two or more fields deep into a STRUCT or ROW column, as in
SELECT payload.address.city FROM events(Mantis 4822). The read comes from the fieldevents.payload.address.city: withCREATE EXTERNAL TABLE events (payload STRUCT<address:STRUCT<city:STRING>>)in the script it was dropped without an error, and without DDL it invented a columnevents.city. The same holds behind a table alias (e.payload.address.city) or a schema-qualified table (sch.events.payload.address), with more fields or a subscript (payload.address.city[1]), in WHERE, GROUP BY, DELETE and correlated subqueries, and for aROW(...)column; Trino now also reads the one-field forms of Mantis 4811. A dotted name is read the way Trino reads it, longest qualifier first, sosch.events.idis the column of the tablesch.eventsin scope even when an enclosing query aliases another tablesch. A column that receives such a read is named after its last field (INSERT INTO t SELECT payload.address.city ...writest.city;SELECT payload.addresswrotet.payload.addressand now writest.address). When no DDL decides which of two joined tables ownspayload, lineage reports an orphan column instead of inventing a tablepayload.address. - 2026-10-01
DataFlowGraphGenerator.genDataflowGraph(Dataflow, boolean)andgenDlineageGraph(EDbVendor, boolean, dataflow, boolean)can keep the tables and resultsets that take part in no relationship (Mantis 4812). Withtrue, a script that only declares a table, orSELECT 1 AS n, gives a graph with that node and no edge, and a table nothing reads joins the graph next to the connected ones; the methods without the option still drop them, as before. - 2026-10-01 Athena and Presto keep the lineage of a read of a STRUCT or ARRAY field, as in
SELECT payload.items[1].name FROM events(Mantis 4811). WithCREATE EXTERNAL TABLE events (payload STRUCT<...>)in the script the read was dropped without an error, because the table's lineage columns were the struct's field names (items,name); they are now the declared columns with a node for every field, and the read comes from the fieldevents.payload.items[*].name, also through a table alias. Without DDL the read no longer invents a columnevents.items: a qualifier that names no table in scope is read as a column with a field path, as Trino does. - 2026-10-01 Lineage of a join with a
VALUESderived table, as inLEFT JOIN (VALUES (0, 'G'), (1, 'I')) AS r(rank, type) ON r.type = c.cos_type, no longer fails withNullPointerException: ... "joinResultSet" is nullin PostgreSQL, Athena and Databricks (Mantis 4802). The statement is analyzed to its end, so the join condition reportsr.typeandc.cos_typeas row influence, the lineage SQL Server and Snowflake give for the same SQL, and no literal becomes a column of a table. A scalar subquery that is itself aVALUEScell now feeds its column, in every dialect. - 2026-10-01 Athena parses
GROUPSwindow frames, inline and in aWINDOWclause, such asfirst_value(value) OVER (ORDER BY ts GROUPS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING)(Mantis 4803). The frame keeps its unit,TWindowFrame.getLimitRowType()returnsELimitRowType.Groups, and both bounds; it is not read asROWS. A window namedgroupsis still a window name, as inOVER (groups). - 2026-10-01 Athena accepts a
VALUESquery as the body of a CTE, as inWITH v(id, label) AS (VALUES (1, 'a'), (2, 'b')) SELECT id, label FROM v(Mantis 4804). The CTE columns take the rows by position, and lineage reports no physical source for the literals. - 2026-10-01 Athena accepts a lambda whose single parameter is in parentheses, as in
filter(ARRAY['a', ''], (x) -> COALESCE(x, '') <> '')(Mantis 4805). Lineage no longer reports a lambda parameter as an orphan column ofpseudo_table_include_orphan_columnwhen the query has aFROMclause, in every dialect with lambdas:SELECT transform(arr, x -> x + t.off) FROM treads onlyt.arrandt.off. TSQLResolver2 marks lambda parameters withTObjectName.ttobjLambdaParameter, and matches them by the dialect's identifier rules on a name's first segment: in Snowflake the quoted"X"in"x" -> "X"stays a column of the table, andx[1]orx.nameread the parameterx, where they were reported as a columnxor an orphan. - 2026-10-01 Athena accepts a field or a subscript directly after a call, as in
element_at(queues, 1).queue_nameandsplit(principal_id, ':')[2](Mantis 4806, 4807). The postfix is inTFunctionCall.getIndirection(), and lineage reads the call's arguments. The subscript ofMAP(...)[key], which was parsed and then dropped, is kept the same way. - 2026-10-01 Athena accepts an aggregate
FILTER (WHERE ...), as inCOUNT(*) FILTER (WHERE "date"(creation_date) <> partition_date), also withDISTINCTandOVER(Mantis 4808). The predicate is inTFunctionCall.getFilterClause(), and lineage matches PostgreSQL's.filteris still an identifier everywhere else: thefilter(array, lambda)function and a column or alias namedfilterparse as before. - 2026-10-01 Athena accepts
MAPas a table alias, a qualifier or a column name in a query, as inSELECT map.field0 FROM events map(Mantis 4809).MAP(...)and theMAP<k, v>type keep their meaning. - 2026-10-01 Athena accepts
DATE(expression), the alias ofCAST(expression AS DATE), as inSELECT DATE(c.year || '-' || c.month || '-' || c.day) FROM dates c(Mantis 4810). It is a call shaped like"date"(expression), so lineage linksyear,monthanddayas it does for the cast;DATE('2020-01-01')stays the typed literal it was. - 2026-10-01 Lineage reads a table function's column in a WHERE, ON or CASE condition and in GROUP BY or HAVING through the function, as it already did in the select list (Mantis 4797). In
SELECT ... FROM [dbo].[fn_StrToTable](@strId, ',') tbl_Id JOIN dim_LagerSapClassifier LSC ON (tbl_Id.id = LSC.classifierId)the join condition had no source from the function, and the derived table(SELECT DATARIFERIMENTO FROM HERMIONE_AX443_FILIALI_ESTERE_ULT(@D_RIF) WHERE DATARIFERIMENTO = @D_RIF)filtered on nothing of its own; both now read the function's output. A table function the catalog does not know is no longer taken to have none of the columns read from it (TFunctionCall.isColumnInThisTableFunctionanswers not sure instead of no): its columns were reported as orphans inpseudo_table_include_orphan_column, or bound to a table next to it, and now flow from the function. - 2026-10-01 The statements of a script see the tables its
CREATE TABLEstatements declare before them while they are parsed, whatever the resolver (Mantis 4797). Column linking at parse time (TCustomSqlStatement.linkColumnToTable) reads the parser's catalog, which got the script'sCREATE TABLEonly from the resolver run after the parse, and withEResolverType.NONEnever: inCREATE TABLE t1 (a int); CREATE TABLE t2 (b int); SELECT a, b FROM t1, t2,parser.getSqlEnv().searchTable("..t1")returned null andaandbhad nogetSourceTable(), and in the SAP IQ query of Mantis 4752,RESOLVERandNONEread the subquery nameKas a column ofCollateralsinstead of the enclosing alias. Each declaration is now taken when it is parsed, as resolver2 places it: in the database and schema of theUSEstatements before it, also inside a block, and a procedure's temporary table only inside that procedure. ACREATE TABLE ... AS SELECThas the columns of its query (aSELECT *leaves them open), a#tis the same table in every database, soSELECT a FROM #tafterUSE db2andSELECT a FROM tempdb..#tread it, and aSELECT ... INTO #tinside a procedure is read by the procedure's later statements in every resolver type. The resolvers still register the declarations themselves, at their positions; withNONEthe parser's catalog gets what resolver2 would put in it when the parse succeeds, sogetSqlEnv()holds them in every resolver type, and a procedure'sSELECT ... INTO #tno longer reaches it, where another procedure's#twas read as that table. - 2026-10-01 Knowing the script's tables while it is parsed exposed four rules of column linking, which now follow SQL (Mantis 4797). An unqualified name that two tables of a statement both have is ambiguous: with
t1andt2both declaringa,SELECT a FROM t1, t2andSELECT a FROM t1 x, t1 yno longer readaas a column of the first table, with the caller's catalog too, unlessUSING (a)or aNATURALjoin merges the column; and a guess between several tables never takes one the catalog proves has no such column. An unqualified name in a derived table belongs to that derived table while one of its tables may have the column, as a derived table sees neither the tables next to it nor the enclosing query: inSELECT x.a FROM t, (SELECT a FROM u WHERE a > 0) xthe innerawas taken for a column oftwhenever the catalog knewt, and lineage reported a derived table over a table function, such as(SELECT PORTFOLIO_ID FROM TABLE(pkg.fn(...))) PF, as reading a table next to it; ClickHouse still prefers an enclosingWITH ... ASalias to a column. A subquery in an expression reads a name from its own tables while they may have it, and reads the enclosing query's column only when the name is compared with a column of the subquery's own tables, its own tables do not prove it and the enclosing query does, by one rule at parse time and in resolver2 alike: inSELECT (SELECT max(v) FROM customfieldvalues WHERE resourceid = resumeid) FROM (SELECT id AS resumeid FROM resumes) r,resumeidisr's, where resolver2 took it for a column ofcustomfieldvalues, while in(select Jahr from m_version_table2 where Jahr234 = year(now()))both names staym_version_table2's though a derived table around the subquery names them too. In MySQL, and OceanBase in a MySQL or system tenant, a name declared as a local variable or a parameter of the routine is that variable, also when a table of the statement has a column of that name, as MySQL documents: afterDECLARE BirthDate DATE,SELECT BirthDate INTO BirthDate FROM Employeesreads the variable, and lineage no longer reportsEmployees.BirthDateflowing into it, whileVALUES(c)andDEFAULT(c)inON DUPLICATE KEY UPDATEread the columnc. Oracle reads the column there, as Oracle documents, and now does so with a script's own declarations too. - 2026-10-01
CountSqlreads each file by its byte order mark and writes its CSV andsql_statements.jsonas UTF-8 (Mantis 4801). It read every file in the platform charset, so a UTF-16 file came out as one statement full of U+0000, and a UTF-8 file with a byte order mark gave no statements at all: in the test corpus, a 552-statement Oracle script counted 0. A file without a mark is still read in the platform charset, which-Dfile.encodingsets. On a windows-1252 JVMsql_statements.jsonno longer holds windows-1252 bytes, and the CSV no longer writes a file name it cannot encode as?. The vendor taken from a directory name no longer depends on the default locale: under a Turkish locale the directoryINFORMIXgavedbvgeneric. - 2026-10-01 The JSON that
CountSqlwrites tosql_statements.jsonand the analyzer v2 export (AnalysisResult.exportJson()) stay valid when a value holds a control character (Mantis 4800). Their escapers passed U+0000-U+001F through raw, apart from the few each one named, so a statement, or a quoted routine or table name, holding one made the JSON invalid: run over the stored-procedure test corpus, 275 of the 2624 lines thatCountSqlwrote held a raw U+0000. Such characters are now written as\u00XX, and the analyzer export also escapes\band\f. - 2026-10-01
JSON.toJSONStringwrites every value inside a JSON array by its type (Mantis 4799). A number, a boolean or a nested array inside a list or array went through the bean writer and came out as{}or as its getters, so re-serializing parsed metadata JSON, as the analysis of a SQLFlow or Grabit export,FileSplitterandLargeFileDetectordo, turned[1,true,[2],2.5]into[{},{},{"empty":false,"first":2,"last":2},{"infinite":false,"naN":false}]. A top-level list of strings came out as each string's getters, a bean whose list held a null threwJSONException, andNaNorInfinitywas written as is, which is not JSON; it is now written asnull, asJSON.stringifydoes. The lineage and graph JSON that GSP builds itself hold no such values and are unchanged byte for byte. - 2026-10-01 The lineage graph JSON stays valid when a node label contains a double quote, a backslash or a control character (Mantis 4798).
DataFlowGraphGenerator.genDataflowGraph,genDlineageGraphandgenERGraphkey theirtooltipmap by the node label, shortened when it is longer than 25 characters, andJSON.toJSONStringescaped values but wrote map keys verbatim, soSELECT o.amount AS "customer_lifetime_value_usd" FROM orders oproduced"tooltip":{""customer_...e_value_usd"":...}, which no JSON reader accepts (the output first reported in Mantis 4385). A backslash, as in the label'C:\temp\new_folder' || o.name, kept the JSON valid but made the key read back as a different string, so a viewer that looks a tooltip up by its label found nothing.JSON.toJSONString, with or without aWriter, now escapes every map key like a value, writes a control character as\u00XXinstead of raw, no longer cuts a string short at a U+FFFF character, and no longer leaves a trailing comma after a null at the end of a list or array.
GSP Java version 4.2.13(2026-10-01)¶
- 2026-09-30 [Sybase, Sybase IQ, SQL Anywhere] A SELECT-list alias used again in its SELECT block is the alias (Mantis 4752). In
select COL_1 as ALIAS_1, ALIAS_1 as ALIAS_2 into TABLE_2 from TABLE_1,ALIAS_1was read as a column ofTABLE_1, soTABLE_2.ALIAS_2had no lineage, and with no catalog lineage reported a columnTABLE_1.ALIAS_1that does not exist. As SAP IQ and SQL Anywhere document, an unqualified name that matches an alias defined earlier in the same SELECT block now means that alias, in the select list, WHERE, GROUP BY and HAVING, for the older resolver and for resolver2:TObjectName.getSourceColumn()is the alias'sTResultColumnandgetSourceTable()is null. Lineage reportsTABLE_2.ALIAS_2 <- TABLE_1.COL_1. The alias wins over a column of the same name, as SQL Anywhere documents, and a table-qualified name still reaches the column. This applies todbvsybase,dbvsybaseiqanddbvsqlanywhere; Sybase ASE (dbvsybasease) is unchanged. A name in a subquery stands for an alias of the SELECT block around it too, as SQL Anywhere allows: inSELECT a AS x, (SELECT x) AS y FROM outer_t,yreadsa, no longer the columnouter_t.x. That holds when the subquery provably has no such column: it reads no table, or the catalog knows all the columns of each table it reads, as bound in that statement's own database, and none has that name. A table with no metadata, or one whose columns are not all known (as afterSELECT * INTO #t), may have it, so there the name stays a column of that table. Lineage follows the alias wherever the resolvers bound one, also over a column of the same name: inSELECT DepartmentID AS DepartmentName FROM Departments WHERE DepartmentName = 'Marketing'the filter readsDepartmentID, notDepartments.DepartmentName. - 2026-09-30 [Sybase, Sybase IQ, SQL Anywhere] An
ORDER BYin the argument list ofLISTparses (Mantis 4721).LIST([ALL | DISTINCT] expr [, 'delimiter'] ORDER BY expr [ASC | DESC], ...), as SAP IQ and SQL Anywhere document it, was a syntax error atORDER, so the statement, or the whole procedure, got no lineage. It now parses indbvsybase,dbvsybaseiqanddbvsqlanywhere, and the clause is theTFunctionCall.getSortClause()of the call; Sybase ASE, which has noLIST, still rejects it. Wherever the parser keeps such anORDER BYas theTFunctionCall.getSortClause()of the call (PostgreSQLstring_aggandarray_agg, Oracle and TeradataXMLAGG, among others), its keys now resolve to their tables like the arguments, in resolver2 and in the older resolver, and lineage reports each key as an indirect (fdr) source of the function, as it already did for OracleXMLAGG: in PostgreSQLstring_agg(s.a, ',' ORDER BY u.b),TObjectName.getSourceTable()ofu.breturned null and lineage had no edge fromusr.b. AnXMLAGGkey named like the alias of the call, ascinXMLAGG(... ORDER BY c) AS c, is now the column instead of an unlinked alias. A key of BigQueryARRAY_AGGstays a direct source, now of the table it names: inARRAY_AGG(s.a ORDER BY u.b)overds.src s JOIN ds.usr u, lineage gaveu.bto the first table of the FROM clause and reportedds.src.b; it now reportsds.usr.b. TheORDER BYof BigQuerySTRING_AGGis still not kept in the syntax tree. - 2026-09-30 [Oracle, Snowflake] The WHEN conditions of a conditional multi-table insert (
INSERT ALL,INSERT FIRST) are row filters (fdr) of exactly the INTO clauses they route rows to. An INTO clause without a column list or VALUES, such asWHEN ottl > 290000 THEN INTO special_orders, got no filter at all; a qualified condition such asWHEN X.K > 0, or a name inside a function, reached no column; and every condition was applied to every target, so inINSERT ALL WHEN K > 0 THEN INTO S.Y (C1) VALUES (V) WHEN W > 0 THEN INTO S.Z (D1) VALUES (V) SELECT ...Wwas reported as a filter ofS.Y.C1. AnINSERT ALLclause is now filtered by its own condition, anINSERT FIRSTclause by its own and every earlier one, and an ELSE clause by all of them, and each condition name is bound to the select item it reads (TObjectName.getSourceColumn()), including the names in the conditions of a CASE inside a WHEN. A name read through a wildcard (SELECT X.* FROM S.X X) reaches its column when the table is declared or the wildcard reads a CTE; over an undeclared table it gets no filter, because inside a routine it may be a parameter rather than a column. - 2026-09-29 [Oracle, Snowflake] A multi-table insert (
INSERT ALL,INSERT FIRST) has lineage for every INTO clause, by that clause's own column list and VALUES. The INTO clauses were mapped by the subquery's column order, soINSERT ALL INTO S.Y (C2, C1) VALUES (V, W) SELECT X.V, X.W FROM S.X XsentX.VintoC1when the script declaredS.Y, and had no lineage at all when it did not. A second INTO clause into the same table replaced the first, the ELSE branch had no lineage, a VALUES expression such asV + Wor a select-list alias was not followed, and a VALUES name ofINSERT FIRSTwas bound to the insert target, soTTable.getLinkedColumns()of the target listed the value names as its columns. Each VALUES item now reads the select item its names are bound to (TObjectName.getSourceColumn()), every branch of a UNION subquery reaches the target, and a name that reads no select item, such as a PL/SQL variable, is not credited to a column of the subquery's tables. - 2026-09-29 A DML target column whose name starts with its table's alias no longer reports the alias as a schema (Mantis 4747). In Oracle
MERGE INTO S.T TGT USING (...) SRC ON (...) WHEN MATCHED THEN UPDATE SET TGT.OBJCOL.ATTR = SRC.V, S.T.W = SRC.V, the targetTGT.OBJCOL.ATTR, an attribute of the object columnOBJCOL, reportedTObjectName.getSchemaString()TGT,getTableString()OBJCOLandgetColumnNameOnly()ATTR, the same shape as the schema-qualifiedS.T.W, whilegetSourceTable()wasS.T; lineage then wrote a columnS.T.ATTRthat the table does not have. The same name in a WHERE clause or a SELECT list was already read as the aliasTGT, the columnOBJCOLand the attributeATTR(getPropertyToken()). A target is now read the same way, under everyEResolverType, in theSETofUPDATEandMERGEand in the column lists ofINSERT,MERGE ... INSERTand OracleINSERT ALL, for every vendor: BigQueryUPDATE ds.t tgt SET tgt.info.name = 'x'now names the fieldnameof the STRUCT columninfo. Lineage writesS.T.OBJCOL.ATTR, or the declared columnS.T.OBJCOLwhen the script declares the table, the column a read of the attribute lands in; an UPDATE or MERGE into such a declared table no longer loses the edge, and an INSERT column list no longer writes the attribute into the declared column at its list position. Two attributes of one object column set by one statement keep their own values. A schema-qualified target such asS.T.W, MySQLtest.t1.cor SQL Serverdbo.t.cis unchanged. - 2026-09-29 [Sybase, Sybase IQ, SQL Anywhere] The Watcom CASE statement of a procedure body parses (Mantis 4717).
CASE [expr] WHEN ... THEN statements ... [ELSE statements] END [CASE]insideCREATE PROCEDURE ... BEGIN ... ENDwas a syntax error from its firstWHEN, so the procedure lost its lineage, while the same logic written withIF ... THEN ... END IFworked. It now parses to aTCaseStmt, whosegetCaseExpr()holds the WHEN branches and the ELSE statements, withEND CASEand with a bareEND, fordbvsybase,dbvsybaseiqanddbvsqlanywhere, and lineage reports the statements of every branch. The statement splitter also no longer takes theCASEofEND CASEfor the start of another CASE, which merged every statement after such a procedure into it. Sybase ASE has no CASE statement and still rejects it. - 2026-09-29 [SQL Server, Sybase] An
EXECof a procedure that a later unit defines binds its arguments (Mantis 4730). Each query of a SQLFlow ingester export, and each file of a multi-file analysis, is analyzed in turn, so when an export listedOD_CustomTransferOfficersbeforeCopyOrganizationProd,EXEC PARAMETER_CONTEXT_TEST.CopyOrganizationProd @SrcOrgID, @AnalystIDbound no argument: lineage had neither@OrgID <- @SrcOrgIDnor@SenderID <- @AnalystID, which it reported when the export listed the two procedures the other way round. Such a call's arguments,OUTPUTones included, are now bound in either order, and the procedure the call names is described by its definition: indataflow.getProcedures()and the JSONdbobjs,CopyOrganizationProdhas the name and position of its ownCREATE PROCEDURE, where it had those of theEXEC. The column lineage of anINSERT ... EXEC, and calls of functions, into a routine that a later unit defines still depend on the order. - 2026-09-29 [Redshift, Sybase] The date part of a date function is no longer taken for a column (Mantis 4760). After
DELETE FROM hist WHERE d < DATEADD(YEAR, -1, CURRENT_DATE),INSERT INTO tgt SELECT * FROM histwas reported with a columnYEARofhistfeedingtgt.YEAR, andTObjectName.getSourceTable()ofYEARreturnedhist. The first argument of Redshift'sDATEADD,DATEDIFF,DATE_PARTandPGDATE_PART, ofDATEADD,DATEDIFF,DATENAMEandDATEPARTin SAP ASE, SAP IQ and SQL Anywhere, and of SAP IQ'sDATEFLOOR,DATECEILINGandDATEROUNDis now a date part for the parser, both resolvers and lineage, as it already was for SQL Server, Snowflake and Vertica. A column in another argument, such asyearinDATEADD(day, year, d), is still a column, and so is the first argument of a function namedDATENAMEorDATEPARTin Redshift, which has no such built-in: the parser no longer marks it as a date part. - 2026-09-29 A procedure's temporary table is its own: lineage no longer merges the temporary tables that unrelated procedures create under one name (Mantis 4715). Next to a procedure that runs
create table #T(COL_2 varchar(10)), the table increate procedure P1() begin select COL_1 into #T from S.TABLE_1; insert into S.TABLE_2(COL_1) select T.COL_1 from #T as T endtook the other declaration's columns, so#T.COL_1 -> S.TABLE_2.COL_1was lost andS.TABLE_2had no source; afterCREATE TEMP TABLE,CREATE TEMPORARY TABLEorCREATE VOLATILE TABLEin another procedure, anINSERTwithout a column list was mapped onto that procedure's columns and reported a column feeding a table it never reaches. A temporary table is now shared where the SQL proves it: a procedure sees the tables of the procedures that call it, and a session table (PostgreSQL, Greenplum, Redshift, MySQL, Snowflake, BigQuery, TeradataVOLATILE, SAP HANA local, SAP IQ and SQL Anywhere#tables, OraclePRIVATE TEMPORARY) created by a procedure is also seen by its caller after the call, while a SQL Server or SAP ASE#table ends with the procedure that creates it. A reference before the declaration, or in a procedure that neither declares the table nor is called with it, no longer reads it, and a temporary table named like a permanent table hides it only inside its procedure. Global temporary tables (Oracle, Db2, Teradata, SAP HANA and VerticaGLOBAL TEMPORARY, SQL Server##) stay one table for every procedure; PostgreSQL's and Snowflake'sGLOBAL TEMPORARYare session tables, as those databases define them. Scripts without procedures are analyzed as before. - 2026-09-29 [SQL Server] A procedure, function or trigger whose body holds a statement GSP cannot parse can keep the rest of its body:
TGSqlParser.setRecoverRoutineBodyErrors(true), orOption.setRecoverRoutineBodyErrors(true)for dlineage, where it applies to the analyzed SQL and not to SQL parsed on the way (dynamic SQL); off by default. Without it such a routine fails as a whole and keeps no body statement, so one statement GSP cannot parse loses the lineage of every other statement in the routine. With it the statement holding each syntax error is skipped -- the innermost statement, in the innermostBEGIN ... ENDblock around the error, that the raw statement splitter finds -- and the routine is parsed again over the same tokens, so every position stays the original one and temporary tables and variables keep their context across the skipped statement. The skipped statements' errors are reported bygetRecoveredSyntaxErrors()(dlineage adds them as syntax errors noted "statement at lines a-b skipped, rest of the routine analyzed") and do not count ingetErrorCount(). A statement that holds aBEGIN ... ENDblock (an IF or WHILE whose condition is broken), or that runs on past a semicolon into the next, is not skipped: it would take statements that parse with it. A routine it cannot recover -- an error in the header, one no statement holds, blocks that do not balance, such a statement -- fails exactly as without the option: every parse of the routine starts from its tokens' state before the first, since a parse changes the tokens it reads. - 2026-09-29 [SQL Server]
ALTER TABLE ... SWITCHhas lineage. The parser readALTER TABLE source SWITCH [PARTITION p] TO target [PARTITION q], but dlineage built no relation for it, so a load that switches a staging table into a partition of a fact table, or a partition out to an archive table, had no lineage at all. The rows move one way (effectType="switch_partition", a newEffectTypeconstant). With every column of both tables known (aCREATE TABLE, or aSELECT ... INTOthat names them all, in the script, or metadata) each column flows into its namesake under the identifier rules, a real column named*([*]) included, and a column only one of the tables has gets no relation; with one table's columns known the other takes them, as SWITCH requires the same columns on both; with neither, one relation joins the source's*to the target's*.EXCHANGE PARTITIONswaps, so it keeps a relation in each direction. The table-level relation'spartitionis the source partition when one is written (SWITCH PARTITION 1 TO archive), which is whatexchange_partitionrecords too: the partition of the altered table. The SLPC adapter lists the new effect with the other storage operations it does not map yet. - 2026-09-29 A CTE exposes only the columns its SELECT list projects, and the body of a CTE or of a derived table no longer sees the FROM clause that contains it. A CTE without a star claimed any other name when its body read a table, so in
WITH s AS (SELECT id FROM t1) SELECT t2.id FROM t2 WHERE EXISTS (SELECT 1 FROM s WHERE s.id = t2.id AND region = 'EU')the correlatedregionbound tos, and lineage published a columnsdoes not have instead oft2.region; a column of another joined table without metadata became ambiguous and lost its lineage. A name a body's own FROM clause lacks bound to a sibling table or to the CTE or derived table itself, which in Snowflake replaced a select-list alias referenced in WHERE. LATERAL and APPLY bodies, and every Teradata or DuckDB derived table, still see the tables to their left, and a wildcard over a CTE still binds to it. - 2026-09-28 A MERGE's row-level lineage reaches its target whatever the USING source is. With a table,
#temp, VALUES or CTE source, or a subquery without a filter of its own, the ON and WHEN conditions stopped at the source's result set (RESULT_OF_<alias>), and a source table filled under a filter or a join (SELECT ... INTO #t ... WHERE) passed none of that on, so those columns reached no table. The rows the conditions pick, and such a source table's rows, now reach the target'sRelationRows(effectType="merge") and the rows of the MERGE's UPDATE and INSERT actions, as a filtered subquery source's rows already did. Oracle'sUPDATE ... WHERE,DELETE WHEREandINSERT ... WHEREin a MERGE are analyzed as conditions too. - 2026-09-28 [ClickHouse] A column, table or database named
formatin anINSERTis no longer taken for itsFORMATclause. The parser took the firstformatword for the clause and the text after it for data rows, soINSERT INTO t (format, b) VALUES (1, 2),INSERT INTO t (a, format) VALUES (1, 'csv'),INSERT INTO format (a) SELECT x FROM sandINSERT INTO db.format FORMAT CSV ...failed to parse. The clause is now theFORMATafter the table, outside parentheses, that is followed by a format name, so a setting namedformat(SETTINGS format = 1) is passed over too. - 2026-09-28 [Formatter] Each
FormatterFactory.ppcall prints in the output format its own option asks for.ppkept the output config of the firstGFmtOpt.outputFmt = GOutputFmt.ofhtmlcall in a static field and printed every later call in the JVM with it, so after one HTML callppandSqlFormatter.formatreturned HTML for default options, andremoveCommentparsed its own HTML as SQL and returned a second layer of HTML (17,715 characters for a 36-character query). A config set withFormatterFactory.setOutputConfigstill applies to every call until it is set back tonull, and the comment-removal pass now always reads SQL back, also under such a config. Threads can share such a config: the calls that first printed with it at the same time could throw aNullPointerException, becauseHtmlOutputConfigmarked itself ready before it had filled its renders. - 2026-09-28 [ClickHouse, Formatter] The rows after
INSERT ... FORMAT <name>keep their text. They were read as SQL tokens, soFormatterFactory.ppand pp2 printedINSERT INTO t FORMAT CSV\n1,a\n2,b;as the single row1,a 2,b, turned the tabs ofFORMAT TSVrows into spaces, merged runs of spaces and re-cased values such asselectandnull, and pp2 reportedOK. The rows are now one token holding the text as written, from where ClickHouse starts reading them: after the format name, the spaces and tabs after it, and one line break. pp2 compares that token byte for byte, so output that changes a row is no longer reportedOK. Rows a SQL reader would take for something else are data too: a first row readingselect(the statement failed to parse), and rows holding only a comment or a blank line (removed byremoveCommentand the empty-line options). The HTML output escapes the rows and shows their line breaks. - 2026-09-28 [Informix] An
EXECUTEorEXECof a prepared statement starts at its keyword. The splitter began the statement afterEXECUTEwithout adding it, sogetStartToken()was the space after the keyword,toString()returnedstatement_1 USING :order_date;, and the formatter printed the keyword outside the statement (EXECUTE s1;EXECUTEon one line). Parse results and corpus coverage are unchanged - 2026-09-28 [ClickHouse] Any
--starts a line comment, as in ClickHouse, where the space after it may be omitted. GSP kept MySQL's rule, where--followed by anything but a space is two minus signs, soSELECT a --original value FROM swas read asa - -original AS value: lineage reported a source columnoriginaland a target columnvalueinstead ofa, and--commentlines stopped a script from parsing.SELECT 1--1is now1followed by a comment, as ClickHouse reads it, and an operator stops before a--(a !=--noteis!=and a comment). In the rows ofINSERT ... FORMAT, which are data, a;after--or#still ends the rows:1,--none--;or1,-- x;followed by another statement no longer takes that statement into the rows - 2026-09-28 [ClickHouse]
stmt1 PARALLEL WITH stmt2keeps its words. The parser rewrote their text to;to split the two statements, soFormatterFactory.ppand pp2 printedDROP TABLE a PARALLEL WITH DROP TABLE b;asDROP TABLE a ; ;and reportedOK: the combinator was silently lost, and pp2's content check could not see it. The words now keep their text, stay keywords (socaseKeywordsapplies to them) and belong to neither statement, so the first statement'stoString()isDROP TABLE a(it wasDROP TABLE a ;) and each statement's text still parses on its own; the parse and the lineage of both statements are unchanged.FormatterFactory.ppgives the keyword case to any keyword between two statements, which no statement's case step reached before: Informixexecutein front of anEXECUTEstatement now takes it too - 2026-09-28 [Formatter, SQL Server, Sybase] pp2 keeps every
GObatch separator. A script that took pp2's per-statement path, because a statement did not parse orPp2FormatOptions.wholeDocumentFastPathwas off, came back without itsGOlines and with statusOK: each statement was formatted without itsGO, and nothing put it back. AfterCREATE PROCEDURE p AS SELECT 1the lostGOput the next batch in the procedure's body.GO 5keeps its count on its line, and a directPp2Engine.formatcall for Azure SQL splits batches atGOtoo. If the output of the per-statement path changes the input's tokens, pp2 now returns the input unchanged with statusFAILEDinstead - 2026-09-28 [Formatter] The delimited-name case (
caseQuotedIdentifier) no longer changes a double-quoted text that the script or the dialect makes a string, inFormatterFactory.ppor pp2. AfterSET QUOTED_IDENTIFIER OFF,SET ANSI_NULLS, QUOTED_IDENTIFIER OFForSET ANSI_DEFAULTS OFF(SQL Server, Azure SQL, SQL Anywhere), after SQL Anywhere'sSET TEMPORARY OPTION quoted_identifier = 'Off'and Firebird'sSET SQL DIALECT 1, and anywhere in Access, MDX, MySQL and the other dialects whose double quotes can delimit strings,SELECT "abc"keeps"abc", where 4.2.12 upper-cased it and pp2 reported the whole document as formatted. A laterSET QUOTED_IDENTIFIER ONis not followed, so a double-quoted name after it keeps its case. Without such a statement SQL Server, Azure SQL, SQL Anywhere and Firebird double quotes are names, as GSP's parser reads them: a script for a connection that has the option off must turn it off itself - 2026-09-28 [Formatter] The name cases of 4.2.12 (
caseTableName,caseColumnName,caseTableAlias,caseColumnAlias) no longer change a name in backticks where the dialect delimits names with them, as ClickHouse, Databricks and Spark do:SELECT `Id` FROM `Orders`keeps both names - 2026-09-28 [Formatter] Under those name cases a name written alike comes out spelled alike. Where a column alias and its use (
SELECT a AS Foo FROM t ORDER BY Foo), or a column and a declaration name resolution does not report (WITH c(Foo) AS (SELECT 1) SELECT c.Foo FROM c, ClickHouseALTER TABLE t MODIFY COLUMN Foo Int32), would come out spelled two ways, the four settings are off for the whole input andPp2FormatResult.isNameCaseApplied()is false; 4.2.12 wroteAS FOO ... ORDER BY foo - 2026-09-27 [Snowflake] A statement in the block of
CREATE TASK ... AS BEGIN ... ENDhas lineage. Looking up the procedure such a statement belongs to went back and forth between the task and the unnamed block until the stack overflowed, so the analysis reported only an error; the task's statements now belong to no procedure - 2026-09-27 With
SELECT *over a join, a column that the join'sUSINGlist names is published once, matched by the vendor's identifier rules. A quoted name such as"a(b"made the statement lose its lineage,USING (a, b)publishedA1andB1,USING ("A")did not merge, and aUSINGin a comment or in a subquery, or one that does not join the table, merged the column anyway - 2026-09-27 [Formatter] Formatting no longer slows down on long scripts. With logging off, the formatter still built a log message for every token edit, each walking a stack trace, and it stripped the blanks before a line break with a regex that went quadratic on a long run of blanks: a customer script that took 1.7 s now formats in 25 ms, with the same output
- 2026-09-27 [Formatter] Removing the tokens before a join's table (
SourceTokenOperator.removeAllBeforeTokenVT) no longer loops forever when one of them was already deleted or token operations are off - 2026-09-27 [OceanBase] Splitting a script no longer slows down on an unclosed comment or quoted text. The regexes that hid comments and strings before looking for system-tenant DDL retried from every position, so a 130 KB script took 6.9 s; it now takes 3.5 ms
- 2026-09-27 Lineage's procedure exclusion patterns (
*,?) and the folding ofLTRIMandRTRIMin dynamic SQL match in one pass, where regexes could retry every split of a long name or text; the results are unchanged - 2026-09-27 The parallel analyzer's merges join a call of a routine, analyzed by one worker, to the routine another worker defined by the vendor's identifier rules, taken from the names as written. In PostgreSQL
SELECT * FROM "MyFn"()now reaches the lineage of the routine"MyFn", which it missed, andmyfn()or"MyFn"()no longer reach the lineage of a different routine ("MyFn",myfn), also with normalized output (Option.setNormalizeOutput(true)), which renames both before the merge - 2026-09-27 [Oracle] In a PIVOT query a bare select-list name no longer resolves to a quoted pivot column of another name. In
SELECT Store FROM orders PIVOT (SUM(order_total) FOR order_mode IN ('direct' AS "Store")),Storeis Oracle'sSTORE, a column oforders, where lineage reported the pivot column"Store" - 2026-09-27 [BigQuery] A column of
UNNEST((SELECT ...))is published under its name as written (MixedCol), like the columns around it, where its folded name (MIXEDCOL) was - 2026-09-26
DlineageUtil.getIdentifierNormalColumnName,normalizeColumnName,getIdentifierNormalTableName,getIdentifierNormalFunctionName,getIdentifierNormalNameandgetColumnNameare deprecated. Lineage no longer calls them; they keep forwarding for callers outside the library, and each deprecation names its replacement for identity and for display - 2026-09-26 A relationship endpoint carries the name of the column its ids point to. When lineage makes one column of several references to it, such as a column reached both through
SELECT *and by name, the endpoints that named it by another spelling now carry the column's published name, in the full and the simple output, the JSON model, the CSV exports and after the parallel analyzer's merges. InCREATE TABLE tgt AS (SELECT p.*, a AS b FROM src p)both edges intotgt.bare labelledb, where one saidB. In a PostgreSQL function that reads aRECORDinIF EXISTS (...)beforeINSERT INTO rolepermissions (role_psk, permission_psk) VALUES (query_record.r_psk, query_record.p_psk),permission_pskis fed byquery_record.P_PSK, where the label saidR_PSK. A label can therefore change case or delimiters with the name its column is published under (EMPLOYEES_DUMP.employee_idis nowEMPLOYEES_DUMP.EMPLOYEE_ID). A relationship that then repeats another in every attribute is reported once. The public merges of published output,DataflowUtility.mergeDataflowsandDataflowUtility.iterativeMergeDataflowsFromFiles, keep apart two relationships one merged dataflow reported apart: the same edge reached from two places in the SQL keeps both coordinates, where a merge kept only the first when their labels agreed. The parallel analyzer withignoreCoordinateno longer drops an edge from one of two stars of one select list: inselect s1.*, s2.* into tgt from s1 join s2 on s1.id = s2.id,tgt.*is fed from both stars, where its merge kept only the edge froms1.* - 2026-09-26 Columns that lineage reaches through
SELECT *are told apart by the vendor's identifier rules instead of by their folded names. With metadata that lists a PostgreSQL or Oracle tabletwith the columns"Amount"andamount,CREATE VIEW v AS SELECT * FROM treports two columns oftand ofv,"Amount"andAMOUNT, each fed by its own column, where one column (AMOUNTin PostgreSQL,Amountin Oracle) fed by both was reported. [Snowflake] A string used as a column alias, as inCREATE TABLE t2 AS (SELECT p.*, a COMMENT 'Remark' FROM t p), is no longer also reported as a column'REMARK'of the select list and oft2. The parallel analyzer's spilled merge no longer reports a column twice when one worker reached it through a star and another named it (SQL ServerCAPARTENZAbesideCAPartenza); it publishes the columns its in-memory merge publishes. The in-memory merge no longer merges a column that one worker only inferred without an identity, such as a name taken from a routine parameter inINSERT INTO tbl VALUES (a), into a same-named column another worker published with one; the spilled merge already kept them apart. The system propertygsp.dlineage.starLinks=legacyrestores the grouping by folded name - 2026-09-26 [Oracle] A record declared as a row of the table it is inserted into (
m g%ROWTYPE, thenINSERT INTO g VALUES m) fills each column ofgfrom the field of the column's name, also for a field writtenm.lidbySELECT ... INTO m.lid. AfterUPDATE g SET v = NULL WHERE lid = m.lid; SELECT s.NEXTVAL INTO m.lid FROM dual; INSERT INTO g VALUES m;the insert reaches the columng.lidthat theUPDATEreads, where a second columnlidofgwas reported;m."Lid"fillsg."Lid"andm.Lidfillsg.LIDthe same way - 2026-09-26 The parallel lineage analyzer (
ParallelDataFlowAnalyzer) keeps column identity where it lost it. Each worker's copy of the catalog keeps every object's name as it was created: PostgreSQL"Amount"no longer becomes a secondamount, a Netezza view created asS."$v_q"is found by the worker that reads it instead of being reported as a new table"$v_q", and functions, synonyms and Oracle packages keep their return columns, priority and members. Merging the workers' results keeps one column per identity: a result set keeps its own columns (a.idandb.idare no longer merged into one), a column named*is not merged into the star, a merged column keeps every attribute a worker stated for it, and SQL ServerNameandNAMEare one column also when results are spilled to disk - 2026-09-25 Two columns of one result set are qualified by their tables (
qualifiedTable) when they are one name under the vendor's rules, not when their folded texts match: HANAsp.Position, sp.POSITIONare still qualified, and so area.NAME RSK, b.NAME RSK(one alias twice, shown asRSKandRSK(1)) and BigQuery struct leavesa.left.Name, b.right.name; a literal'Name'beside the columnNameno longer is. A table function'sRETURN TABLEcolumns are matched to its query's columns by identity - 2026-09-25 [SQL Server, BigQuery] Lineage output tells a column named
*from a star. Such a column is published withstar="false"(column.standsForStar()reads the marker), soDataflowUtility.mergeDataflowsno longer adds anexpand_staredge from it to the table's other columns, the ER graph keeps it, and a whole-row pseudo star of a table that also has such a column is reported under its own endpoint instead of the column's id. A star written into the catalog for a table whose width is not known, byCREATE VIEW ... SELECT *or by lineage writing back a star it could not expand, is recorded as such (TSQLTable.addUnresolvedStar(),TSQLColumn.isUnresolvedStar()) and is not a column of the table; a catalog column named*is a column, so a synonym over it keeps itssynonymrelationship - 2026-09-25 [SQL Server, BigQuery] A column named
*([*]in SQL Server,`*`in BigQuery) is a column, not a star, although it is shown as*.INSERT INTO t2 (x, y) SELECT [*], a FROM treportst.* -> INSERT-SELECT-1.* -> t2.x; previouslyt2.xhad no source, and a columnAthattdoes not have was reported - 2026-09-25 A select-list expression that contains
*, such asa * borCOUNT(*), is no longer taken for a star. ACREATE TABLE ... AS SELECTwhose list has one is defined by its select list, so a laterINSERT INTOthat table without a column list maps by position to its columns instead of adding columns named after the inserted ones, and a script variable such as$listinNOT IN ($list)is no longer reported as a column of the table - 2026-09-25 [Oracle] A synonym in the metadata catalog is matched to the analyzed SQL by identity under Oracle's rules.
FROM ZY."address_synonym" areads the stored lower-case synonymaddress_synonymand reaches its base table; the unquotedZY.address_synonym, which Oracle reads asADDRESS_SYNONYM, no longer does. A profile's own rules for synonyms (IdentifierProfile.builder(vendor).withObjectRules(ESQLDataObjectType.dotSynonyms, ...)) apply to them. A synonym relationship stated both by the metadata and by the catalog is reported once, and a base table named only by the catalog reports no source position - 2026-09-25 [Snowflake, ClickHouse, BigQuery, Oracle] The SQLDep and sqlflow metadata readers key names by the vendor's rules instead of a folded name: Snowflake
ordersand"orders", ClickHouseOrdersandorders, and BigQueryp.d.Ordersandp.d.ordersare two tables, and Oracle proceduresload_pandLOAD_Pin SQLDep metadata are one. Procedures, functions, triggers and synonyms are keyed by their own object rules, and a metadata server of another vendor than the analysis keeps that vendor's rules for its tables and columns - 2026-09-25 [Oracle] A pipelined table function's cursor may name a schema-qualified table by its bare name: in
FOR item IN (SELECT src_table.id FROM hr.src_table)the function's column traces tohr.src_table.id, no longer to a tablesrc_tablethe query does not read. Object and collection types are found by their names as written, so"demo_row"andDEMO_ROWare two types. TheModelBindingManagerpipelined registry methods that take text keys (indexObjectType,getObjectTypeFields,indexCollectionType,getElementTypeName,findPipelinedSignature,findPipelinedSignatureAny,getPipelinedSignatures) and thePendingPipelinedCallSiteconstructor are deprecated in favour ofindexObjectTypeFields,getObjectTypeFieldsByKey,indexCollectionElementType,getCollectionElementType,findPipelinedSignatureByKeys,findPipelinedSignatureAnyByKeys,getPipelinedSignaturesByKeyandPendingPipelinedCallSite.forFunctionKeys - 2026-09-25 [Oracle] Lineage reads a package body's variables, constants and cursors from every member of the package.
v_count := 0inreset_countandINSERT INTO log_t(n) VALUES (v_count)inlog_itnow read one package variablev_count; previously each member got its own unrelated copy, and only a member named like its package saw the package's.FOR r IN c LOOPandFETCH c INTO ...over a package-level cursorcin a member now follow that cursor, sosrc.a -> dst.athrough it is reported - 2026-09-25 [Oracle] A routine declared inside another routine or inside a trigger reads the enclosing routine's variables: in
PROCEDURE outer_p AS v NUMBER; PROCEDURE inner_p IS BEGIN INSERT INTO dst(a) VALUES (v); END; BEGIN SELECT a INTO v FROM src; inner_p; END;thevininner_pisouter_p's, sosrc.a -> dst.ais reported. AFETCH ... INTOthose variables binds each cursor column to its own target instead of fanning every column onto every target. A declaration in the nested routine still shadows the outer one: a nestedCURSOR cis its own cursor - 2026-09-25 [Oracle]
%ROWTYPEand%TYPEanchors name the cursor, record or type declared in scope before a table of the same name, as PL/SQL does: with a tablecand a localCURSOR c,r c%ROWTYPEtakes its fields from the cursor, and nothing flows out of the tablec. A record-field anchor such ass_col g_gof.sColumn%TYPEis a type, no longer a data flow from a local variable that happens to be calledsColumn - 2026-09-25 [SQL Server, Sybase, MySQL] After
USE db, a reference inside a routine to one of its parameters is that parameter. A second, differently scoped copy is no longer created:CREATE PROCEDURE find_jobs @nm VARCHAR(50) AS ... WHERE JobTitle = @nmreports one@nm. An argument passed to a routine binds to the callee's parameter, not to a same-named local of the caller - 2026-09-25 [SQL Server] Inside a routine body, the routine's own parameter wins over a same-named variable of a later batch. In
CREATE PROCEDURE copy_it (@OrgID INT, @SenderID INT, @AnalystId INT = NULL) AS EXEC push_it @OrgID, @SenderID, @AnalystId, followed afterGObyDECLARE @AnalystID INT ... EXEC copy_it @SrcOrgID, @AnalystID, the@AnalystIdpassed topush_itiscopy_it's parameter. The batch's@AnalystIDfills@SenderID(the second positional argument) and no longer appears to reach the column fed by@AnalystId - 2026-09-25 [Oracle] A trigger's correlation names (
:NEW,:OLD,REFERENCINGaliases) and its local variables are separate names: withREFERENCING NEW AS nandDECLARE n NUMBER,:n.a := nwrites the localninto the new row's columna. Two triggers that declare the same variable name keep two variables - 2026-09-25 Variables, cursors, declared types, trigger correlation names and table variables in the lineage model are keyed by the scope that declares them and their names as written, under the analysis's identifier rules.
ModelBindingManager.getTableByName(String)finds one by its name as written, such as@x; a name composed with a routine's scope, such asPROC.@X, no longer finds a variable, andModelBindingManager.getModel(Object)no longer returns variables or cursors for such composed strings. NewModelFactory.createReferencedVariable(...)resolves a reference to the declaration visible from it;ModelFactory.createVariable(...)keeps declaring in the current scope.ModelBindingManager.pushIdentityScope(String),ModelBindingManager.peekIdentityScope()andModelFactory.pushIdentityScope(String)are deprecated - 2026-09-25 [Oracle] A call to a package member written with its package, such as
emp_admin.hire_employee(...), binds to that member, so its arguments flow into the member's parameters instead of into an opaque function result. A call never binds to a trigger of the same name - 2026-09-25 [SQL Server]
EXEC schema.[innerSp]binds to a procedure defined as[schema].[innerSp], and a call writtensync2_CanUpdatebinds tosync2_canUpdate: calls match definitions by the vendor's identifier rules, not by raw text - 2026-09-25 [DB2, Oracle, SQL Server] A delimited routine name is matched by the vendor's rules. DB2
F_GetRFECustomerName(...), which DB2 reads asF_GETRFECUSTOMERNAME, no longer links toCREATE FUNCTION "F_GetRFECustomerName", a different routine; an Oracle call"mixedCase"(...)now links toCREATE FUNCTION "mixedCase". A delimited name that contains a parenthesis, such as SQL Server[P(], is read as one name - 2026-09-24 [Teradata] Parsing Teradata on several threads at once no longer loses data type names. Two threads could fill the type maps together on their first lookup and lose entries for the rest of the JVM, so
x(DATE)parsed as a function call; the maps are now filled once, before any thread reads them - 2026-09-24 A call is published as made from the routine it is written in, not from the first routine of that name: in PostgreSQL, a call of
h()inside the overloadp(a int, b int)was published as made fromp(a int) - 2026-09-24 Lineage tells tables apart by the vendor's identifier rules also when the analysis configures no identifier profile. Under the vendor defaults it keyed a table by a folded name, so it merged tables the rules keep apart, such as Snowflake
ordersand"Orders", and split tables the rules call one; a table found in the SQL, in the catalog or in a metadata file now carries the identity of its name as written
GSP Java version 4.2.12(2026-09-28)¶
- 2026-09-27 [Formatter] New
GFmtOptsettings give table names, column names, table aliases and column aliases a case of their own:caseTableName,caseColumnName,caseTableAliasandcaseColumnAlias. Unset, they followcaseIdentifier, so existing output does not change. Which name is which comes from name resolution (TSQLResolver2), so they apply only to SQL that parses. They never change delimited names ("x",[x],`x`), and where resolution does not report every use of a table name or alias (for example SQL Server'sUPDATE o ... FROM orders o) and one name would get two cases, they are off for the whole input - 2026-09-27 [Formatter]
Pp2FormatResult.isWholeDocument()tells whether pp2 returnedpp's output for the whole input, andisNameCaseApplied()whether the per-kind name cases above applied.FormatterFactory.ppclears its per-session objects even when formatting throws - 2026-09-27 [Formatter] Requested transformations are accepted in their exact expected form:
Pp2FormatOptions.transformPolicy(TransformPolicy) letsTokenEquivalenceand pp2's guards accept variable case, delimited-name case, compact mode's rewrite of--comments as/* -- ... */, and comment removal, each only as asked, or unchanged. Optimizer hints and MySQL/*! ... */comments never change, and name case applies only to real names in each dialect (not to double-quoted strings in MySQL and related dialects, never to{...}ODBC escapes). With the policy, pp2 keeps compact or comment-removing output instead of falling back to recovery layout - 2026-09-27 [Formatter]
GFmtOptFactory.newRegisteredCopyregisters a full copy of aGFmtOptunder a fresh session id, andGFmtOptFactory.removereleases a registration - 2026-09-27 GSP format worker service (
gsp_format_worker): the Instant SQL Formatter's compact mode is applied, with its line width in compact mode; table, column, alias and other identifier case each apply to their own names; column aliases keep their spelling; the list style no longer stacks function arguments (a call such asCOALESCE(a, b, 'none')stays on one line, as in the classic formatter);/checkaccepts apolicyfor requested transformations; and each candidate reports the options its run did not apply (options_not_applied)
GSP Java version 4.2.11(2026-09-25)¶
- 2026-09-25 No change to the parser library: 4.2.11 is 4.2.10 plus three endpoints in the GSP format worker service (
gsp_format_worker):/checkreports whether formatted SQL kept every token and comment of the input,/parse-probereports which of several dialects parse a script, within a time budget, and/highlightcolors SQL by the GSP lexer without changing its text
GSP Java version 4.2.10(2026-09-24)¶
- 2026-09-24 [Doris, StarRocks] More column definitions parse in
CREATE TABLE: the aggregate typesHLL_UNION,BITMAP_UNION,REPLACE_IF_NOT_NULL,PERCENTILE_UNION(StarRocks) andQUANTILE_UNION(Doris);ARRAY<...>,MAP<...>andSTRUCT<...>column types, nested ones such asARRAY<ARRAY<INT>>included;CREATE EXTERNAL TABLE; StarRocks generated columns written without parentheses (newcol DOUBLE AS array_avg(arr));DECIMALV3(p, s)and inverted indexes withPROPERTIES (...)on Doris;VARBINARYwithout a length on StarRocks. Doris readsPROPERTIESvalues written in double quotes, and the>>operator parses on both - 2026-09-24 [Doris, StarRocks] More
CREATE TABLE ... AS SELECTforms parse with their query: a list of column names, as inCREATE TABLE t (a, b, c) AS SELECT k1, k2, k3 FROM src, which names the columns of the query by position; aPROPERTIES (...)table option, also before the query (on DorisPROPERTIESstays usable as a column name); and table clauses the grammar does not read, such asDISTRIBUTED BYorPRIMARY KEYon StarRocks orPROPERTIESwith double-quoted strings, which are skipped while the table name, the column list and the query are kept. A syntax error inside the query is reported instead of the query being cut short - 2026-09-24 [Sybase] After
SET QUOTED_IDENTIFIER OFF, a double-quoted text such as"psychology"is read as a character string, as ASE reads it, instead of a column, so lineage no longer reports a column the script never named.SET QUOTED_IDENTIFIER ONrestores the identifier reading. A script that never sets the option keeps reading double-quoted text as an identifier - 2026-09-24 Lineage keeps two different names apart when the legacy name fold gives them one string. Examples: PostgreSQL and Snowflake
"Amount"andamount, ClickHouseuserIdanduserid, Oracle and Dameng"Amount"andamount, and SQL ServerAmountandAMOUNTunder a case-sensitive collation. Without metadata, a reference throughSELECT *used to report both columns as its source; it now reports its own. FlinkCREATE TABLE OrdersandCREATE TABLE ordersare now two tables. A column list overSELECT *(CTAS, view, CTE) still gets the column in its position. Analyses without such a pair produce the same output as before - 2026-09-23 [ANSI, Generic, ODBC] Regular identifiers fold to upper case and delimited ones stay exact, as the SQL standard specifies:
"ORDERS"now matchesorders, and"orders"no longer does. Metadata stored in upper case is found by a bare reference - 2026-09-23 [Access, DAX, MDX, Power Query] Identifier rules follow each product. Access, DAX and MDX compare delimited names case-insensitively and keep their case, and Power Query M compares names case-sensitively. Access reads
[Orders]as a delimited name. InSQL_RENDERlistings a DAX column keeps its brackets, and a simple DAX table name is shown without quotes (Orders, while'Sales Territory'keeps them) - 2026-09-23 [Sybase, SQL Anywhere] A quoted name matches its other spellings case-insensitively (
"Orders"andordersare one table on ASE, IQ and SQL Anywhere), so metadata registered under a quoted name is found andSELECT *expands to its columns - 2026-09-23 [DuckDB, SQLite, Firebird] DuckDB and SQLite compare quoted names case-insensitively and keep their case; Firebird folds unquoted names to upper case like Oracle. Metadata stored as
"Orders"("ORDERS"on Firebird) is found byorders, andSELECT *expands to its columns - 2026-09-23 [Flink] Identifiers keep their case and match case-sensitively, quoted or not, as Flink specifies: a backticked
`userId`is the columnuserId, andsrcno longer resolves to a tableSrc - 2026-09-23 [Teradata] Quoted names compare case-insensitively, as Teradata specifies, and keep their stored case, so metadata that quotes every name (as the SQLFlow exporter writes it) matches unquoted references
- 2026-09-23 [Hive, Spark SQL, Impala, Databricks] Backticked names compare case-insensitively, as each product documents, and keep their stored case:
`Orders`resolves to metadata stored asorders, andSELECT *through it expands to the real columns. Backticked column names are shown without backticks in lineage output - 2026-09-23 [Redshift] Delimited identifiers fold to lower case and compare case-insensitively, as AWS documents when
enable_case_sensitive_identifieris off:"Orders"andordersare one table. Delimited column names are shown without delimiters in lineage output - 2026-09-23 Lineage follows a configured
IdentifierProfile. Under a stricter configuration (for example SQL Server with a case-sensitive collation), tables such asdbo.Ordersanddbo.ORDERS, and columns such asAmountandAMOUNT, stay two objects in the lineage model, the output merges and resolver2'sSELECT *push-down. A configured profile with neither metadata nor DDL no longer produces an empty analysis. Output under the default rules is unchanged - 2026-09-23 The catalog's schema index is keyed by the name service for every vendor, so
TSQLEnv.searchTablegives the same answer whether it is passed aTObjectNameor a qualifiedString. Previously the two could disagree under a configured rule for all but Snowflake and BigQuery - 2026-09-22
IdentifierProfilerules can be configured per object category withIdentifierProfile.builder(vendor).withObjectRules(ESQLDataObjectType, IdentifierRules), for example case-insensitive table names alongside case-sensitive column names.TSQLEnv(vendor, profile),TGSqlParser.setIdentifierProfile,Option.setIdentifierProfile(lineage) andTSQLResolverConfig.setIdentifierProfileapply one configuration to the catalog, the parser, resolver2 and lineage of an analysis, and a conflicting configuration throws - 2026-09-22 [Spark SQL, DuckDB, ClickHouse] Columns removed by a star exclusion (
* EXCEPT (...),* EXCLUDE (...)) are no longer projected into lineage. A ClickHouseEXCEPT (x) REPLACE (...)keeps itsEXCEPT, and an exclusion by regular expression keeps the full expansion, since its excluded set cannot be computed. Two stars of unknown width in one select list are no longer split between the targets by position - 2026-09-22 [BigQuery] Tables whose names differ only in case stay two tables in the schema index and in lineage
- 2026-09-21 Lineage keeps a column's spelling and catalog identity through lookup, star expansion, model copies and merging. [Oracle] A
%TYPEanchor keeps its written name, and an ordinary qualified type name no longer creates a dependency - 2026-09-21 [Formatter] PrettyScore penalizes a script formatted into one over-wide line: the new TOKEN_WALL, INDENT_NOT_SHOWN and WIDTH_DOMINANT findings fire only when most of the script sits on one line, so such output no longer outranks a real wrap
- 2026-09-20 [Snowflake] Quoted names that differ only in case (
"Orders",ORDERS) stay separate catalog objects, and environment merges keep stored names - 2026-09-20 Lineage looks up a delimited table by its spelling as written, so a table missing from the catalog is not retried as a different, unquoted object
- 2026-09-20 The catalog provider is now the only index in
TSQLEnv. Oracle"Orders"andORDERSno longer share an entry, soSELECT * FROM "Orders"no longer expands to the columns ofORDERS. SQL Server[my.db].dbo.t2is filed under the catalogmy.db, and a name with a dot inside it is no longer found by its last part - 2026-09-20
TTable.getCatalogStatus()(ETableCatalogStatus:NOT_CHECKED,FOUND,NOT_FOUND) reports whether a base table was found in the catalog, separately from how its columns resolved. Oracle"Orders"andORDERSno longer collide in the catalog store - 2026-09-20 Metadata files declare how their names are written:
"nameForm": "SQL_LEXICAL"or"CATALOG_STORED". A name read back from a database catalog (Oracle stores a column created as"Amount"underAmount) is now matched as that stored name. The sqlflow servers format (plain and sharded) defaults toSQL_LEXICALand the JSON manifest toCATALOG_STORED. Eager and lazy catalog loading and the model validator all honour the declaration, and a misspellednameFormfails loudly - 2026-09-20 [MySQL, Doris, OceanBase, StarRocks] A catalog column, function, procedure or trigger is normalized by its own object type rather than the table rule, so a column registered as
AmountreportsgetName()=Amount - 2026-09-19 Keyword tables were audited against each vendor's official reserved words. 108 missing reserved words were added across 11 dialects, among them Snowflake
WINDOW, MySQLQUALIFYandTABLESAMPLE, and HiveMERGEandEXCEPT. The SAP IQ and HANA lists were extended, SAP IQ no longer shares ASE's table, and thirteen dialects get a table of their own. Generated SQL names delimit these words - 2026-09-19
SQL_RENDERlistings print one deterministic spelling per object instead of echoing each spelling the script used, sodbo.SalesOrderand[dbo].[SalesOrder]are one table.SqlNameGenerator.QuotePolicy(WHEN_NEEDEDby default, orALWAYS) controls the delimiters - 2026-09-19 The Tables/Fields listings (
TGetTableColumn,TSQLResolver2ResultFormatter) de-duplicate by object identity rather than by rendered text: BigQuerySalesandSALESare listed as two tables, and OracleSales,SALESand"SALES"as one - 2026-09-19 New
SqlNameGeneratorgenerates a SQL name from stored name segments with correct delimiting and escaping. For example, a SQL Server stored name[db name], whose brackets are part of the name, becomes[[db name]]]. A name it cannot prove correct fails with a reason instead of returning a plausible-looking spelling - 2026-09-19 Display names come from the name service.
DisplayNameMode.CANONICAL, which used to behave likeDISPLAY, now folds unquoted names as the vendor does (upper case on Oracle and Snowflake, lower case on PostgreSQL), while quoted names keep their case - 2026-09-18 Opt-in SQL comment object bindings: with
Option.setCollectCommentBindings(true)lineage collects each comment together with the AST object it belongs to, keeps the bindings through merging, filtering and parallel analysis, and reports coverage and degradation diagnostics. Off by default - 2026-09-18 [Oracle] Bare and qualified PL/SQL calls (
proc_name;,pkg.member()) bind to the declared package members, including forward calls, and keep their argument lineage, call-site comments and anonymous callers; a fullwidth comma (U+FF0C) is accepted as a separator without rewriting the SQL - 2026-09-17 [SQL Server] Temporary-table metadata stays local to each routine, while proven caller and session visibility is kept. Function-name output is compatible again, and expanding declared columns keeps their source coordinates
- 2026-09-17 DDL metadata in a script is resolved at each statement's position, and catalog names are kept distinct from their SQL spellings
- 2026-09-17 [Doris, StarRocks]
CREATE TABLEis built as aTCreateTableSqlStatementby the statement splitter and parsed by the grammar, where it used to pass through unparsed - 2026-09-17 [Oracle] A bind variable is accepted as the
XMLTABLEquery string, andPASSINGexpressions are traversed so the resolver and lineage see their SQL inputs (MantisBT #4740) - 2026-09-16 [Oracle] A script's own comments reach the output: the xml procedure model gains
commentanddisplayName(GSP never fillsdisplayName),oraclePackagegainscomment, andgetCommentAfterNode()returns the comment after a node instead of the leading one (it used to throw on a node without one); the newgetCommentBeforeNode(boolean)returns the comment block that belongs to a node - 2026-09-16 [Databricks] Liquid clustering (
CLUSTER BY) in CREATE TABLE and CTAS is parsed and its columns are registered against the target for the resolver and lineage (MantisBT #4732) - 2026-09-16 [Databricks] Parenthesized table sources in FROM are parsed, keeping the underlying table name for resolution and column lineage (MantisBT #4733)
- 2026-09-16 [Teradata] Generic table operators accept
ASinput aliases,PARTITION BYandORDER BY; the input clauses are exposed apart from the output alias and resolve against the ON source only (MantisBT #4734) - 2026-09-16 [Snowflake]
COPY INTOwith an explicit target column list and a stage source binds the destination columns to the COPY target and keeps the selected subset in stage/file lineage (MantisBT #4735) - 2026-09-16 [Snowflake] Function names with an omitted schema (
db..func()) are parsed and resolved, applying Snowflake's PUBLIC schema rule independently of the session's current schema (MantisBT #4736) - 2026-09-16 [Oracle] The physical table inside a Data Pump
RELATIONAL(...)wrapper is parsed with its flashback clause and alias, so resolver and lineage keep the actual source table (MantisBT #4737) - 2026-09-16 [Oracle] Support
SHARINGbefore table definitions and CTAS - 2026-09-16 [Oracle] Support
AS OF SNAPSHOTflashback expressions - 2026-09-16 [Oracle] Preserve bind parameters in character type lengths
- 2026-09-16 [Oracle] Recognize
U-prefixed Unicode string literals - 2026-09-16 [Oracle] Support asterisk precision for
DECIMALandDEC - 2026-09-16 [Oracle] Support index maintenance clauses after a partition exchange
- 2026-09-16 [Oracle] Support parenthesized value tuples in row comparisons
- 2026-09-15 The Tables/Fields listing drops a
t.*line once every column oftis printed on its own line (listStarColumn=falsestill hides it outright), and resolver2 seesCREATE TABLEstatements earlier in the same batch - 2026-09-14 [BigQuery, Snowflake] A struct field whose base column more than one relation in
FROMcould provide is left unresolved, instead of being bound silently to the first relation. resolver2 now modelsJOIN ... USINGmerged columns, soSELECT c FROM a JOIN b USING (c)resolvescinstead of reporting it as ambiguous - 2026-09-11 [SQL Server] A signed literal in an
EXECargument (EXEC p @NumberRecords = -1) keeps its digits and is typed as unary minus (MantisBT #4724) - 2026-09-11 [Snowflake] A
CREATE FUNCTIONbody delimited by single quotes is returned bygetBlockBody(), stamped as a Snowflake block node, like the$$form; lineage was not affected (MantisBT #4723)
GSP Java version 4.2.9(2026-09-09)¶
- 2026-09-05 [Snowflake]
IDENTIFIER(...)table names are recognised from the SQL tokens, so whitespace or a comment before the opening parenthesis no longer leaks into the source table name; qualified-name parts and quoted spelling are preserved (MantisBT #4714) - 2026-09-05 [Formatter] PrettyScore no longer rewards an alias split off its expression under the ALIAS_COLUMN_VAR rule
- 2026-09-04 [SQL Server] MERGE and UPDATE targets that are writable CTEs are analyzed: the modified projections map to the one physical base table behind the CTE. An ambiguous or non-updatable CTE stays a result set and raises a syntax hint instead of inventing a base table
- 2026-09-04 Projected DML targets in lineage are hardened against the same shape
- 2026-09-04 [Formatter] Statements inside PL/SQL
IFbranches are laid out on their own lines, and a standalone comment is aligned with the code it precedes - 2026-09-04 Fix the source offsets reported for the end-of-file token
- 2026-09-02 [Snowflake] Parse dynamic table refresh DML
- 2026-09-01 [Snowflake] Parse the dynamic table
EXECUTE ASuser and column nullability - 2026-08-31 [Oracle] A trigger's
SELECT INTOkeeps each pseudo-record target by ordinal, so a multi-columnSELECT INTOno longer collapses every column onto the final field. CustomREFERENCINGbindings and positional handling through set operations are preserved (MantisBT #4707) - 2026-08-31 [SQL Server] Optional support for
:name,:1and:@namebind variables, off by default and scoped to the parser instance (Option.setEnableMssqlColonBindVariables, also honoured byDataFlowAnalyzer);ITokenListHandlecallbacks are restored for delegated parsers (MantisBT #4706) - 2026-08-30 [SQL Server]
SEND ON CONVERSATIONkeeps its parsedconversation_handlewhen the optional clauses are absent, instead of failing a token-to-object-name cast (MantisBT #4690) - 2026-09-03 [SQL Server]
DynamicSqlSite.getUnresolvedFragments()names the holes of a dynamic-SQL site: for everyEXEC/sp_executesqlsite the abstract evaluator saw, oneUnresolvedFragmentper value it could not fold, with the variable or parameter (@Where,@entity), the hole kind (SqlFragment.HoleOrigin, now alsoQUERY_ASSIGNED_VARIABLEandFLOW_DEPENDENT_VARIABLE), the reason, the data source the value would come from (dbo.SSF_Entity.Entity), and the 1-based origin span to highlight (the assignment, the parameter declaration, or the reference).getMaterializedText()is the materialized argument when it reduced.INSERT INTO t EXEC(@sql)(the string form, no module name) is now analyzed like its top-level twin: it records a site and its inner statement's lineage.getUnresolvedHoleCount()now equals the list size whenever the fragments are known: a variable assigned from a query, appended to a literal, reported0exact; a query-assigned statement executed throughINSERT INTO #t EXEC sp_executesql @sqlreported-1(the evaluator did not descend intoINSERT ... EXEC). A site whose argument is nothing but one unknown value is reported asargument is a runtime variableinstead of a parse failure of text that was never SQL. In LEGACY trust mode a RESOLVED site whose argument carries a real hole no longer lists proven relationship ids. The evaluator now treats a variable written by anOUTPUTargument or return status of a static procedure call, or byFETCH ... INTO, as an unknown value: previously it was believed NULL, soCONCAT(...)/ISNULL(...)erased it and a fabricated literal string could be analyzed as resolved lineage; those sites are now UNRESOLVED with the variable listed. Lineage output is otherwise unchanged - 2026-09-02 [Formatter]
TokenEquivalenceexposes its two halves,solidTokensEquivalentandcommentsPreserved, and the format worker (gsp_format_worker) now applies them instead of a second token policy of its own: a candidate GSP core accepts is usable in the worker too (the Oracle SQL*Plus-vs-keyword case), a pp candidate core rejects is reported asINVARIANT_FAILEDwhile the token-safe pp2 result stays usable (the DB2=?files), and the comment check compares text and order rather than counts - 2026-09-02 [Formatter] Fixes for the ISF prettyscore corpus handoff:
FormatterFactory.ppno longer throws NullPointerException on a BigQuery subquery expression without its own parenthesis tokens;TokenEquivalenceaccepts the Oracle lexer's SQL*Plus-command classification of a word at column 0 (exit) against the same word as a keyword once indented; andFormatterFactory.pp2gains a whole-document fast path (Pp2FormatOptions.wholeDocumentFastPath, default on): when the input parses as a whole and pp formats it without changing a token, pp2 returns that text asOK, giving byte parity with pp on parseable input and fixing the SnowflakeEND$$end-of-input token loss; the regional pipeline still handles everything else - 2026-09-02 [Formatter] Compound statements without a dedicated formatter (T-SQL
BEGIN TRY ... END CATCH, PL/pgSQL and DB2 loops, MySQL and DB2IF/WHILE,REPEAT) had their bodies printed as one glued line byFormatterFactory.pp. Their body statements now get their own lines one indent deeper, the opening (ELSE,BEGIN CATCH) and closing (END ...,EXCEPTION,ELSEIF) keywords start their own line at the statement column, and the body statements are formatted recursively. A SQL Server procedure whose body starts after comment lines is laid out too (the search forASskipped no comments and left the whole body on one line) - 2026-09-02 [Snowflake, BigQuery, Teradata, Databricks]
FormatterFactory.ppputs aQUALIFYclause on its own line, aligned with the other clause keywords, and breaks its predicate at AND / OR like WHERE;GROUP BY ALLgets its own line although it has no items - 2026-09-02 [Formatter]
CREATE MATERIALIZED VIEW ... AS <query>is laid out likeCREATE VIEW(AS on its own line, the query one block indent deeper) instead of hanging off the column after AS. PrettyScore no longer treats BigQuery'sSELECT * EXCEPT (...)/* REPLACE (...)as a set operator that must start a line - 2026-09-02 [Formatter] A function argument that fits on its line keeps its
AND,ORand||inline inFormatterFactory.pp(If(a = 1 OR b = 'X', x, NULL)used to break beforeORlike a WHERE clause); a packed select list (longer thanmaxSelectListColumn) is filled by line width only, without the extra break every 20 items - 2026-09-02 [Formatter] PrettyScore consistency rule: a width-filled list (several items per line up to the line width, pp's layout for lists longer than
maxSelectListColumn) no longer counts as LIST_STYLE_MIXED when every line break is forced by the width or by a multi-line item, and the select list of a parenthesized subquery is judged once instead of again as a paren list - 2026-09-02 [Formatter] Inside a routine body the clause keywords of DELETE, UPDATE, INSERT and MERGE (SET, WHERE, VALUES) landed at column 0 while the statement was indented; they now follow the statement column like SELECT's clauses. Alias alignment no longer follows one over-long select item past the line width (the outlier keeps a single blank). A wrapped argument list (
functionCallParametersStyle=AsWrapped, the default) breaks atlineWidthinstead of staying on one line. After( -- commentthe next token starts right after the parenthesis - 2026-09-02 [Formatter] PrettyScore spine rule: a JOIN under the first table of FROM and an INSERT ... SELECT whose query sits one unit under INSERT are pp's own layouts and no longer count as CLAUSE_COLUMN_DRIFT
- 2026-09-02 [Formatter] Lay out
CREATE TABLE ... AS <query>likeCREATE VIEWinFormatterFactory.pp:ASon its own line at the statement column and the query one block indent deeper. The query used to hang off the column afterAS, so a long table name pushed every line of the query to the right. SQL Serveralias = exprselect items are no longer padded by alias alignment - 2026-09-02 [Formatter] Break the line before a statement that starts on the line of the previous statement's terminator (
SELECT x FROM t; SELECT y ...) inFormatterFactory.pp; every column of the second statement was measured from the terminator, so its select items landed at column 24 and its FROM at column 10 - 2026-09-02 [Formatter] PrettyScore indent rule:
SELECT *before FROM no longer demotes FROM from a clause head (a*is not a multiplication there), select-list modifiers (DISTINCT, TOP n, DISTINCT ON) no longer count as the first item, and inside CASE an AND hanging under the WHEN predicate or a||one unit past the THEN expression is accepted. These were scorer false positives that made INDENT_JUMP the top backlog rule - 2026-09-02 [Formatter] Keep packed select lists readable in
FormatterFactory.pp. A select list longer thanmaxSelectListColumn(default 20) is packed several items per line; a packed line now respectslineWidth, ends at a comment (the item after the comment used to be re-indented to the column it would have had on the unbroken line, up to hundreds of blanks), gives a CASE expression or subquery item a line of its own, and is no longer padded by alias alignment (MantisBT #4299). The re-indent after a line comment elsewhere is capped at half the line width and otherwise falls back to the indent of the preceding code, so successive comment lines no longer push statements further right - 2026-09-02 [Formatter] Stop emitting blanks before a line break in
FormatterFactory.ppoutput. A blank left behind a--comment became part of the comment when the output was lexed again, and most formatted lines ended in trailing whitespace; no-format zones stay verbatim and the blank after a MySQL$delimiter is kept. Existing golden outputs were regenerated (whitespace only) - 2026-09-02 [BigQuery] Keep the user's spelling of a backtick-quoted path such as
`project.dataset.table`in formatted output (pp and pp2). The BigQuery tokenizer splits it into parts for the grammar; the parts now carryTSourceToken.splitFromand the formatter prints the original token once - 2026-09-02 [Formatter] Fix NullPointerException in pp when a comment sits between
WITHand the first CTE, between a CTE'sASand its query, or between an INSERT column list's(and its first column (SourceTokenSearcher.backforwardSearchSolidskips trivia), and when a function-call argument list has no source token - 2026-09-02 [Formatter] Add PrettyScore (
gudusoft.gsqlparser.pp.score.PrettyScore), a readability scorer for formatted SQL: given a formatted text and its dialect (plus optionally the original text and the formatter options used) it returns a 0-100 score, the attainable score with unfixable deductions added back, per-dimension scores (spine, indent, width, density, alignment, consistency, grouping, comments), every finding with a position-independent fingerprint, and a ranked improvement list mapped toGFmtOpt/ pp2 renderer targets. Three style profiles ship (isf-default,river,compact); syntax-broken input is scored through the pp2 lexical facts. JSON contract versionprettyscore/0.1, calibrationheuristic-v0(relative comparison within one profile and corpus only). CLIgudusoft.gsqlparser.demos.prettyscore.PrettyScoreMainadds gold anchoring, corpus baselines with regression checks, a per-rule backlog, finding-level run diffs and blind acceptance samples
GSP Java version 4.2.8(2026-08-31)¶
- 2026-08-31 Refactor the build process for the SQLFlow integration
GSP Java version 4.2.7(2026-08-30)¶
- 2026-08-31 [SQL Server] Accept statements the grammar models as a bare dummy node —
DROP PARTITION FUNCTION,DROP PARTITION SCHEME,DROP SYNONYM,CREATE MASTER KEY,CREATE CREDENTIAL,CREATE DATABASE SCOPED CREDENTIAL,CREATE DATABASE ENCRYPTION KEY,CREATE EVENT SESSION,CREATE EXTERNAL DATA SOURCE,CREATE EXTERNAL LANGUAGE,CREATE SELECTIVE XML INDEXandALTER SECURITY POLICY— as the body of anIF/WHILE. They parsed standalone but produced no statement object when embedded - 2026-08-30 [Teradata] Reject empty INSERT column lists instead of failing later
- 2026-08-30 [Snowflake] Reject malformed SET statement roots
- 2026-08-30 [SQL Server] Reject an
IF/WHILEwith no statement body - 2026-08-30 [SQL Server] Guard prefixed literal decoding against malformed input
- 2026-08-30 [SQL Server, Teradata] Guard against cycles in CTE resolution
- 2026-08-30 [SQL Server, Oracle] Narrow the SELECT recovery guards so valid statements are not affected
- 2026-08-30 [SQL Server, Greenplum] Build constraint attributes on recovered statements
- 2026-08-29 [SQL Server] Prevent data lineage model crashes on recovered ASTs
- 2026-08-29 [Databricks] Support
$varnotebook variable substitution - 2026-08-28 [SQL Server, Sybase] Fix NullPointerException on a malformed select-list alias form
- 2026-08-28 [MySQL, ClickHouse] Fix NullPointerException on
RENAMEwithout theCOLUMNkeyword - 2026-08-27 [Semantic IR] Publish Join Analysis Consumption Profile v1. New integrations should use
SqlSemanticAnalyzerand consume immutable join facts, structured diagnostics, andCatalogDTO input; low-level builder and binding APIs remain advanced/preview, while validation and parity packages remain internal - 2026-08-27 [Semantic IR] Make
AnalysisResult.getSchemaVersion()match the payload-sensitive version written to its JSON (3for join-analysis facts);SqlSemanticAnalyzer.schemaVersion()remains the historical baseline version1 - 2026-08-26 [SQL Server] Fix statement splitting in CTE-bodied views
- 2026-08-25 Report the ON/WHERE operand's own coordinate on data lineage join and filter sources: a
clauseType="joinCondition"/"where"source now points at the operand reference in the clause instead of the definition site of a shared#temp/CTE/derived-table column, and star-expandedSELECT * INTO #tcolumns carry the*token's span instead of a degenerate[1,1]coordinate - 2026-08-25 [Snowflake] Drop the stale session schema after USE <database>
- 2026-08-24 [Snowflake] Resolve a bare
USE <name>asUSE DATABASE - 2026-08-24 Keep dynamic-SQL lineage when an enrichment walk fails instead of dropping the dynamic site
- 2026-08-24 Guard null children in acceptChildren to prevent NullPointerException on recovered ASTs
- 2026-08-20 [Sybase, Sybase IQ, SQL Anywhere, SQL Server] Support
DROP ... IF EXISTS - 2026-08-20 [SQL Server] Resolve finite dynamic SQL values
- 2026-08-19 [Oracle] Classify pseudocolumns instead of binding them, and fix the edge cases found in review
GSP Java version 4.2.6(2026-08-18)¶
- 2026-08-18 [MySQL] Reach 100% measured syntax coverage: 135 of 135 documented constructs, 242 of 242 statements
- 2026-08-18 [MySQL] Recognize the admin DDL statement families in the statement splitter: ALTER USER, ALTER INSTANCE, CREATE/ALTER/DROP SERVER, TABLESPACE (including UNDO TABLESPACE), LOGFILE GROUP, CREATE/DROP ROLE, GET DIAGNOSTICS, and IMPORT TABLE FROM
- 2026-08-18 [MySQL] End a BEGIN-bodied stored routine at a nesting-balanced END; when no DELIMITER command was issued, instead of merging every following statement into the routine; a routine terminator fused with the delimiter character (END$) works again
- 2026-08-18 [MySQL] Parse the ODBC escape sequence { OJ ... } as a table reference
GSP Java version 4.2.5(2026-08-18)¶
- 2026-08-18 [Oracle] Reach 100% measured syntax coverage: 182 of 182 documented constructs, 319 of 319 statements
- 2026-08-18 [Oracle] Recognize the admin DDL statement families in the statement splitter: ANALYTIC VIEW, ATTRIBUTE DIMENSION, AUDIT POLICY, HIERARCHY, INMEMORY JOIN GROUP, LOCKDOWN PROFILE, MATERIALIZED ZONEMAP, PLUGGABLE DATABASE, PMEM FILESTORE, FLASHBACK ARCHIVE, DATABASE LINK and SYNONYM alter forms, EDITION, ADMINISTER KEY MANAGEMENT, and private/or-replace OUTLINE variants; fix a typo that broke CREATE RESTORE POINT
- 2026-08-18 [Oracle] Keep multi-line SET CONSTRAINT[S]/ROLE/TRANSACTION as SQL statements instead of truncating them as line-terminated SQL*Plus SET commands, and keep semicolons inside a CREATE JAVA SOURCE class body from ending the statement
- 2026-08-18 [Oracle] Parse TRUNCATE CLUSTER, ALTER MATERIALIZED VIEW option heads (CONSIDER FRESH, ENABLE/DISABLE QUERY REWRITE, COMPILE), DROP MATERIALIZED VIEW LOG ON, and CREATE DATABASE with its full clause list
GSP Java version 4.2.4(2026-08-18)¶
- 2026-08-18 [SQL Server] Reach 100% measured syntax coverage: 290 of 290 documented constructs, 1082 of 1082 statements
- 2026-08-18 [SQL Server] Recognize 48 admin DDL statement kinds in the statement splitter (DROP/ALTER/CREATE for broker priorities, encryption keys, external objects, resource pools, audits, availability groups and more) and stop mid-statement splits at SET, IF EXISTS and MERGE
- 2026-08-18 [SQL Server] Parse GRANT/DENY/REVOKE securable classes (ENDPOINT::, AVAILABILITY GROUP::, SYMMETRIC KEY::, XML SCHEMA COLLECTION:: and more), CASCADE tails, REVOKE GRANT OPTION FOR, and CREATE ENDPOINT as a grantable permission
- 2026-08-18 [SQL Server] Parse CREATE EXTERNAL TABLE without WITH, selective XML index ALTERs, SEND ON CONVERSATION handle lists, DROP DEFAULT IF EXISTS, and GET CONVERSATION GROUP
GSP Java version 4.2.3(2026-08-18)¶
- 2026-08-18 [Snowflake] Reach 100% measured syntax coverage: 455 of 455 documented constructs, 757 of 757 statements
- 2026-08-18 [Snowflake] Recognize integration, managed account, stream, procedure, DESC, EXPLAIN USING and SHOW statement families in the statement splitter
- 2026-08-18 [Snowflake] Fix a mid-statement split that turned ALTER ... SET into two statements, and stop re-parsing CREATE EXTERNAL FUNCTION request URLs as SQL bodies
- 2026-08-18 [Snowflake] Parse ALTER DATABASE/SCHEMA/PIPE/TASK/EXTERNAL TABLE variants, CREATE DATABASE AS REPLICA, REVOKE ... FROM SHARE, open-ended privilege names, SHOW STREAMS/TASKS filters, and Windows file paths in PUT
GSP Java version 4.2.2(2026-08-18)¶
- 2026-08-18 [ClickHouse] Reach 100% measured syntax coverage: 156 of 156 documented constructs, 717 of 717 statements
- 2026-08-18 [ClickHouse] Recognize access-entity and admin DDL in the statement splitter: CREATE/ALTER USER, ROLE, ROW POLICY, QUOTA, SETTINGS PROFILE, MASKING POLICY, NAMED COLLECTION, DICTIONARY, plus CHECK, EXISTS, EXECUTE AS, MOVE, EXCHANGE TABLES, UNDROP, REPLACE TABLE and the SHOW family
- 2026-08-18 [ClickHouse] Parse dollar-quoted strings ($tag$...$tag$), query parameters {name: Type}, TRUNCATE/USE/SET/DESCRIBE variants, CREATE DATABASE engine clauses, more ALTER TABLE forms, ASSUME constraints, compound and unit-less INTERVAL, and AT TIME ZONE
- 2026-08-18 [ClickHouse] Fix a tokenizer crash that silently produced zero tokens for query-parameter syntax followed by whitespace
GSP Java version 4.2.1(2026-08-18)¶
- 2026-08-18 [ClickHouse] Raise measured syntax coverage from 78/156 to 100/156 constructs (504 to 548 of 706 statements)
- 2026-08-18 [ClickHouse] Parse Map literals, two-argument CAST, dotted nested column names and tuple element access (a.2)
- 2026-08-18 [ClickHouse] Fix statement mistyping after token-level rewrites: a statement following a :: typecast could be reported as invalid
- 2026-08-18 [ClickHouse] Parse ALTER TABLE UPDATE/DELETE IN PARTITION, column names from/to, INSERT ... FORMAT with inline data, and PARALLEL WITH
- 2026-08-18 [ClickHouse] Parse named Tuple fields in type and expression positions, ILIKE column matchers, COLUMNS arithmetic
- 2026-08-17 [ClickHouse] Parse == comparison, ASC/DESC COLLATE, INTERSECT DISTINCT, OFFSET/FETCH, GROUPING SETS, ASOF/ANY join order, WITH FILL STALENESS/INTERPOLATE, VALUES table literals, trailing commas
GSP Java version 4.2.0(2026-08-17)¶
- 2026-08-17 [Sybase ASE, SAP SQL Anywhere, Sybase IQ] Add three per-product vendors, each with its own grammar, splitter and syntax coverage page;
sybaseremains the permissive union of the family and is unchanged - 2026-08-17 [Sybase ASE] Reject Watcom-SQL procedure syntax that belongs to SQL Anywhere: leading parameter modes, DEFAULT parameter defaults, RESULT clauses, ON EXCEPTION RESUME, a body without AS, and parameter names without @
- 2026-08-17 [Sybase ASE, SAP SQL Anywhere] Reject Sybase IQ specialized index types and IQ-only DDL
- 2026-08-17 [Sybase IQ, SAP SQL Anywhere] Reject ASE-only statements such as DUMP TRANSACTION, READTEXT, UPDATE INDEX STATISTICS and DELETE STATISTICS, with a message naming the statement that belongs to a different product
- 2026-08-17 Report the full capability matrix for all 42 dialects
- 2026-08-16 [Sybase] Keep the trailing parameter mode OUTPUT/OUT
- 2026-08-15 [Sybase] Support DEFAULT in procedure parameters
- 2026-08-14 [Snowflake, Vertica] Bind WHERE clause references to a SELECT list alias
- 2026-08-14 [Snowflake] Pin COPY INTO option order
- 2026-08-14 [Snowflake] Keep quotes in PIVOT IN-list column names, and fix Oracle PIVOT quote naming
- 2026-08-13 [Snowflake] Resolve FLATTEN implicit output columns
- 2026-08-13 [SQL Server] Decode quoted SELECT aliases in data lineage output
- 2026-08-02 Fix a multi-threading defect where repeated analysis of the same input returned different results
- 2026-08-02 Add a column lookup cache to speed up data lineage analysis
- 2026-08-01 Detect large SQL files automatically and split them for parallel analysis
- 2026-08-01 Merge and deduplicate data lineage incrementally, and speed up relation deduplication by replacing MD5 with a 64-bit hash
- 2026-08-01 Fix null pointer and concurrency defects in data lineage analysis, and improve sorting and temporary file cleanup
- 2026-08-01 Scan the whole SQL environment before dataflow and procedure dataflow analysis
- 2026-07-31 Avoid out-of-memory and an infinite loop when dataflow analysis falls back to procedure dataflow analysis
- 2026-07-30 Fix missing database and schema when source code is read from JSONL without a group
GSP Java version 4.1.11(2026-08-10)¶
- 2026-08-10 [ClickHouse] Model remote()/remoteSecure() table functions as lineage sources, with ClickHouse-exact string-literal decoding
- 2026-08-10 [ClickHouse] Parse ALTER TABLE sub-clause families: DETACH/ATTACH/MOVE PART, FREEZE WITH NAME, MATERIALIZE/CLEAR/APPLY, projections, expression indexes, MODIFY/RESET SETTING, TTL and COMMENT
- 2026-08-09 [ClickHouse] Resolve expression-CTE aliases (WITH expr AS name) as scalar symbols in the resolver and data lineage
- 2026-08-09 [ClickHouse] Parse expression CTEs, materialized CTEs and lambda-bodied CREATE FUNCTION
- 2026-08-09 [ClickHouse] Parse the VIEW family: ON CLUSTER, refreshable materialized views, MODIFY QUERY
- 2026-08-09 [ClickHouse] Parse OPTIMIZE TABLE tails and table functions in FROM
- 2026-08-09 [ClickHouse] Add a documented syntax coverage corpus; measured coverage rises from 51/156 to 78/156 constructs (504/704 statements)
- 2026-08-09 Document fault-tolerant SQL formatting and all SQL formatter options
- 2026-07-29 [PostgreSQL] Map && to overlaps_t and parse unknown operators
- 2026-07-29 [Snowflake] Support alias after parenthesized PIVOT table
- 2026-07-29 Render aliased nodes from the token chain, not list index
GSP Java version 4.1.10(2026-08-08)¶
- 2026-08-08 Stop duplicating star-traced columns in linkedColumns
- 2026-08-08 Reorganize documentation by user goal
- 2026-08-07 Keep undefined MERGE VALUES names unresolved
- 2026-08-07 [SQL Server] Fix CLR routines with AS EXTERNAL NAME
- 2026-08-07 [BigQuery] Fix CTE with parenthesized main query
- 2026-08-07 Add AST rewriting how-to and demo guide
- 2026-08-07 Add offline SQL syntax validation guide
- 2026-08-06 [Vertica] Raise syntax coverage from 77% to 100% of corpus
- 2026-08-06 [OpenEdge] Raise corpus parse rate from 52% to 100%
- 2026-08-06 [Teradata] Raise corpus parse rate from 83% to 98%
- 2026-08-06 [HANA] Raise syntax coverage from 77% to 98% of corpus
- 2026-08-06 [Informix] Raise corpus parse rate from 86% to 94%
- 2026-08-06 [Greenplum] Raise corpus parse rate from 75% to 96%
- 2026-08-05 [DB2] Reach 100% corpus parse coverage
- 2026-08-05 [Impala] Raise corpus parse rate from 70% to 99%
- 2026-08-05 [Exasol] Raise syntax coverage from 42% to 98% of corpus
- 2026-08-05 [Flink] Raise corpus parse rate from 67% to 98%
- 2026-08-05 [Sybase] Raise IQ syntax coverage to 88% of corpus
- 2026-08-05 [SQL Server] Fix token shift from Exasol token placement
- 2026-08-05 [Teradata] Fix whitespace-sensitive cast shorthand
- 2026-08-04 [Databricks] Fix Mantis 4638-4646 syntax gaps
- 2026-08-04 Add trusted playground lineage
- 2026-08-03 Harden stored procedure lineage trust
- 2026-08-03 Add doris, starrocks, flink, soql and odbc to the sqlcoverage corpus
- 2026-08-01 Add SELECT/DML/proc parse rates to coverage docs
- 2026-07-31 [Databricks] Pin ODBC date escape shapes from Mantis 4575
- 2026-07-31 [Docs] Fix quick-start Java sample and trial-limit claims
- 2026-07-31 Unify public dialect metadata
- 2026-07-31 Publish an SBOM and smoke-test the install daily
- 2026-07-30 [MySQL] Only treat line-leading DELIMITER as a directive
- 2026-07-30 [SQL Server] Allow empty OVER() in WITHIN GROUP
- 2026-07-29 [Teradata] Support table operators and CTAS COMPRESS
- 2026-07-29 [Presto] Add MERGE, view security, UNNEST and ident fixes
- 2026-07-29 [Oracle] Support OFFSET expr and per-INTO LOG ERRORS
- 2026-07-29 Add generator for docs-site parse-coverage tables
- 2026-07-28 [Oracle] Restore record-fill lineage with exact bindings
GSP Java version 4.1.9(2026-07-28)¶
- 2026-07-28 Apply the trial size cap once, where SQL is read
- 2026-07-26 Fixed stackover flow bug.
- 2026-07-26 Fix several CREATE FUNCTION bugs
- 2026-07-26 Fix getLastSelectStmt returning the wrong SELECT statement
- 2026-07-26 fix(dlineage): Fix intermediate result retention in stored procedure/function scenarios
- 2026-07-26 fix(dataflow): Fix parallel analysis losing stored procedure/function lineage
- 2026-07-26 fix(DataflowUtility): Fix loss of stored procedure short-name mappings
- 2026-07-26 feat(dataflow): Add procedure variable association and target table marking
- 2026-07-26 refactor(dataflow): Refactor stored procedure/function name retrieval and improve result set handling
- 2026-07-25 feat: Add stored procedure ID association logic and improve data flow analysis
- 2026-07-25 Stop column-level CSV export dropping all lineage on NPE
- 2026-07-22 Fix schema-topology sqlflow-sharded lineage loading
- 2026-07-21 [SQL Server] Add TEXTPTR statement lineage
- 2026-07-21 [SQL Server] Add TEXTPTR statement AST support
- 2026-07-21 [MSSQL] Enable external-script passthrough by default
- 2026-07-21 [MSSQL] Add opt-in external-script passthrough lineage
- 2026-07-21 [MSSQL] Recover external-script input lineage
- 2026-07-21 [MSSQL] Harden sharded version parse, baseDir, block source (round 3)
- 2026-07-21 [MSSQL] Close remaining sharded consumer gaps (round 2)
- 2026-07-21 [MSSQL] Skip sourceUnavailable records instead of parsing their text
- 2026-07-20 [MSSQL] Let the LR automaton report what the prefix committed to
- 2026-07-20 [MSSQL] Prove span ownership by token identity, not by text
- 2026-07-20 [MSSQL] Scan tokens, direct the roles, bind the parse to the site
- 2026-07-20 [MSSQL] Do not let delimited names trip the structural scan
- 2026-07-20 [MSSQL] Require structural containment and edge-owned bindings
- 2026-07-20 [MSSQL] Fix caller-trusted evidence and uncommitted binder regions
- 2026-07-20 [MSSQL] Close direct-binding trace gaps before gating
- 2026-07-20 [MSSQL] Require the alias wrapper in binding-trace completeness
- 2026-07-20 [MSSQL] Add binding-trace capture to resolver2
- 2026-07-19 [MSSQL] Count CREATE TABLE reparse only when it actually runs
- 2026-07-19 [MSSQL] Fix CASE re-evaluation blowup and typing gaps in fragment IR
- 2026-07-19 [MSSQL] Close provenance-laundering paths in fragment IR
- 2026-07-19 [MSSQL] Add fragment provenance to dynamic-SQL evaluator
- 2026-07-19 [Oracle] Guard null trigger body in acceptChildren
- 2026-07-18 [Oracle, MSSQL] Add routine identity + catalog B0
- 2026-07-18 Guard recovered argument bindings against wildcards
- 2026-07-18 [MSSQL] Bind nested EXEC arguments under USE context
- 2026-07-18 [Oracle] Bind PL/SQL package-member call arguments
- 2026-07-18 [Oracle] Resolve DBMS_SQL.PARSE dynamic SQL
- 2026-07-18 [MSSQL, Oracle] Index cross-file routines in a shared catalog
- 2026-07-18 [Oracle] Bind EXECUTE IMMEDIATE via call-site literals
- 2026-07-18 [MSSQL] Resolve dynamic SQL via cross-file call bindings
- 2026-07-18 [MSSQL] Resolve dynamic SQL via literal call-site bindings
- 2026-07-17 [MSSQL] Discover dynamic-SQL sites inside WHILE loops
- 2026-07-17 [MSSQL] Evaluate template-built dynamic SQL in default lineage path
- 2026-07-17 [Oracle] Bind trigger correlation names for column lineage
- 2026-07-17 [Snowflake] Restore extractSnowflakeSQL script callback
- 2026-07-17 [Snowflake] Skip non-SQL procedure bodies in lineage
- 2026-07-17 [Redshift, PostgreSQL] Accept ANALYSE spelling of ANALYZE
- 2026-07-17 [Redshift] Allow PRIOR as a table alias in expressions
- 2026-07-16 [DuckDB, EDB] Eliminate parser conflicts
- 2026-07-16 Eliminate parser conflicts in 10 more dialects
- 2026-07-16 [Oracle, MSSQL, MySQL, PostgreSQL] Eliminate conflicts
- 2026-07-16 [MSSQL, MySQL, PostgreSQL] Fix parser conflicts
- 2026-07-16 [BigQuery] Fix all 5 reduce/reduce grammar conflicts
- 2026-07-15 [Redshift] Support INTERVAL field-qualified types
- 2026-07-15 [Redshift] Support order-independent COPY QUOTE option
- 2026-07-15 [Redshift] Support schema-qualified PERCENTILE_DISC/CONT
- 2026-07-14 [Build] Fix Maven trial artifact metadata (QS-001/002/009)
- 2026-07-13 [Teradata] Split same-line statement after SET QUERY_BAND
- 2026-07-13 [Databricks] Support standalone REPLACE TABLE
- 2026-07-13 [Databricks] Support CTE with the AS keyword omitted
- 2026-07-13 [Databricks] Support {d } and {t } ODBC date/time escapes
- 2026-07-13 [Databricks] Support SEMI JOIN and ANTI JOIN
- 2026-07-13 [Databricks] Support POSITION(substr IN expr) form
- 2026-07-12 Add identifier normalization guide and guard
- 2026-07-12 Skip no-op segment parse on identifier hot path
- 2026-07-12 Reconcile NameService onto the canonical engine
- 2026-07-12 Refine dlineage identifier comparison scope (P0d.3c2)
- 2026-07-12 Vendor-aware PL/SQL scope name matching (P0d.3d)
- 2026-07-12 Canonicalize dlineage wrapper compares (P0d.3c)
- 2026-07-12 Canonicalize TObjectName table matching (P0d.3b)
- 2026-07-12 Drop hand-rolled strippers in resolver2 (P0d.3a)
- 2026-07-12 Unify all identifier equality on the canon (P0d.2)
- 2026-07-12 Make areEqual canonical-key equality (P0d.1)
- 2026-07-12 Fold identifiers with Locale.ROOT (P0d.0)
- 2026-07-12 Convert AST node identifier compares (P0b w4)
- 2026-07-12 Convert dlineage identifier compares (P0b w3)
- 2026-07-12 Convert resolver2 qualified-name compares (P0b w2)
- 2026-07-12 Route safe identifier compares to sameName (P0b w1)
- 2026-07-12 Add sameName identifier equality facade (P0a)
- 2026-07-11 Index column-name matching in analyzeDataFlowRelation
- 2026-07-11 Memoize CTENamespace final-table tracing
- 2026-07-11 Speed up column lineage with provable memoization
- 2026-07-10 [Databricks] Support named bind variable markers (:param)
- 2026-07-05 perf(cloneTable): Optimize table cloning performance and add a parallel-clone threshold
- 2026-07-04 refactor(sqlutil): Optimize parseNames performance and caching logic
- 2026-07-02 Fix an array index out-of-bounds bug
- 2026-06-28 feat(FileSplitter): add structured logging and improve error handling
- 2026-06-12 Apply GF-029 ruling: set-op row influence is FILTER
GSP Java version 4.1.5.14(2026-07-08)¶
- 2026-07-08 [Redshift] Support LIKE/ILIKE ... ESCAPE clause
- 2026-07-08 [Redshift] Support SUPER object UNPIVOT in FROM clause
- 2026-07-08 [Redshift] Support BETWEEN in the SELECT list
- 2026-07-08 [Redshift] Support $$-quoted SQL UDF body with semicolons
- 2026-07-08 [Redshift] Support IS [NOT] DISTINCT FROM operator
- 2026-07-08 [Redshift] Support named inline column constraints
- 2026-07-08 [Redshift] Support UNLOAD EXTENSION AS clause
- 2026-07-08 [Redshift] Support array unnesting with AT index alias
- 2026-07-06 Fix constructor escape and routine metadata races
- 2026-07-06 Fix shared-SQLEnv DDL registration races and NPE
GSP Java version 4.1.5.13(2026-07-06)¶
- 2026-07-06 [Sybase] Support empty statements and ON COMMIT ROWS
- 2026-07-02 [Snowflake] Support GRANT OWNERSHIP COPY CURRENT GRANTS
- 2026-06-30 [SQL Server] Don't fail unit on partial-fold dynamic-SQL re-parse
GSP Java version 4.1.5.12(2026-06-30)¶
- 2026-06-30 [SQL Server] Degrade undecidable-gated dynamic-SQL sites to CONDITIONAL
- 2026-06-29 [Sybase] Guard create-procedure cast against stale rootNode
- 2026-06-29 [SQL Server] Fold CAST/CONVERT, degrade unfoldable dynamic SQL to PARTIAL
- 2026-06-28 [SQL Server] Resolve dynamic-SQL lineage with parameter bindings
- 2026-06-28 [SQL Server] Expose endpoint classification on dlineage model
- 2026-06-28 Add sqlflow-sharded JSON file splitting (FileSplitter)
- 2026-06-28 Add sqlflow-sharded metadata parsing and SQL environment support
- 2026-06-27 Add owner-name fields to catalog model objects
- 2026-06-27 Add catalog metadata helpers for sharded scenarios
GSP Java version 4.1.5.10(2026-06-27)¶
- 2026-06-26 Expose candidate set for unqualified tables ambiguous across schemas
- 2026-06-26 [Hive] Resolve unqualified column ambiguous across derived tables
- 2026-06-26 Honor Option default database over attached TSQLEnv
GSP Java version 4.1.5.9(2026-06-25)¶
- 2026-06-25 Resolve ambiguous columns to physical base tables in candidateTables (UNION/EXCEPT/INTERSECT/CTE aware)
- 2026-06-24 [SQL Server] Fold literal EXEC('
') so it yields lineage - 2026-06-24 [SQL Server] Emit per-site dynamic-SQL diagnostics and produced-lineage signal
- 2026-06-23 [Oracle] Improve synonym and dblink data lineage analysis
- 2026-06-23 Improve synonym support; fix synonym resolution and lineage propagation
- 2026-06-22 Add catalog metadata fields to dlineage model
- 2026-06-21 Fix NPE in dataflow Table model
GSP Java version 4.1.5.8(2026-06-21)¶
- 2026-06-21 [SQL Server] Add synonym base target, resolution, and export
GSP Java version 4.1.5.7(2026-06-19)¶
- 2026-06-19 [Oracle] Add MantisBT 4516 regression for ${} regex literal
- 2026-06-19 [SQL Server] Accept NULL/NOT NULL on scalar DECLARE
- 2026-06-19 [SQL Server] Set itSpatial index type on CREATE SPATIAL INDEX
- 2026-06-18 [Snowflake] Wire scoped temporary into temp-kind consumers
- 2026-06-18 [Snowflake] Support SCOPED TEMPORARY table
- 2026-06-18 [Snowflake] Allow colon path access on constants
- 2026-06-18 [Snowflake] Support CASE cast in SQL UDF body
- 2026-06-18 [Oracle] Fix CTE alias resolution for repeated references
- 2026-06-18 [dlineage] Add /csv-simple option to DataFlowAnalyzer
- 2026-06-18 [Teradata] Parse MEETS/PRECEDES/SUCCEEDS period predicates
- 2026-06-18 [Snowflake] Add regression tests for TIMESTAMP-typed proc params
- 2026-06-18 [Snowflake] Flag temporary view in dlineage output
- 2026-06-18 [Core] Add null checks to several methods to avoid NPE
- 2026-06-17 [Snowflake] Allow TIMESTAMP as procedure parameter name
- 2026-06-17 [Teradata] Allow trailing loop label on END WHILE / END REPEAT
- 2026-06-17 [Snowflake] Add regression test for 4540 PIVOT aliased IN values
- 2026-06-17 [SQL Server] Add regression test for 4530 ALTER DATABASE in block
- 2026-06-17 [SQL Server] Add regression test for 4531 GRANT ON TYPE::
- 2026-06-17 [SQL Server] Allow chained methods on parenthesized expr
- 2026-06-17 [Snowflake] Gate procedure exclusion on statement type
- 2026-06-17 [Snowflake] Apply procedure exclusion to SQL procedures
GSP Java version 4.1.5.6(2026-06-15)¶
- 2026-06-15 [Dameng] Support CREATE [OR REPLACE] PROCEDURE
- 2026-06-13 [SQL Server] Add single-quote regression tests for 4496
- 2026-06-13 [Oracle] Add regression tests for ${} in string literals
- 2026-06-12 [PostgreSQL] Fix NOT DEFERRABLE token corruption
- 2026-06-12 [PostgreSQL] Support EXCLUDE WHERE and constraint attributes
- 2026-06-12 [PostgreSQL] Extend Mantis 4512 regression coverage
- 2026-06-12 [PostgreSQL] Fix constraint toString truncating clauses
- 2026-06-12 [PostgreSQL] Fix formatter NPE on ADD CONSTRAINT CHECK
GSP Java version 4.1.5.5(2026-06-11)¶
- 2026-06-11 [Snowflake] Allow commas in ALTER DYNAMIC TABLE SET
- 2026-06-11 [Snowflake] Add dynamic table SCHEDULER attribute
- 2026-06-11 [OceanBase] Add Q-quote regression test for Oracle mode
- 2026-06-11 [Dameng] Fix Q-quote lexing and stale keyword values
- 2026-06-11 [Oracle, OceanBase] Fix Q' inside Q-quote literals
- 2026-06-11 [Oracle] Add regression test for MantisBT 4508
- 2026-06-11 [Oracle] Match quoted parameter names in resolution
- 2026-06-11 [Oracle] Don't report errors for partial dynamic SQL
- 2026-06-11 [Oracle] Skip unknowable dynamic SQL in lineage
- 2026-06-10 Link UPDATE target alias to FROM clause table
- 2026-06-10 Fix lineage crash on expression with quoted dot
- 2026-06-10 [Snowflake] Support ODBC fn escape syntax
- 2026-06-10 [Redshift] Add TRIM comma-form regression test
- 2026-06-10 [Redshift] Allow ANSI TRIM position keyword without char
- 2026-06-09 [PostgreSQL, Greenplum, Redshift] '/' on a line is division
- 2026-06-09 [Redshift] Treat '/' alone on a line as division
GSP Java version 4.1.5.4(2026-06-08)¶
- 2026-06-08 Mark LATERAL joins lateral in the join graph
- 2026-06-07 Degrade non-exact ON-predicate binding over join
- 2026-06-07 Degrade star expansion over nested join
- 2026-06-07 [Oracle] Fix synonym filtering and complete star-column bridge relations
- 2026-06-07 Degrade catalog-less star expansion over join
- 2026-06-06 Recurse into parenthesized joined-table operand
- 2026-06-06 Degrade non-exact column binding over join graph
- 2026-06-06 [Oracle, PostgreSQL] Degrade USING-join unqualified column miss
- 2026-06-06 [Oracle] Support (+) outer-join syntax in implicit joins
- 2026-06-06 [Oracle] Promote implicit comma-join predicates to INNER joins
- 2026-06-06 [Oracle, PostgreSQL] Resolve unqualified NATURAL JOIN merged key
- 2026-06-06 [Formatter] pp2: break statements onto separate lines
- 2026-06-05 [SQL Server] Fix MERGE USING CTE dropping lineage
- 2026-06-05 [Teradata] Support PIVOT DEFAULT ON NULL clause
- 2026-06-05 [BigQuery] Fix bitwise shift vs AND precedence
- 2026-06-03 [Semantic IR] Expose semi-joins and fix USING clause span
- 2026-06-03 [Semantic IR] Degrade catalog-less NATURAL JOIN to a warning
- 2026-06-02 [Impala] Parse PRIMARY KEY / FOREIGN KEY in CREATE TABLE
- 2026-06-02 [Vertica] Parse AUTO_INCREMENT column attribute
- 2026-06-02 [DB2] Surface stored-procedure CALL in dlineage call graph
- 2026-06-02 [Couchbase] Parse ANSI JOIN ... ON
- 2026-06-02 [SparkSQL] Parse PRIMARY KEY / FOREIGN KEY in CREATE TABLE
- 2026-06-02 [Informix] Carry column list on table-level PRIMARY KEY
- 2026-06-02 [DB2] Populate FETCH FIRST n count on TFetchFirstClause
- 2026-06-02 [Impala] Attach ON condition to LEFT [OUTER] JOIN
- 2026-06-02 Surface inline column PRIMARY KEY / FOREIGN KEY in dlineage
- 2026-06-02 [SQL Server] Support CROSS/OUTER APPLY in semantic IR
- 2026-06-02 [MySQL] Degrade STRAIGHT_JOIN to INNER in semantic IR
GSP Java version 4.1.5.3(2026-06-02)¶
- 2026-06-02 [Oracle] Filter invalid coordinates in coordinate handling
- 2026-06-02 [Oracle] Fix uninitialized coordinateItems update; add synonym + dataflow merge tests
- 2026-06-01 [Oracle] Support synonym statement parsing and analysis
- 2026-06-01 Refactor dataflow merge logic and ID handling
- 2026-05-30 [Semantic IR] Admit PIVOT row-shaping clauses
- 2026-05-29 [SQL Server] Lock in permanent SELECT INTO target tableKind=etkBase
- 2026-05-29 [Sybase] Support Watcom IF ... THEN ... END IF in procedure bodies
- 2026-05-29 [Hive, SparkSQL] Structured-dataflow lineage for explode(from_json(...))
- 2026-05-29 [Hive] Harden CTE chain walkers
- 2026-05-29 [Hive] Stop calculated/aliased CTE columns leaking into base linkedColumns
- 2026-05-28 [Hive] Treat comments as trivia in ALL.col lookahead
- 2026-05-28 [Hive] Allow ALL as table alias in qualified name
- 2026-05-28 Admit nested PIVOT/UNPIVOT in a predicate-subquery body
- 2026-05-28 Admit nested PIVOT/UNPIVOT in a set-op branch
- 2026-05-28 Admit nested PIVOT/UNPIVOT as a CTE body
- 2026-05-27 Admit nested PIVOT/UNPIVOT in FROM-subquery body
- 2026-05-27 Expand bare SELECT * over subquery-source PIVOT/UNPIVOT
- 2026-05-27 Admit PIVOT/UNPIVOT over a FROM-subquery source
- 2026-05-27 Expand multi-value UNPIVOT SELECT * via catalog
- 2026-05-27 Expand bare SELECT * over UNPIVOT via catalog
- 2026-05-27 Expand bare SELECT * over PIVOT via catalog
- 2026-05-27 Add multi-value-column UNPIVOT lineage
- 2026-05-27 Add UNPIVOT output-column lineage
- 2026-05-27 Add PIVOT output-column lineage
- 2026-05-27 Bind PIVOT source + capture consumed refs
- 2026-05-27 Add structured GROUP BY element model
- 2026-05-27 Capture GROUP BY ROLLUP/CUBE/GROUPING SETS refs
- 2026-05-27 Validate QUALIFY inline window-fn names
- 2026-05-26 Lift QUALIFY, emit qualifyColumnRefs
- 2026-05-26 Unify MERGE OUTPUT USING-source lineage
- 2026-05-26 Unify RETURNING/OUTPUT subquery lineage
- 2026-05-26 [PG, MSSQL] MERGE USING-subquery sees outer CTE
- 2026-05-26 [PG, MSSQL, Snowflake, Oracle] Admit scalar-body WHERE predicate subqueries
GSP Java version 4.1.5.2(2026-05-26)¶
- 2026-05-26 [BigQuery] Harden star-column lineage guard
- 2026-05-25 [BigQuery] Fix UNNEST CTE star lineage crash
- 2026-05-25 [Teradata] Allow optional alias in MERGE USING VALUES
- 2026-05-25 [Teradata] Support NUMBER(*) unbounded precision
- 2026-05-25 [Snowflake] Harden COPY INTO lineage
- 2026-05-25 [Snowflake] Support COPY INTO inside procedure block
- 2026-05-25 [Snowflake] Model USING TEMPLATE distinct from CTAS
- 2026-05-25 [Snowflake] Support CREATE TABLE USING TEMPLATE
- 2026-05-25 [Hana] Support WITH RANGE_RESTRICTION clause
- 2026-05-25 [Oracle] Resolve PL/SQL params in dynamic SQL, not orphan columns
- 2026-05-25 Centralize re-parse coordinate shifting
- 2026-05-24 Harden EXECUTE IMMEDIATE coordinate shift for nested statements
- 2026-05-24 Fix wrong line numbers for function/procedure body coordinates
- 2026-05-24 [Oracle] Fix wrong line numbers for dynamic SQL coordinates
- 2026-05-24 [PG, MSSQL, Snowflake] Admit FROM-subquery body WHERE predicate subqueries
- 2026-05-24 [PG, MSSQL, Snowflake, Oracle] Admit UPDATE SET-RHS mixed-expression scalar subqueries
- 2026-05-23 [PG, Oracle] Admit MERGE per-WHEN action WHERE correlated predicate subqueries
- 2026-05-23 [PG, MSSQL, Snowflake, Oracle, MySQL] Admit UPDATE SET-RHS correlated scalar subqueries
- 2026-05-23 Handle null DataFlow gracefully in parallel analysis
- 2026-05-23 Thread-safe CatalogStore
- 2026-05-23 [PG, Oracle] Admit uncorrelated MERGE per-WHEN action WHERE predicate subqueries
- 2026-05-23 [PG, MSSQL, Snowflake, Oracle, MySQL] Admit uncorrelated UPDATE SET-RHS scalar subqueries
- 2026-05-23 [PG, MSSQL, Snowflake] Admit uncorrelated WHERE-side predicate subqueries on CTE bodies
- 2026-05-22 [PG, MSSQL, Snowflake] Admit uncorrelated WHERE-side predicate subqueries on set-op branches
- 2026-05-22 [PG, MSSQL, Snowflake] Admit uncorrelated WHERE-side predicate subqueries on SELECT
- 2026-05-22 [PG, MSSQL, Snowflake] Admit uncorrelated WHERE-side predicate subqueries on DELETE
- 2026-05-22 [PG, MSSQL, Snowflake] Admit uncorrelated WHERE-side predicate subqueries on UPDATE
- 2026-05-22 [Hive] Admit outer-WITH on Hive multi-insert
- 2026-05-22 [PG, Oracle, Snowflake] Admit mixed outer+inner WITH on INSERT (shadowing case)
- 2026-05-22 [PG, Oracle, Snowflake] Admit mixed outer+inner WITH on INSERT (disjoint names)
- 2026-05-21 [SQL Server] Split plain BEGIN block from preceding statement
- 2026-05-19 [Snowflake] Preserve closing quote after even backslash run
- 2026-05-19 [Snowflake] Fix MantisBT 4435 sequential backslash-escaped quotes
- 2026-05-19 [Teradata, Snowflake] Pin MantisBT 4440 join-with-comments behavior
- 2026-05-19 [Sybase] Hook EXCEPTION clause into TBlockSqlNode + TMssqlBlock
- 2026-05-19 [Sybase] Support Watcom EXCEPTION handler + SIGNAL/RESIGNAL
- 2026-05-18 [Snowflake] Support LAG=DOWNSTREAM in CREATE DYNAMIC TABLE
GSP Java version 4.1.5.1(2026-05-18)¶
- 2026-05-18 [PG, MSSQL, Snowflake, Redshift] Admit outer WITH on DELETE
- 2026-05-18 [PG, MSSQL, Snowflake, Redshift] Admit outer WITH on UPDATE
- 2026-05-18 [PG, MSSQL, Oracle, Snowflake, Redshift, Hive] Admit outer WITH on INSERT
- 2026-05-18 [Catalog] Stabilize concurrentSnapshotReadsDoNotThrow test
- 2026-05-18 [SqlGuard] Add bin/probe.sh inner-loop wrapper for the worker
- 2026-05-17 [PG, MSSQL] Admit WITH cte(a,b) SELECT rename
- 2026-05-17 [PG, MSSQL] Admit WITH cte(a,b) MERGE rename
- 2026-05-17 [PG, MSSQL] Admit WITH-clause / CTE on MERGE
- 2026-05-17 [MSSQL] OUTPUT pseudo-table star expansion (MERGE and non-MERGE)
- 2026-05-17 [MSSQL] MERGE OUTPUT projection
- 2026-05-17 [MSSQL, BigQuery] MERGE WHEN NOT MATCHED BY SOURCE
- 2026-05-17 [PostgreSQL, DuckDB] MERGE WHEN MATCHED THEN DO NOTHING (PG 15+)
- 2026-05-17 MERGE per-WHEN action WHERE predicates
- 2026-05-17 [Teradata] Allow STORAGE FORMAT after JSON INLINE LENGTH (MantisBT 4438)
- 2026-05-17 [SqlGuard] Worker startup + smoke scripts; default port 18083
- 2026-05-16 MERGE skeleton + Semantic IR semantics for MERGE
- 2026-05-16 [Teradata] Support INLINE LENGTH on JSON(n) datatypes (MantisBT 4438)
- 2026-05-16 [Hive] Fix CROSS JOIN + other JOIN associativity (MantisBT 4436)
- 2026-05-16 [Teradata] Add ALTER TABLE ... ALTER (column action[, ...]) support
- 2026-05-16 [MySQL] Self-reference DELETE admission
- 2026-05-16 [Hive] Fix LATERAL VIEW with 3+ column aliases (MantisBT 4455)
- 2026-05-16 [Oracle] MODIFY SUBPARTITION exposes partition name (MantisBT 4459)
- 2026-05-16 [Snowflake] DELETE USING full-contract tests
- 2026-05-16 RETURNING /t. catalog-backed expansion
- 2026-05-16 [Oracle] Fix MODIFY col DECRYPT/VISIBLE/INVISIBLE wrongly sets datatype
- 2026-05-15 Fix alias incorrectly filtered bug (Gitee IJNQ17)
- 2026-05-15 [BigQuery] Fix NPE in DataFlowAnalyzer for EXCEPT/REPLACE with aggregates
- 2026-05-14 [Oracle] Admit RETURNING INTO; Resolver2 sees RETURNING refs
- 2026-05-14 Case-insensitive alias lookup in lineage emitter
- 2026-05-14 [MySQL] USING/NATURAL joined UPDATE
- 2026-05-14 RETURNING / OUTPUT projections
- 2026-05-14 [MySQL] Joined DELETE
- 2026-05-13 UPDATE FROM subquery (Semantic IR)
- 2026-05-13 Joined UPDATE / single-target DELETE / UPDATE shapes (Semantic IR)
- 2026-05-13 CTAS / CREATE VIEW Semantic IR skeleton
- 2026-05-13 INSERT INTO target SELECT (Semantic IR)
- 2026-05-13 Catalog-miss WARN + corpus parity; minimal catalog DTO; SqlSemanticAnalyzer API
- 2026-05-13 Anonymous FROM-subquery admit (Semantic IR)
- 2026-05-13 [PostgreSQL] DISTINCT ON column refs (Semantic IR)
- 2026-05-13 Set-op outer row-limit + vendor row-limit metadata
- 2026-05-12 [Sybase] Allow SQL SECURITY in CREATE FUNCTION
- 2026-05-12 Single-SELECT LIMIT / FETCH FIRST (Semantic IR)
- 2026-05-12 Single-SELECT ORDER BY projection alias / ordinal (Semantic IR)
- 2026-05-12 Structured diagnostics in Semantic IR
- 2026-05-12 NATURAL JOIN / JOIN USING / CROSS JOIN (Semantic IR)
- 2026-05-11 Constant-only projection lift; CTE/FROM-subquery star
- 2026-05-10 GSP binding name resolution rewrite (case-insensitive, catalog-verified)
- 2026-05-10 [BigQuery] Regen dataflow fixtures for case-insensitive resolution
- 2026-05-08 [Vertica] Support AND filter and WHERE in MERGE clauses
GSP Java version 4.1.1.0(2026-05-08)¶
- 2026-05-07 Fix DataFlowAnalyzer ClassCastException (TObjectName cannot be cast to TResultColumn)
- 2026-05-06 Add dlineage tests for Oracle PL/SQL procedures (Gitee IJLBB7, IJLB9E)
- 2026-05-02 Add procedure include/exclude filter for data flow analysis (Gitee IJJX1M)
- 2026-05-02 [BigQuery] Strengthen tests for func(args).* STRUCT star expansion (Mantis #4426)
- 2026-05-01 [BigQuery] Support func(args).* star expansion on STRUCT return
- 2026-05-01 [Teradata] Fix NPE on USING ... ABORT BTEQ statements
GSP Java version 4.1.0.15(2026-05-01)¶
- 2026-05-01 [BigQuery] Fix CTE self-reference resolution in ScopeBuilder (Mantis #4412)
- 2026-05-01 [Snowflake] Populate stageLocation for quoted COPY INTO source
- 2026-05-01 [Redshift] Support UNION DISTINCT syntax
- 2026-05-01 [Redshift] Support bare postfix NOTNULL operator
- 2026-04-28 Harden MERGE formatter (codex review follow-ups)
- 2026-04-27 Fix MERGE formatter: USING indent and WHEN action layout
- 2026-04-21 [Hive] Add regression tests for ALTER TABLE CHANGE ... ENABLE
- 2026-04-21 [Teradata] Fix SET with subquery RHS spanning multiple lines
- 2026-04-21 Fix TFunctionCall isBuiltIn array index out of bounds
- 2026-04-20 [DAX, PowerQuery] Fix DAX label and promote PowerQuery tier
- 2026-04-20 [PowerQuery] Wire lineage into DataFlowAnalyzer
- 2026-04-20 [PowerQuery] Infer vendor from inline connector calls
- 2026-04-20 [Snowflake] Support GROUP BY ALL syntax and lineage
- 2026-04-19 [PowerQuery] Add parser, AST and lineage analyzer
- 2026-04-19 [BigQuery] Add column-level lineage for array_agg(table_alias)
- 2026-04-18 [Oracle] Add XML column-level data lineage for XML functions and XMLTABLE
- 2026-04-18 [MSSQL] Support WRITETEXT inside stored procedures
- 2026-04-18 [Oracle] Support ARRAY as synonym for VARRAY in CREATE TYPE
- 2026-04-18 [Teradata] Support IF/WHILE/LOOP inside CASE stmt
- 2026-04-18 [PostgreSQL] Correct toScript() for LIMIT/OFFSET clauses
- 2026-04-18 [DB2] Support IMPLICITLY HIDDEN column attribute
- 2026-04-18 [Oracle] Support PARALLEL/NOPARALLEL in CTAS
- 2026-04-18 [Oracle] Trace pipelined function lineage through CTEs
- 2026-04-18 [Teradata] Support USING source-table MERGE prefix
- 2026-04-18 [Teradata] Support parenthesized type in USING var defs
- 2026-04-18 [Teradata] Support temporal qualifier DML
- 2026-04-18 [MSSQL] Support 3/4-part column names in INSERT column list
GSP Java version 4.1.0.12(2026-04-17)¶
- 2026-04-16 [Databricks] Accept bare time units in TIMESTAMPDIFF
- 2026-04-14 [OceanBase] Support SWITCH REPLICA LEADER SERVER/TENANT options
- 2026-04-14 [OceanBase] Support ALTER SYSTEM ADD ZONE IDC/ZONE_TYPE options
- 2026-04-14 [OceanBase] Add XA transaction support in MySQL mode
- 2026-04-14 [OceanBase] Add CREATE/DROP RESTORE POINT support
- 2026-04-14 [OceanBase] Add CREATE/DROP DBLINK support
- 2026-04-14 [OceanBase] Add CREATE TABLEGROUP PARTITION BY KEY N and LIST COLUMNS N
- 2026-04-14 [OceanBase] Add ALTER TABLEGROUP partition operations
- 2026-04-14 [OceanBase] Add ALTER SYSTEM CANCEL BACKUP operations
- 2026-04-14 [OceanBase] Add ALTER RESOURCE POOL SPLIT and MERGE operations
- 2026-04-14 [Dameng] Support CREATE [OR REPLACE] PACKAGE BODY
- 2026-04-14 [Dameng] Support CREATE [OR REPLACE] PACKAGE specification
- 2026-04-14 [Dameng] Add TIMER (scheduled) triggers on DATABASE
- 2026-04-14 [Dameng] Add system-event and DDL-event triggers ON DATABASE
- 2026-04-14 [Dameng] Add INSTEAD OF trigger on view
- 2026-04-14 [Dameng] Add combined-event triggers with IF/ELSIF/ELSE and EXCEPTION decl
- 2026-04-14 [Dameng] Add basic DML CREATE TRIGGER support
- 2026-04-13 [OceanBase] Fix statement splitter for RELEASE SAVEPOINT, PURGE INDEX/TENANT, CREATE/DROP TABLESPACE
- 2026-04-13 [OceanBase] Fix statement splitter for ALTER USER, CREATE/DROP ROLE in MySQL mode
- 2026-04-13 [OceanBase] Fix CREATE OR REPLACE OUTLINE splitter in both MySQL and Oracle modes
- 2026-04-13 [OceanBase] Add Oracle mode TABLEGROUP PARTITION, ALTER TABLEGROUP ADD TABLE, ALTER TABLE SET TABLEGROUP
- 2026-04-13 [OceanBase] Add MySQL mode TABLEGROUP RANGE COLUMNS N and SUBPARTITION support
- 2026-04-13 [OceanBase] Add FLASHBACK TENANT and FLASHBACK RENAME TO support
- 2026-04-13 [OceanBase] Add CREATE/ALTER RESOURCE UNIT space-separated parameter syntax
- 2026-04-13 [OceanBase] Add CREATE INDEX IF NOT EXISTS support in MySQL mode
- 2026-04-13 [OceanBase] Add ALTER TENANT extended options in system tenant mode
- 2026-04-13 [OceanBase] Add ALTER TABLE SET OceanBase-specific options in MySQL mode
- 2026-04-13 [OceanBase] Add ALTER SYSTEM server/zone management ZONE= and REGION= clauses
- 2026-04-13 [OceanBase] Add ALTER SYSTEM advanced operations (SWITCH REPLICA, BOOTSTRAP, RECOVERY, RESTORE)
- 2026-04-13 [OceanBase] Add ALTER SYSTEM SET COMMENT clause and FLUSH PLAN CACHE extensions
- 2026-04-13 [Dameng] Support PRINT statement in PL/SQL blocks
- 2026-04-13 [Dameng] Support PL/SQL variable assignment (:=) in block body
- 2026-04-13 [Dameng] Support DROP TYPE and DROP TYPE BODY with IF EXISTS
- 2026-04-13 [Dameng] Support DECLARE anonymous PL/SQL blocks
- 2026-04-13 [Dameng] Support CREATE/ALTER/DROP CLASS (Dameng proprietary)
- 2026-04-13 [Dameng] Support CREATE TYPE BODY with method implementations
- 2026-04-13 [Dameng] Support CREATE Type AS VARRAY and TABLE OF (collection types)
- 2026-04-13 [Dameng] Support CREATE TYPE AS OBJECT with member functions
- 2026-04-13 [Dameng] Support CREATE FUNCTION with PL/SQL body (BEGIN/END)
- 2026-04-13 [Dameng] Support CREATE FUNCTION ... AGGREGATE USING
- 2026-04-13 [Dameng] Support // single-line comments in Dameng lexer
- 2026-04-12 [OceanBase] Add SHOW extensions (TENANTS, RECYCLEBIN, TABLEGROUPS, PARAMETERS, TENANT STATUS)
- 2026-04-12 [OceanBase] Add SHOW TENANT / SHOW RESOURCE POOL / SHOW CREATE TENANT
- 2026-04-12 [OceanBase] Add SELECT FOR UPDATE WAIT N support
- 2026-04-12 [OceanBase] Add MERGE INTO statement support
- 2026-04-12 [OceanBase] Add FLASHBACK and PURGE statement support
- 2026-04-12 [OceanBase] Add EXPLAIN statement support
- 2026-04-12 [OceanBase] Add ALTER TABLEGROUP ADD TABLE and ALTER TABLE SET TABLEGROUP
- 2026-04-12 [OceanBase] Add ALTER SYSTEM subcommands (FLUSH, MINOR FREEZE, FREEZE TENANT)
- 2026-04-12 [OceanBase] Add ALTER SYSTEM low-priority subcommands
- 2026-04-12 [OceanBase] Add ALTER SYSTEM SET extended clauses (SCOPE, TENANT, COMMENT)
- 2026-04-12 [OceanBase] Add ALTER SEQUENCE support
- 2026-04-12 [OceanBase] Add checksyntax OceanBase tenant-mode vendor aliases
- 2026-04-12 [OceanBase] CREATE TENANT with space-separated SET clause
- 2026-04-12 [OceanBase] CREATE TABLEGROUP with trailing partition_clause
- 2026-04-12 [Dameng] Support flashback query clause + trailing alias
- 2026-04-12 [Dameng] Support bare parameterless package call (PKG.PROC;)
- 2026-04-12 [Dameng] Support WHEN TIMESTAMP flashback query clause
- 2026-04-12 [Dameng] Support DROP TABLE ... CASCADE (PostgreSQL-style)
- 2026-04-12 [Dameng] Support CREATE HUGE TABLE syntax
- 2026-04-12 [Dameng] Support AS OF LSN and VERSIONS BETWEEN LSN flashback
- 2026-04-12 [Dameng] Support ALTER TABLE WITH/WITHOUT ADVANCED LOG
- 2026-04-12 [Dameng] Support ALTER TABLE TRUNCATE ADVANCED LOG
- 2026-04-11 [Dameng] Support zero-argument pseudo-function calls
- 2026-04-11 [Dameng] Support uppercase hex literals (0xFFFEE)
- 2026-04-11 [Dameng] Support multi-row VALUES clause in INSERT
- 2026-04-11 [Dameng] Support TIME and DATETIME typed datetime literals
- 2026-04-11 [Dameng] Support SQL-standard SUBSTRING and OVERLAY
- 2026-04-11 [Dameng] Support REFRESH MATERIALIZED VIEW statement
- 2026-04-11 [Dameng] Support IDENTITY + CLUSTER PRIMARY KEY and STORAGE clause
- 2026-04-11 [Dameng] Support DROP VIEW with RESTRICT/CASCADE
- 2026-04-11 [Dameng] Support DROP SCHEMA CASCADE
- 2026-04-11 [Dameng] Support DROP MATERIALIZED VIEW [IF EXISTS]
- 2026-04-11 [Dameng] Support DROP MATERIALIZED VIEW LOG [IF EXISTS] ON
- 2026-04-11 [Dameng] Support DATE() as a conversion function
- 2026-04-11 [Dameng] Support CREATE VIEW WITH LOCAL/CASCADED CHECK OPTION
- 2026-04-11 [Dameng] Support CREATE MV LOG PURGE options
- 2026-04-11 [Dameng] Support CREATE MV FOR ON PREBUILT TABLE
- 2026-04-11 [Dameng] Support CONNECT BY LEVEL without FROM in SELECT
- 2026-04-11 [Dameng] Support ALTER MV ENABLE/DISABLE QUERY REWRITE and COMPILE
- 2026-04-11 [Dameng] Parse CREATE LIBRARY libname AS 'path'
- 2026-04-11 [Dameng] Parse CREATE FUNCTION IF NOT EXISTS external bodies
- 2026-04-11 [Dameng] Parse CREATE FUNCTION ... EXTERNAL body
- 2026-04-11 [Dameng] Parse AS LANGUAGE C|CS LIBRARY function body
- 2026-04-11 [Dameng] Parse two-argument XMLQUERY form
- 2026-04-11 [Dameng] Parse bare top-level function-call statement
- 2026-04-11 [Dameng] Parse SELECT ... FOR XML PATH clause
- 2026-04-11 [Dameng] Add Dameng database dialect support
- 2026-04-09 [Teradata] Fix SHOW TABLE statement recognition
- 2026-04-09 [Teradata] Store first argument of QUANTILE function
- 2026-04-09 [Teradata] Recognize BEGIN REQUEST / END REQUEST block
- 2026-04-09 [PostgreSQL] Fix COMMENT ON PROCEDURE with empty parens
- 2026-04-09 [MSSQL] Fix ALTER DATABASE inside procedure body
- 2026-04-09 [BigQuery] Support FORMAT('literal') in CAST clause
- 2026-04-09 [Oracle] Add pipelined table function lineage stitching
- 2026-03-12 [PostgreSQL] Fix ClassCastException in TSequenceOption
- 2026-03-12 [Oracle] Fix OOM in TSqlplusCmdStatement.extractCommandText
- 2026-03-12 [MySQL] Fix tokenize error for backslash delimiter
- 2026-03-10 [Snowflake] Fix escaped quotes unescaping in proc body
- 2026-03-10 [Oracle] Fix &variable. substitution with trailing dot
- 2026-03-10 [MySQL] Fix NPE when FK REFERENCES has no column list
- 2026-03-10 [MSSQL] Fix SELECT not split from CREATE VIEW body
- 2026-03-10 [MSSQL] Fix NPE in EXECUTE sp_executesql without args
- 2026-03-09 [PostgreSQL] Fix ClassCastException for SEQUENCE NAME option
- 2026-03-08 [Snowflake] Fix procedure with $$ body blocking subsequent statements
- 2026-03-08 [Snowflake] Fix GRANT/REVOKE after procedure body not splitting
- 2026-03-08 [MSSQL] Fix splitter incorrectly splitting proc on END; CREATE TABLE
- 2026-03-07 [MySQL] Fix trailing tokens after conditional comments
- 2026-03-07 [MySQL] Fix tokenizer error on multi-dash comments
- 2026-03-07 [MySQL] Fix tokenizer error on dash-separator comments
- 2026-03-07 [Hive] Fix statement splitter for SET after semicolon-less statements
- 2026-03-07 [Hive] Fix statement splitter for SELECT after semicolon-less SELECT
GSP Java version 4.1.0.11(2026-04-08)¶
- 2026-04-08 [Snowflake] Support LIKE ANY/ALL/SOME with pattern list or expr
- 2026-04-08 [Hive] Accept backtick alias with dot after subquery
- 2026-04-08 [DB2] Support CREATE PROCEDURE with single inline DML body
- 2026-04-07 [PostgreSQL, Snowflake] Fix regressions from #3672 and #3491
- 2026-04-07 [BigQuery] Allow digit-leading identifiers in qualified names
- 2026-04-07 [Snowflake] Support * REPLACE, # comments and nameless masking policy
- 2026-04-07 [Redshift] Allow LIKE/ILIKE/SIMILAR TO in SELECT list
- 2026-04-07 [PostgreSQL] Support TRIM(LEADING|TRAILING|BOTH FROM expr, expr)
- 2026-04-07 [PostgreSQL] Fix toScript emitting MySQL LIMIT for non-MySQL dialects
- 2026-04-07 [Oracle] Allow CREATE TYPE AS (attrs) without OBJECT keyword
- 2026-04-07 [Snowflake] Support DESC SCHEMA, SHOW TERSE ROLES, SHOW DATABASES IN ACCOUNT
- 2026-04-07 [Teradata] Allow DIAGNOSTIC ... ON FOR SESSION inside macro body
- 2026-04-07 [Oracle] Do not inherit implicit schema for db_link tables
- 2026-04-07 [MSSQL] Populate cursorName for OPEN/CLOSE cursor stmts
- 2026-04-07 [Teradata] Support RESPECT NULLS on window functions
- 2026-04-07 [Teradata] Allow alias on multi-column PIVOT IN tuple
- 2026-04-07 Set dbObjectType on cloneSourceTable to populate parts
- 2026-04-07 [Oracle] Allow SUBPARTITIONS n in composite partition clause
- 2026-04-07 [Teradata] Allow LAST_VALUE/FIRST_VALUE as column names
- 2026-04-07 [Oracle] Add composite LIST+subpartition rule
- 2026-04-07 [Snowflake] Treat \'
as escape + close quote in string literals - 2026-04-07 [MSSQL] Add DROP PARTITION FUNCTION, ALTER SEQUENCE, fix ALTER INDEX SET splitter
- 2026-04-07 [Oracle] Dispatch CREATE CLUSTER to TOracleCreateClusterStmt
- 2026-04-07 [PostgreSQL] Map uuid type to EDataType.uuid_t
- 2026-04-07 [MSSQL] UPDATE alias resolution + trigger splitter follow-up
- 2026-04-07 [MSSQL] Distinguish WHILE from IF in sqlstatementtype
- 2026-04-07 [MSSQL] Add TRY_CONVERT with typename exposed via getTypename()
- 2026-04-07 [MSSQL] Preserve ALTER statement type for procedure/function/trigger
- 2026-04-06 [Redshift] Register ELSIF keyword in lexer for PL/pgSQL
- 2026-04-06 [GaussDB] Support EXECUTE DIRECT ON statement
- 2026-04-06 [GaussDB] Support SET LOCAL TRANSACTION and CREATE DIRECTORY
- 2026-04-06 [MSSQL] Expose CHECK/NOCHECK CONSTRAINT in AST
- 2026-04-06 [Teradata] Support angle-bracket identifiers in BTEQ
- 2026-04-05 [Snowflake] Expose new stage name in ALTER STAGE RENAME TO
- 2026-04-05 [Snowflake] Expose stage properties in ALTER STAGE
- 2026-04-05 [Teradata] Support CREATE OR REPLACE syntax
- 2026-04-05 [Teradata] Support @Parameter in macro body
- 2026-04-05 [Vertica] Parse AS SELECT subquery in CREATE PROJECTION
- 2026-04-05 [BigQuery] Fix incorrect target column name for ARRAY[scalar_function()]
- 2026-04-05 [Teradata] Support qualified column names in COLLECT STATISTICS COLUMN()
- 2026-04-05 Fix thread-safety issues in multi-threaded parsing
- 2026-04-05 [MDX] Add data lineage support for MDX queries
- 2026-04-04 [Teradata] Fix formatter for REPLACE VIEW with LOCKING
- 2026-04-04 [Redshift] Wire EXCLUDE clause to TExceptReplaceClause
- 2026-04-04 Add getTableKind() to TIntoClause for SELECT INTO
GSP Java version 4.1.0.10(2026-04-04)¶
- 2026-04-03 [Databricks] Add ODBC escape syntax support
- 2026-04-02 [Oracle] Fix CASE WHEN direct/indirect dataflow handling in DataFlowAnalyzer
- 2026-04-01 [Teradata] Fix dataflow analysis for complex queries
- 2026-03-31 [Teradata, Hive] Set schemaToken in parseTablename
- 2026-03-31 [DuckDB] Comprehensive DuckDB dialect support: PIVOT/UNPIVOT, MACRO, SECRET, lambda expressions, list comprehension, struct/map/union types, QUALIFY, EXCLUDE/REPLACE on star, POSITIONAL/ASOF JOIN, FROM-first syntax, USING SAMPLE, and 60+ additional syntax features
GSP Java version 4.1.0.9(2026-03-23)¶
- 2026-03-23 [MSSQL] Fix $action column order in MERGE OUTPUT clause
- 2026-03-23 [MSSQL] Resolve MERGE OUTPUT inserted/deleted to MERGE target
- 2026-03-22 [EDB] Comprehensive EDB Postgres SPL support (triggers, types, collections, cursors, exceptions, loops, bulk operations)
- 2026-03-20 [BigQuery] Fix star column dedup in resolver
- 2026-03-20 [MSSQL] Preserve star column relationships with ignoreCoordinate
- 2026-03-19 [Teradata] Unify GRANT privilege types
- 2026-03-19 [Redshift] Add interval unit keywords and AT TIME ZONE support
- 2026-03-19 [Redshift] Add GROUPING SETS, ROLLUP, CUBE support
- 2026-03-18 [Snowflake] Add TEMP/TEMPORARY FUNCTION with $$ body
- 2026-03-17 [MSSQL, Snowflake] Respect vendor flags in identifier rules
- 2026-03-17 [Oracle, Snowflake, BigQuery] Prevent AIOOB in statement splitter
- 2026-03-17 Add builder pattern for custom IdentifierRules injection
- 2026-03-16 Optimize core parse path performance
- 2026-03-15 [Netezza] Fix AexprConst precedence and trim whitespace
- 2026-03-15 Eliminate parser S/R and R/R conflicts across all vendors
- 2026-03-14 Allow unreserved keywords as column names for all vendors
- 2026-03-14 [Redshift] Allow AWS-unreserved keywords as column names
GSP Java version 4.1.0.8(2026-03-13)¶
- 2026-03-14 [Redshift] Allow LISTAGG, CONVERT, APPROXIMATE, CONNECT_BY_ROOT, CHARACTER, DOUBLE as unquoted column names
- 2026-03-13 [MySQL] Fix tokenize error for backslash delimiter
- 2026-03-13 [Hive] Add CREATE PROCEDURE support
- 2026-03-13 [Greenplum, Snowflake] Fix syntax parsing issues
- 2026-03-13 [Oracle] Fix OOM in TSqlplusCmdStatement.extractCommandText
GSP Java version 4.1.0.7(2026-03-12)¶
- 2026-03-12 [BigQuery, PostgreSQL, MSSQL, MySQL, Greenplum] Fix syntax issues across 5 SQL dialects
- 2026-03-12 [BigQuery] Support PIVOT/UNPIVOT in JOIN context
- 2026-03-11 [PostgreSQL] Support RETURN as top-level statement
- 2026-03-11 [PostgreSQL] Fix ClassCastException in TSequenceOption
- 2026-03-11 [Snowflake] Support {var} template variables in identifiers
- 2026-03-11 [Oracle] Split multi-statement files with CTE after SELECT
- 2026-03-11 [Oracle] Support $P{} and $X{} template variables
- 2026-03-11 [Oracle] Support MATCH_RECOGNIZE after aliased table
- 2026-03-11 [MSSQL] Fix NPE in EXECUTE sp_executesql without args
- 2026-03-11 [MySQL] Fix NPE when FK REFERENCES has no column list
- 2026-03-10 [Snowflake] Support {{ variable }} template syntax
- 2026-03-10 [Oracle] Fix &variable. substitution with trailing dot
- 2026-03-10 [Redshift] Support CREATE PROCEDURE without args
- 2026-03-10 [MSSQL] Fix SELECT not split from CREATE VIEW body
- 2026-03-10 [DB2] Support {{ variable }} template syntax
- 2026-03-10 [Oracle] Support ${variable} template syntax
- 2026-03-10 [MySQL] Accept -- comments without trailing space
- 2026-03-10 [BigQuery] Support ${variable} template syntax
- 2026-03-10 [Snowflake] Handle \' escaped quotes in SQL input
- 2026-03-10 [Snowflake] Fix \'' in direct expression context
- 2026-03-10 [Snowflake] Fix \'' unescaping in single-quoted proc body
- 2026-03-10 [MSSQL] Split CTE without semicolon after DML
- 2026-03-09 [MySQL] Support ON as value in SET variable assignment
- 2026-03-09 [PostgreSQL] Support PL/pgSQL PERFORM FROM, ELSEIF, RETURN NEXT
- 2026-03-09 [PostgreSQL] Fix ClassCastException for SEQUENCE NAME option
- 2026-03-09 [Snowflake] Support ${variable} and backtick-quoted identifiers
- 2026-03-09 [Redshift] Split DDL statements without semicolons
- 2026-03-09 [Oracle] Handle forward slash delimiter on same line as semicolon
- 2026-03-09 [Snowflake] Split SET statements without semicolons
- 2026-03-09 [MySQL] Support DEFAULT before both CHARSET and COLLATE
- 2026-03-09 [PostgreSQL] Support TYPE as name in column alias lists
- 2026-03-09 [Snowflake] Split DDL statements without semicolons
GSP Java version 4.1.0.6(2026-03-09)¶
- 2026-03-09 [MySQL] Support CREATE/DROP SEQUENCE statements
- 2026-03-08 [Hive] Support ${variable} template substitution syntax
- 2026-03-08 [PostgreSQL] Support COMMENT ON FUNCTION/PROCEDURE without args
- 2026-03-08 [MSSQL] Fix splitter incorrectly splitting proc on END; CREATE TABLE
- 2026-03-08 [MSSQL] Support bracket-quoted XML method names
- 2026-03-08 [MSSQL] Support WITH XMLNAMESPACES combined with CTEs for all DML
- 2026-03-07 [Snowflake] Fix GRANT/REVOKE after procedure body not splitting
- 2026-03-07 [MySQL] Support function calls in CHECK constraints
- 2026-03-07 [Snowflake] Fix procedure with $$ body blocking subsequent statements
- 2026-03-07 [Snowflake] Add CREATE OR ALTER DYNAMIC TABLE to splitter
- 2026-03-07 [Snowflake] Support standalone scripting statements
- 2026-03-07 [Snowflake] Handle standalone scripting blocks (WHILE/FOR/LOOP/IF)
- 2026-03-07 [PostgreSQL] Handle psql meta-commands and RETURNS TABLE LANGUAGE
- 2026-03-07 [PostgreSQL] Add CASCADE and VERSION options to CREATE EXTENSION
- 2026-03-07 [Hive] Fix statement splitter for SELECT after semicolon-less SELECT
- 2026-03-07 [Hive] Fix statement splitter for SET after semicolon-less statements
- 2026-03-07 [MySQL] Fix tokenizer error on dash-separator comments
- 2026-03-07 [PostgreSQL] Allow CREATE TYPE inside DO blocks
- 2026-03-06 [MySQL] Fix tokenizer error on multi-dash comments
- 2026-03-06 [Snowflake] Support CREATE SEARCH OPTIMIZATION statement
- 2026-03-06 [MySQL] Fix trailing tokens after conditional comments
- 2026-03-06 Support TAlterViewStatement
- 2026-03-06 [Teradata] Support GRANT LOGON syntax
GSP Java version 4.1.0.5(2026-03-06)¶
- 2026-03-06 [Teradata] Support abbreviated GRANT privileges
- 2026-03-06 [Vertica] Support CREATE FLEX TABLE syntax
- 2026-03-06 [Teradata] Support USER, DATABASE, CREATE USER as GRANT privileges
- 2026-03-06 [Teradata] Support TABLE, VIEW, MACRO as GRANT privileges
- 2026-03-06 [Snowflake] Populate stage location from COPY INTO subquery
- 2026-03-06 [Redshift] Support IGNORE/RESPECT NULLS in both positions
- 2026-03-06 Add comprehensive TAttributeNode deprecated API inventory
- 2026-03-06 Support SQL query statistics
- 2026-03-06 Add large SQL file splitter tool
- 2026-03-06 Fixed NPE in logger error handling
- 2026-03-05 [Oracle] Improve call graph for parameterless calls and trigger tables
- 2026-03-05 [Oracle] Fix forward declaration causing AMBIGUOUS resolution
- 2026-03-05 [Oracle] Model package body initializer as synthetic routine
- 2026-03-05 [Oracle] Classify built-in functions as external deps
- 2026-03-05 [Oracle] Detect calls from enclosing routine to nested functions
- 2026-03-05 [Oracle] Detect function calls in TABLE(func) without arguments
- 2026-03-05 [Oracle] Detect parameterless function calls in all contexts
- 2026-03-05 [Oracle] Detect calls inside EXCEPTION handler blocks
- 2026-03-05 [Oracle] Detect constructor calls inside PIPE ROW statements
- 2026-03-05 [Oracle] Filter boolean literals from call graph edges
- 2026-03-05 [Oracle] Detect function calls in PL/SQL declarative sections
- 2026-03-05 [Oracle] Traverse compound trigger timing section bodies
- 2026-03-05 [Oracle] Detect double-parenthesized function calls
- 2026-03-05 [Oracle] Detect standalone dotted procedure calls
- 2026-03-05 [Oracle] Detect procedure calls in CASE statement branches
- 2026-03-05 [Oracle] Filter collection parameter access from call graph
- 2026-03-05 [Oracle] Filter SYSDATE and pseudo-columns from call graph
- 2026-03-05 [Oracle] Filter out collection variable/method calls from call graph
- 2026-03-05 [Oracle] Merge forward declaration and implementation
- 2026-03-05 [Oracle] Resolve calls to procs with default parameters
- 2026-03-05 [Oracle] Detect built-in SQL function calls in PL/SQL expressions
- 2026-03-05 [Oracle] Deduplicate cursor table accesses on OPEN CURSOR
- 2026-03-05 [Oracle] Fix trigger ON table access kind classification
- 2026-03-05 [MSSQL] Add T-SQL call graph support (Phase A IR)
- 2026-03-05 [MSSQL] Filter XML methods and .WRITE() from call graph
- 2026-03-05 [MSSQL] Classify JSON built-in functions as external deps
- 2026-03-05 [MSSQL] Detect function calls in SET assignments
- 2026-03-04 [Vertica] Support PLvSQL truncating assignment (<-)
- 2026-03-03 [PostgreSQL] Fix parser errors on various SELECT commands
- 2026-03-03 [PostgreSQL] Expose ON CONFLICT clause in GSP API
- 2026-03-03 [PostgreSQL] INCLUDE clause in constraints
- 2026-03-03 [PostgreSQL] Add PGvector distance operators
- 2026-03-03 [PostgreSQL] Process operands for binary operator expressions
- 2026-03-03 [PostgreSQL] Fix NPE in TElsifStmt.acceptChildren
- 2026-03-03 Fix null guards in TStarColumnPushDownResolver
- 2026-03-03 [SparkSQL] Support FOR loop statement
- 2026-03-03 [SparkSQL] Support LOOP/END LOOP statement
- 2026-03-03 [SparkSQL] Support labeled WHILE and REPEAT loops
- 2026-03-03 [SparkSQL] Support LEAVE and ITERATE without labels
- 2026-03-02 [Redshift] Database@Catalog cross-database notation
- 2026-03-02 [Redshift] VACUUM TO PERCENT BOOST and ANALYZE ALL COLUMNS
- 2026-03-02 [Redshift] Transaction isolation level extensions
- 2026-03-02 [Redshift] SHOW TEMPLATES LIKE/LIMIT and SHOW DATABASES extensions
- 2026-03-02 [Redshift] SHOW COLUMN GRANTS/CONSTRAINTS and FOR ROLE
- 2026-03-02 [Redshift] SHOW GRANTS extended types and FOR/LIMIT clauses
- 2026-03-02 [Redshift] COPY SIMPLIFY AUTO clause for Shapefile format
- 2026-03-02 [Redshift] CREATE/ALTER USER EXTERNALID double-quoted value
- 2026-03-02 [Redshift] ALTER USER CONNECTION LIMIT, VALID UNTIL, SET SEARCH_PATH
- 2026-03-02 [Redshift] ALTER TABLE MASKING and RLS FOR DATASHARES
- 2026-03-02 [Redshift] CREATE DATABASE extensions
- 2026-03-02 [Redshift] ALTER DATABASE CONNECTION LIMIT and SET INTEGRATION REFRESH
- 2026-03-02 [Redshift] Allow POSITION keyword as column name
GSP Java version 4.1.0.3(2026-03-02)¶
- 2026-03-02 [SparkSQL] Support standalone TABLE expression
- 2026-03-02 [SparkSQL] Support MSCK REPAIR TABLE with ADD/DROP/SYNC PARTITIONS
- 2026-03-02 [SparkSQL] Support FROM-first query syntax
- 2026-03-02 [SparkSQL] Support ILIKE operator for case-insensitive pattern matching
- 2026-03-02 [SparkSQL] Support VALUES with table alias and column definitions
- 2026-03-02 [SparkSQL] Support default keyword as schema/database identifier
- 2026-03-02 [SparkSQL] Support compound statement (BEGIN...END)
- 2026-03-02 [SparkSQL] Support Pipe Syntax operators
- 2026-03-02 [SparkSQL] Support TRANSFORM clause, UNPIVOT, CREATE SQL FUNCTION
- 2026-03-02 [SparkSQL] Support ALTER DATABASE, ALTER TABLE extended operations
- 2026-03-02 [SparkSQL] Support WITHIN GROUP, GROUP BY WITH ROLLUP/CUBE
- 2026-03-02 [SparkSQL] Support IGNORE/RESPECT NULLS, EXCEPT ALL, MINUS ALL
- 2026-03-02 [SparkSQL] Support OFFSET, SET VAR, DROP TEMPORARY VARIABLE
- 2026-03-02 [SparkSQL] Support EXECUTE IMMEDIATE, DECLARE VARIABLE
- 2026-03-02 [SparkSQL] Support star EXCEPT with struct field references
- 2026-03-02 [SparkSQL] Support WINDOW clause, INSERT BY NAME, REPLACE WHERE
- 2026-03-02 [SparkSQL] Support ADD/LIST resource management, CREATE TABLE/VIEW AS VALUES
- 2026-03-02 [SparkSQL] Support CREATE/ALTER VIEW WITH SCHEMA EVOLUTION
- 2026-03-02 [SparkSQL] Support SHOW SCHEMAS, SHOW SYSTEM FUNCTIONS, ANALYZE TABLES
- 2026-03-02 [Redshift] Support SHOW TEMPLATE command
- 2026-03-02 [Redshift] Support NONATOMIC stored procedures
- 2026-03-02 [Redshift] Support CREATE EXTERNAL MODEL with MODEL_TYPE BEDROCK
- 2026-03-02 [Redshift] Support EXTERNALID and namespaced usernames
- 2026-03-02 [Redshift] Support CREATE EXTERNAL SCHEMA FROM MSK with AUTHENTICATION
- 2026-03-02 [Redshift] Support nested complex types in CREATE EXTERNAL TABLE
- 2026-03-02 [Redshift] Support BZIP2 and SERIALIZETOJSON in COPY command
- 2026-03-02 [Redshift] Support DISTSTYLE AUTO and SORTKEY AUTO
- 2026-03-02 [Redshift] Support VACUUM BOOST, LATERAL, ARRAY()
- 2026-03-02 [Redshift] Support CREATE VIEW WITH NO SCHEMA BINDING
- 2026-03-02 [Redshift] Support GENERATED ALWAYS AS IDENTITY
- 2026-03-02 [Redshift] Support UNPIVOT INCLUDE/EXCLUDE NULLS
- 2026-03-02 [Redshift] Support CREATE/ALTER/DROP RLS POLICY and MASKING POLICY
- 2026-03-02 [Redshift] Support CONNECT BY hierarchical queries
- 2026-03-02 [Redshift] Support COPY/UNLOAD extensions (ORC, SHAPEFILE, KMS_KEY_ID)
- 2026-03-02 [Redshift] Support CREATE/ALTER DATABASE extensions
- 2026-03-02 [Redshift] Support CREATE/ALTER USER extensions
- 2026-03-02 [Redshift] Support SHOW extensions (COLUMNS, TABLES, SCHEMAS, GRANTS, DATASHARES)
- 2026-03-02 [Redshift] Support CREATE/ALTER/DROP TEMPLATE, ROLE, DATASHARE
- 2026-03-02 [Redshift] Support CREATE EXTERNAL FUNCTION for Lambda UDFs
- 2026-03-02 [Redshift] Support GRANT/REVOKE extensions (column-level, scoped, ROLE)
- 2026-03-02 [Redshift] Support SELECT * EXCLUDE (columns) syntax
- 2026-03-02 [Redshift] Support USE statement
- 2026-03-02 [Snowflake] Add CHANGES clause for time travel queries
- 2026-03-02 [Snowflake] Support object wildcard {} and {table.} in SELECT
- 2026-03-02 [Snowflake] Support @%table and @~ stage references in SELECT
- 2026-03-02 [Snowflake] Support parenthesized COPY in CREATE PIPE
- 2026-03-02 [Snowflake] Support FILE_FORMAT shorthand and quoted MATCH_BY_COLUMN_NAME
- 2026-03-02 [Snowflake] Support unquoted S3 URLs in COPY INTO FROM
- 2026-03-02 [Snowflake] Support PARTITION BY with external locations in COPY INTO
- 2026-03-02 [Snowflake] Support standalone HEADER keyword in COPY INTO
- 2026-03-02 [Snowflake] Support @stage/ trailing slash in COPY INTO
- 2026-03-02 [Snowflake] Allow varchar2 as unquoted identifier
- 2026-03-02 [Snowflake] Support ALTER TABLE extensions (search optimization, policies, tags, metrics)
- 2026-03-02 [Snowflake] Support multi-column ALTER/MODIFY, constraint management
- 2026-03-02 [BigQuery] Support CREATE MODEL ARIMA custom holidays, INPUT/OUTPUT clauses
- 2026-03-02 [BigQuery] Support Apache Spark procedures and WITH CONNECTION for Python UDFs
- 2026-03-02 [BigQuery] Support OPTIONS clause after function body
- 2026-03-02 [BigQuery] Support hyphenated identifiers in DROP CAPACITY/RESERVATION/ASSIGNMENT
- 2026-03-02 [BigQuery] Support RANGE
type in column definitions - 2026-03-02 fix: getFinalTable() traces through column aliases to physical tables
- 2026-03-02 feat: Add getTracedFinalTable() for alias-aware lineage
- 2026-03-02 fix: [Oracle] ALTER INDEX RENAME TO sets newIndexName, not tableName
GSP Java version 4.1.0.2(2026-02-25)¶
- 2026-02-25 Fixed NPE
- 2026-02-25 [BigQuery] Regenerate yacc table to fix parser regression
- 2026-02-25 [BigQuery] Fix NPE crash on malformed input
- 2026-02-25 [BigQuery] Support CREATE FUNCTION OPTIONS after RETURNS
- 2026-02-25 [BigQuery] Support labeled loop and block statements
- 2026-02-25 [BigQuery] Support bare RAISE statement in exception handlers
- 2026-02-25 [BigQuery] Support ELSEIF in IF statements
- 2026-02-25 [BigQuery] Add tests for REPEAT...UNTIL loop syntax
- 2026-02-25 [BigQuery] Support WHILE...DO loop syntax
- 2026-02-25 [Snowflake] Support CREATE PROCEDURE without LANGUAGE clause
- 2026-02-25 [Snowflake] Support EXECUTE IMMEDIATE FROM with DRY_RUN option
- 2026-02-25 [Snowflake] Support EXECUTE IMMEDIATE FROM with USING clause
- 2026-02-25 [Snowflake] Support EXECUTE IMMEDIATE FROM syntax
- 2026-02-25 [Netezza] Regenerate yacc table to restore || precedence
- 2026-02-25 [Snowflake] Support CREATE ICEBERG TABLE syntax
- 2026-02-25 [Snowflake] Support backslash-escaped strings in function body
- 2026-02-25 [Snowflake] Support GRANT USAGE ON FUNCTION with parameter signature
GSP Java version 4.1.0.1(2026-02-23)¶
- 2026-02-23 [Teradata] Fix objectToken when alias matches schema name
- 2026-02-23 [Snowflake] Fix phantom star column expansion in JOIN lineage
- 2026-02-23 Add PL/SQL call graph sample files with JSON output
- 2026-02-23 Add JSON schema v1.1 for call graph and impact analysis
- 2026-02-23 [Oracle] Upgrade Phase A IR to industrial-grade
- 2026-02-22 [Oracle] Add OracleBoundIRBuilder and CallGraph
- 2026-02-22 Add TSQLResolver2 adapter strategy for IBoundIRBuilder
- 2026-02-22 [BigQuery] Fix nested struct column lineage naming
- 2026-02-22 [BigQuery] Add StructFieldHint for 3-part no-alias struct access
- 2026-02-22 [BigQuery] Add FieldPath infrastructure for nested column lineage
- 2026-02-21 [Snowflake] Support nested stored procedure declarations
- 2026-02-21 [Snowflake] Support EXIT keyword in exception handlers
- 2026-02-21 [Snowflake] Fix NOT NULL constraint on variable declarations
- 2026-02-21 [BigQuery] Support MATCH_RECOGNIZE pipe operator
- 2026-02-21 [BigQuery] Support WINDOW pipe operator
- 2026-02-21 [BigQuery] Support CALL pipe operator for table-valued functions
- 2026-02-21 [BigQuery] Support TABLESAMPLE pipe operator
- 2026-02-21 [BigQuery] Support OFFSET in pipe LIMIT operator
- 2026-02-21 [Vertica] Fix CREATE EXTERNAL TABLE AS COPY FROM support
- 2026-02-21 [Vertica] Add SECURITY INVOKER/DEFINER support for CREATE PROCEDURE
- 2026-02-21 [Redshift] Fix comparison operator access in group_comparison_t
- 2026-02-21 [Redshift] Fix quantified comparison (ALL/ANY/SOME) AST
- 2026-02-20 [Snowflake] Support ASYNC keyword in parenthesized resultset assignments
- 2026-02-20 [Snowflake] Support cursor row dot notation in FOR loops
- 2026-02-20 [BigQuery] Allow expression in RAISE USING MESSAGE
- 2026-02-20 [Snowflake] Support DECLARE EXCEPTION without parameters
- 2026-02-20 [BigQuery] Add support for additional ML table functions
- 2026-02-20 [Snowflake] Fix NULL; statement NullPointerException in $$ bodies
- 2026-02-20 [BigQuery] Support FOR SYSTEM_TIME AS OF with alias in JOIN
- 2026-02-20 [Impala] Add PURGE keyword support for DROP TABLE
- 2026-02-20 [Redshift] Fix TOP clause returning null on AST
- 2026-02-20 Resolve GROUP BY alias references to source tables
GSP Java version 3.3.1.9(2025-11-23)¶
- 2025-11-23 Convert ENABLE_RESOLVER to ThreadLocal for thread safety
- 2025-11-22 Add support for PL/SQL NEW constructor with empty params
- 2025-11-20 Fix resolver error in parseExpression method
3.3.1.7 (2025-11-16)¶
- 2025-11-16: Improve UNION column propagation and prevent duplicate links
- 2025-11-16: Fix star column push down for UNION in CTE subqueries
- 2025-11-16: Fix Snowflake CREATE TABLE to support multiple table options
- 2025-11-15: Fix parse bug for lock row for access used in cursor declaration
- 2025-11-15: Fix CASE expression matching in Teradata procedures
- 2025-11-15: Fix NullPointerException in Teradata implicit table column linking
- 2025-11-15: Fix UNION column name resolution to use leftmost query
- 2025-11-15: Add SET TIME ZONE statement parsing for Teradata
- 2025-11-15: Add END_FASTEXPORT command type for Teradata
3.2.1.5 (2025-10-26)¶
- 2025-10-26: Fix DROP SECURITY POLICY parsing in IF statements
- 2025-10-26: Fix PARTITION BY expression parsing in Snowflake
- 2025-10-26: Integrate file format properties parsing and XML output
- 2025-10-26: Add parseFileFormatProperties method to TCreateTableOption
- 2025-10-26: Add file format properties list to TCreateTableOption
3.2.1.4 (2025-10-26)¶
- 2025-10-26: Add areEqualStatic method to IdentifierService
- 2025-10-26: Add static cache to IdentifierService for performance
- 2025-10-26: Refactor identifier normalization to use service pattern
- 2025-10-26: Fix multithreading bug in SqlCmdsFactory
- 2025-10-26: Improve SQL Server identifier handling and tests
- 2025-10-22: Enable catalog hierarchical and bucketed indexes
- 2025-10-21: Use SQLUtil.getIdentifierNormalName in keyForMap (temporary)
- 2025-10-21: Enhance IdentifierRules Javadoc with compatibility info
- 2025-10-20: Enhance Javadoc for IdentifierService and SQLUtil
- 2025-10-20: Remove redundant catalogStore field and USE_CALCITE_CATALOG_VIEW flag
- 2025-10-20: Refactor CatalogStore to use IdentifierService
- 2025-10-19: Add catalog documentation README index
- 2025-10-19: Add comprehensive catalog documentation for 12 major databases
- 2025-10-18: Add Oracle catalog documentation for beginners
- 2025-10-18: Fix collation case sensitivity configuration bugs
3.2.0.2 (2025-10-15)¶
- 2025-10-15: Fix parsing conversion functions as column names
- 2025-10-15: Add array indexing support for GaussDB
- 2025-10-15: Add table kind support for GaussDB CREATE TABLE
- 2025-10-10: Add GitHub Actions workflow for PR test automation
- 2025-10-10: Add INSERTED/DELETED as SQL Server reserved words
3.2.0.1 (2025-10-08)¶
- 2025-10-08: Fix json_table rewrite bug in script generator
- 2025-10-08: Remove unused findXXXCmd methods from TSqlCmds
- 2025-10-08: Refactor TSqlCmds.java into per-vendor TSqlCmds subclasses
- 2025-10-08: Document command ordering bug with real example
- 2025-10-08: Fix command ordering for DATABASE SCOPED CREDENTIAL
- 2025-10-08: Migrate MDX to modular architecture
- 2025-10-08: Unify vendor implementations for Trino, SOQL, ODBC
- 2025-10-07: Migrate Vertica to modular architecture
- 2025-10-07: Migrate Sybase to modular architecture
- 2025-10-07: Migrate SparkSQL to modular architecture
- 2025-10-07: Migrate Snowflake to modular architecture
- 2025-10-07: Migrate Redshift to modular architecture
- 2025-10-07: Migrate Presto to modular architecture
- 2025-10-07: Migrate OpenEdge to modular architecture
- 2025-10-07: Migrate Netezza to modular architecture
- 2025-10-07: Migrate Informix to modular architecture
- 2025-10-07: Migrate HANA to modular architecture
- 2025-10-07: Migrate Greenplum to modular architecture
- 2025-10-07: Migrate GaussDB to modular architecture
- 2025-10-07: Migrate DB2 to modular architecture
- 2025-10-07: Migrate Databricks to modular architecture
- 2025-10-07: Migrate Couchbase to modular architecture
- 2025-10-07: Migrate BigQuery to modular architecture
- 2025-10-07: Migrate Teradata to modular architecture
- 2025-10-07: Remove FindMssqlCmdUsedByYacc
- 2025-10-07: Migrate MySQL to modular architecture
- 2025-10-07: Migrate PostgreSQL to modular architecture
- 2025-10-07: Migrate MSSQL to modular vendor-specific architecture
- 2025-10-07: Support vendor-specific token strings in modular architecture
- 2025-10-06: Migrate MSSQL command initialization to TSqlCmdsMssql
- 2025-10-06: Refactor TSqlCmds to vendor-specific lazy-loading architecture
- 2025-10-05: Refactor: Move TSqlCmds to sqlcmds package
- 2025-10-05: Add high-impact factory methods based on profiler analysis
- 2025-10-05: Optimize Oracle package function lookup with thread-safe lazy init
- 2025-10-05: Expand factory methods for common node types
- 2025-10-04: Avoid skipping table.* when only one source exists
- 2025-10-04: Fix Teradata lexer to treat $_ identifiers correctly
- 2025-10-04: Merge pull request #550 from sqlparser/dev
- 2025-10-04: Fixed MySQL Metadata Bug.
3.1.1.3 (2025-10-02)¶
- 2025-10-02: Add getLastLineNoOfLastStatementBeenValidated() for huge file splitting
- 2025-10-02: Optimize token code comparisons in domssqlgetrawsqlstatements
3.1.1.2 (2025-09-27)¶
- 2025-09-27: Optimize isopchar and isselfchar methods in TCustomLexer
- 2025-09-27: Remove sourceBuffer of lexer
- 2025-09-27: Add test units
- 2025-09-27: Fix CTE column mapping when subquery uses SELECT *
- 2025-09-27: Fix Teradata table resolution when original name used despite alias
- 2025-09-27: Document Teradata implicit derived tables processing
3.1.1.1 (2025-09-21)¶
- 2025-09-20: Optimize showERG graph demo
- 2025-09-20: Update DataFlowAnalyzer demo
- 2025-09-19: Build pom for dlineage
- 2025-09-19: Set genDataflowGraph showLinkOnly default value to true
3.1.1.0 (2025-09-14)¶
- 2025-09-14: Feat: Add stable sqlHash for lineage statement identity
- 2025-09-14: Feat: Add stable queryId to SQL statements
- 2025-09-14: Feat: Introduce new source token management system
- 2025-09-14: feat(lexer): Implement lazy loading for token text
- 2025-09-13: tmp for lazyloading token
- 2025-09-13: Refactor: Implement lazy loading lexer architecture
- 2025-09-13: Docs: Document lexer architecture and lazy loading design
- 2025-09-13: Optimize memory usage with lazy ArrayList initialization
3.1.0.9 (2025-09-13)¶
- 2025-09-13: Fix column linking for inserted/deleted in triggers
- 2025-09-13: claude helpfile
- 2025-09-13: Add parser pool implementation without performance gains
- 2025-09-13: Add thread-safe parser pool for 10x performance gain
3.1.0.8 (2025-09-13)¶
- 2025-09-13: Refactor and harden parser build scripts
- 2025-09-13: Refactor: Move SQL grammar files to core module
3.1.0.7 (2025-09-11)¶
- 2025-09-11: Test: Verify pseudo-table resolution in triggers
- 2025-09-10: Refactor: Support chained transformations for columns
- 2025-09-08: Docs: Explain issues with varied relationship types
- 2025-09-07: Update lineage design doc
- 2025-09-07: Fix(Snowflake): Correct name of wildcard with EXCLUDE clause
- 2025-09-07: Fix duplicate output for field selection expressions
- 2025-09-07: Fix SQL generation for array access and slices
- 2025-09-07: Add type discrimination to TIndices for array vs qualified name syntax
- 2025-09-07: Fix column resolution for Oracle dblink tables
- 2025-09-06: Restructure dlineage demo
- 2025-09-06: Merge pull request #537 from sqlparser/dev
- 2025-09-06: Doc: Define modeling practices for JOIN conditions
- 2025-09-03: Clarify graphPartition sharding note in v2 doc
- 2025-09-03: Rename WEAK_COPY to MODIFIED_COPY and refine categories
- 2025-08-31: Docs: Extend v2 design with effectType rules and table/column combos
3.1.0.5 (2025-08-30)¶
- 2025-08-30: Add GROUP BY ALL modifier support to TGroupBy class
- 2025-08-30: Fix: Restrict INSERTED/DELETED column logic to SQL Server
- 2025-08-30: Docs: Warn of SQL formatter side effects on parser state
- 2025-08-30: Refactor toString method for better readability
- 2025-08-30: Fix token iteration in visitNodeByToken
- 2025-08-28: Docs: Unify and enhance data lineage specification
- 2025-08-28: Refactor: Restructure demos into Maven multi-module project
- 2025-08-28: Refactor: Move database connection logic to provider
3.1.0.2 (2025-08-15)¶
- 2025-08-15: [Dlineage] Fix a bug the data lineage of parameters in function call is not mapping correctly.
3.1.0.1 (2025-08-01)¶
- 2025-08-01: [GaussDB] Fixed a bug where the COUNT aggregate function was not properly recognized as a built-in function in the parser.
- 2025-08-01: [GaussDB] Fixed a bug where the LIKE operator incorrectly had lower precedence than the AND operator in pattern matching conditions. Updated operator precedence to ensure LIKE has higher precedence.
3.1.0.0 (2025-07-27)¶
- 2025-07-27: [Postgres] Fix a bug not materialized is not supported in WITH clause.
- 2025-07-27: [Oracle] Support default collation clause in create view/create function/create procedure/create trigger.
- 2025-07-27: [SQL Server] Fix a bug ALTER TABLE REBUILD WITH(DATA_COMPRESSION = PAGE) is not parsed correctly.
3.0.9.9 (2025-07-26)¶
- 2025-07-26: [Redshift] Fixed a performance issue with large INSERT statements; efficiently handles thousands of tuples (e.g. $1, $2, ...).
3.0.9.8 (2025-07-20)¶
- 2025-07-20: [SparkSQL] Bugfix, fix a bug position keyword can't be used as column name.
3.0.9.7 (2025-07-19)¶
- 2025-07-19: [scriptWriter] Fixed a bug where field selection syntax with parentheses (e.g. "(d).grantee") was not being generated correctly.
- 2025-07-19: [scriptWriter] Fixed a bug where column lists in DISTINCT ON clauses were not being properly generated.
3.0.9.6 (2025-07-10)¶
- 2025-07-10: [data lineage] Fixed bug in DataflowAnalyzer using SQL environment settings.
3.0.9.5 (2025-07-06)¶
- 2025-07-06: [Vertica] Support USING PARAMETERS clause in LISTAGG function.
- 2025-07-06: [Vertica] Support NULLSEQUAL operator.
- 2025-07-06: [Snowflake] Fixed bug with procedure bodies using only two consecutive tokens before semicolon.
- 2025-07-06: [SQL Server] Fix INSERTED pseudo table in CREATE TRIGGER column resolution.
- 2025-07-06: [SQL Server] Fix column in IF UPDATE() OR UPDATE() of trigger not picked up.
3.0.9.4 (2025-06-15)¶
- 2025-06-15: [PostgreSQL] Support create recursive view.
- 2025-06-15: [SQL Server] Fix can't parse partitions clause in TRUNCATE TABLE.
- 2025-06-15: [BigQuery] Add support for star column expressions in array access.
- 2025-06-15: [BigQuery] Add support for various DROP statements.
- 2025-06-15: [BigQuery] Fix length specification for BYTES datatype.
- 2025-06-15: [BigQuery] Fix IF NOT EXISTS clause in CREATE MATERIALIZED VIEW.
- 2025-06-15: [Athena] Fix NPE in ALTER TABLE RENAME PARTITION.
- 2025-06-15: [General] Fix thread-safety in TNodeFactory.
3.0.9.3 (2025-06-08)¶
- 2025-06-08: [scriptWriter] Fix bug with column.property rewrite in SQL script generation.
3.0.9.3 (2025-06-08)¶
- 2025-06-08: [PostgreSQL] Fix bug with AS datatype clause in CREATE SEQUENCE.
- 2025-06-08: [PostgerSQL] Support ALTER INDEX.
- 2025-06-08: [Teradata] Preserve both NAMED clause and AS alias in SELECT list.
- 2025-06-08: [Teradata] Support EXECUTE ... USING ... in procedures.
- 2025-06-08: [Teradata] Add FOREIGN TABLE syntax in FROM clause.
- 2025-06-08: [Teradata] Add IGNORE NULLS clause before OVER in agg functions.
- 2025-06-08: [Teradata] Fix parsing SELECT substring(..., position(...) + 5 FOR 5)
- 2025-06-08: [PostgerSQL] Support CREATE/ALTER ROLE.
- 2025-06-08: [Snowflake] Fix COMMENT keyword as column alias in SELECT.
3.0.9.3 (2025-06-07)¶
- 2025-06-07: [SparkSQL] Support LEFT/RIGHT JOIN without explicit ON.
- 2025-06-07: [SparkSQL] Support grouping sets after group by items without comma.
- 2025-06-07: [SparkSQL] Fix AS keyword wrongly required in CTAS.
- 2025-06-07: [SparkSQL] Fix parsing FILTER clauses after aggregates.
3.0.9.2 (2025-06-02)¶
- 2025-06-02: [scriptWriter] Fix bug: array types like text[] rewritten as text.
- 2025-06-02: [scriptWriter] Fix bug: IS TRUE / IS FALSE not rewritten correctly.
- 2025-06-02: [scriptWriter] Fix bug: RECURSIVE keyword missing in CTE rewrites.
- 2025-06-02: [scriptWriter] Fix bug: ORDER BY in function call arguments.
- 2025-06-02: [scriptWriter] Fix bug: parens around CTE subqueries.
3.0.9.1 (2025-05-29)¶
- 2025-05-29: [Teradata] Fix can't process .EXPORT FILE BTEQ command.
3.0.9.0 (2025-05-27)¶
- 2025-05-27: [Oracle] Support sequence option in CREATE TABLE with IDENTITY.
3.0.8.8 (2025-05-18)¶
- 2025-05-18: [API] Enhance EDbVendor: getAllVendorAliases(), getDescription(), getStatus()
- 2025-05-18: [PostgreSQL] Support JSON operators (#-, @?, @@)
- 2025-05-18: [Vertica] Fix CREATE OR REPLACE procedure parsing.
- 2025-05-18: [Netezza] Fix/Support interval datatypes (all variations)
3.0.8.8 (2025-05-18)¶
- 2025-05-18: [General] Support sqlimpact.
3.0.8.7 (2025-05-18)¶
- 2025-05-18: [GaussDB] Support LANGUAGE clause in do statement.
3.0.8.6 (2025-05-17)¶
- 2025-05-17: [General] Parser handles missing semicolons robustly (adds virtual semicolon when missing).
- 2025-05-17: [Teradata] Fix NPE for ADD_MONTHS() with subquery param.
- 2025-05-17: [API] Add getOperatorTokens() to TExpression for multi-token ops (e.g. SIMILAR TO, IS DISTINCT FROM).
- 2025-05-17: [scriptWriter] Fix group comparisons in SELECT list SQL generation.
- 2025-05-17: [GaussDB] Support distribute BY in CREATE TABLE.
- 2025-05-17: [GaussDB] Support TRY_CAST function.
- 2025-05-17: [GaussDB] Fix LOCALTIMESTAMP(n) precision param parsed as column.
- 2025-05-17: [SparkSQL] Fix can't retrieve distribute by / sort by clause.
- 2025-05-17: [Snowflake] Fix parsing of LEFT JOIN in single-quote/dollar-proc.
- 2025-05-17: [GaussDB] Fix cast(1, int) not supported.
- 2025-05-17: [scriptWriter] toScript() appends semicolon if original ended with semicolon.
3.0.8.5 (2025-05-12)¶
- 2025-05-12: [SQL Server] Improve distinguishing -- comment vs. minus.
- 2025-05-12: [SQL Server] Fix TRUNCATE TABLE with table aliases.
3.0.8.4 (2025-05-11)¶
- 2025-05-11: [Oracle] Detect package constant/variable used in INSERT for lineage.
3.0.8.3 (2025-05-11)¶
- 2025-05-11: [Snowflake] Support table index constraint.
- 2025-05-11: [scriptWriter] In PostgreSQL, special SQL functions handling parens.
3.0.8.2 (2025-05-11)¶
- 2025-05-11: [General] INSERT processed during the SQL Resolver.
3.0.8.1 (2025-05-08)¶
- 2025-05-08: [General] Fix critical OOM in TStarColumnPushDownResolver (nested UNION ALL).
3.0.8.1 (2025-05-07)¶
- 2025-05-07: [SQL Server] Fix can't parse CREATE OR ALTER FUNCTION.
3.0.8.0 (2025-05-06)¶
- 2025-05-06: [General] Merge some source code.
3.0.7.9 (2025-05-04)¶
- 2025-05-04: [PostgreSQL] Fix parsing of UNION DISTINCT clause.
3.0.7.8 (2025-05-04)¶
- 2025-05-04: [Databricks] Fix normalization of backtick-quoted identifiers.
- 2025-05-04: [SparkSQL] Fix parsing column alias lists in parentheses with EXPLODE.
3.0.7.7 (2025-05-03)¶
- 2025-05-03: [Hive] Fix LATERAL VIEW EXPLODE alias analysis.
- 2025-05-03: [PostgreSQL/toScript] Fix type cast (::) handling in script generation.
3.0.7.6 (2025-05-01)¶
- 2025-05-01: [Performance] Cached/specialized factory methods in TNodeFactory.createNode()
3.0.7.5 (2025-04-29)¶
- 2025-04-29: [Teradata] Support array element access with quoted identifiers.
- 2025-04-29: [Teradata] Fix same-name tables in different DBs treated as the same.
3.0.7.4 (2025-04-28)¶
- 2025-04-28: [SparkSQL] Fix == equality operator handling.
- 2025-04-28: [SparkSQL] Fix & bitwise AND operator handling.
3.0.7.3 (2025-04-27)¶
- 2025-04-27: [General] Performance improved.
3.0.7.2 (2025-04-20)¶
- 2025-04-20: [PostgreSQL] Support array element access on array-returning functions.
- 2025-04-20: [BigQuery] Support CREATE OR REPLACE TEMPORARY TABLE.
- 2025-04-20: [SQL Server] Fix comments with leading whitespace.
- 2025-04-20: [API] Add TRedshiftTableAttributes.
- 2025-04-20: [Redshift] Add DISTSTYLE for materialized views.
- 2025-04-20: [Teradata] Fix DAYNUMBER_OF_MONTH not recognized.
- 2025-04-20: [Teradata] Fix || precedence.
- 2025-04-20: [API] Add implicit_datatype_cast_as_t for '... AS ...' expressions.
- 2025-04-20: [API] PARSE/TRY_PARSE use getArgs() for SQL Server.
3.0.7.2 (2025-04-19)¶
- 2025-04-19: [Snowflake] Properly detect INSERT OVERWRITE clause.
- 2025-04-19: [Vertica] Fix '||' concatenate op.
- 2025-04-19: [MySQL] Support JSON_TABLE.
- 2025-04-19: [MySQL] Support column-level check constraint.
- 2025-04-19: [MySQL] Support ALTER TABLE ADD CONSTRAINT CHECK.
- 2025-04-19: [DB2] Fix TYPE keyword as valid column name in SELECT.
3.0.7.1 (2025-04-17)¶
- 2025-04-17: [General] Fix various test case failures.
3.0.7.0 (2025-04-15)¶
- 2025-04-15: [Snowflake] Fix LEFT/RIGHT join keywords treated as column aliases.
3.0.6.9 (2025-04-13)¶
- 2025-04-13: [gettablecolumn] Match table.column.property to table.* in FROM.
3.0.6.8 (2025-04-12)¶
- 2025-04-12: [BigQuery] Link array element accesses with [offset] to table columns.
- 2025-04-12: [API] Add EExpressionType.teradata_at_t AT time zone support.
- 2025-04-12: [Teradata] Extract time_zone_specification from AT clause.
- 2025-04-12: [Teradata] Add support for many named builtins.
- 2025-04-12: [Snowflake] Support ASOF JOIN.
- 2025-04-12: [SparkSQL] Support grouping set in group by.
3.0.6.7 (2025-04-12)¶
- 2025-04-12: [Hive,SparkSQL] Clarify alias rules for SELECT list.
- 2025-04-12: [Presto] Fix select trailing comma.
3.0.6.6 (2025-04-06)¶
- 2025-04-06: [Teradata] Fix "WITH DATA" clause treats "data" as column name.
- 2025-04-06: [resolver] New column-to-table algorithm takes precedence over old.
- 2025-04-06: [Sybase] Fix alias in SELECT: 'id_col=identity(5)'.
3.0.6.5 (2025-04-05)¶
- 2025-04-05: [Oracle] Fix can't parse EXECUTE PROC_A3; correctly.
- 2025-04-05: [Oracle] Fetch proc name from sqlplus EXEC.
3.0.6.4 (2025-04-05)¶
- 2025-04-05: [Snowflake] REAL keyword can be table alias.
- 2025-04-05: [Oracle] Support parens expr with property access.
- 2025-04-05: [Snowflake] Fix SWAP WITH table direction.
- 2025-04-05: [MySQL] Support EXCEPT clause.
3.0.6.3 (2025-04-04)¶
- 2025-04-04: [Databricks] Fix parens around split() in array access.
- 2025-04-04: [BigQuery] Add TArrayConcatAggFunction.
- 2025-04-04: [GaussDB] Fix 'day' param in TIMESTAMPDIFF.
- 2025-04-04: [General] Remove fake orphan column warning.
- 2025-04-04: [GaussDB] DOUBLE alias for DOUBLE PRECISION.
- 2025-04-04: [GaussDB] Fix can't parse LIMIT 1,1.
3.0.6.2 (2025-04-01)¶
- 2025-04-01: [SparkSQL] Support array access expression.
- 2025-04-01: [SparkSQL] Parsing fix: split negative numbers tokens.
- 2025-04-01: [BigQuery] Show dot after numeric in TObjectName.toString().
3.0.6.0 (2025-03-24)¶
- 2025-03-24: [Teradata] Fix duplicate derived tables in WHERE clause.
3.0.5.9 (2025-03-23)¶
- 2025-03-23: [Databricks/Hive] Support Hash (#) comments.
3.0.5.8 (2025-03-11)¶
- 2025-03-11: [column resolver] Fix bug: column inside UNNEST mislinked.
3.0.5.7 (2025-03-09)¶
- 2025-03-09: [API] ETableEffectType.tetTeradataReference renamed to tetImplicitLateralDerivedTable.
- 2025-03-09: [column resolver] Subquery columns link to subquery FROM by preference.
3.0.5.6 (2025-03-04)¶
- 2025-03-04: [demo] Remove dbConnect from gsp_demo_java.
3.0.5.5 (2025-03-02)¶
- 2025-03-02: [SQL formatter] Fix can't process Teradata Implicit Lateral Derived Table.
3.0.5.4 (2025-03-02)¶
- 2025-03-02: [Vertica] Fix localtime() number param as column.
- 2025-03-02: [Vertica] Support RENAME COLUMN in ALTER TABLE.
3.0.5.3 (2025-03-01)¶
- 2025-03-01: [column resolver] Fix SET in UPDATE to wrong table.
- 2025-03-01: [GaussDB] Support OVERWRITE in INSERT (DWS).
- 2025-03-01: [General] Remove fake orphan column warning.
- 2025-03-01: [Oracle] Resolve package/function/proc name in procedure.
3.0.5.2 (2025-03-01)¶
- 2025-03-01: [DB2] Support ARRAY[1,2,3] (DB2 10.5+).
- 2025-03-01: [DB2] Fix null exception with MERGE/USING/VALUES.
3.0.5.1 (2025-02-27)¶
- 2025-02-27: [getTableColumn] Refactor name resolution logic.
3.0.4.7 (2025-02-08)¶
- 2025-02-08: [General] Fix bugs in resolver, refactor needed.
3.0.4.5 (2025-02-06)¶
- 2025-02-06: [dlineage] Incorrect mapping for SQL Server alias.
3.0.4.5 (2025-02-06)¶
- 2025-02-06: [dlineage] Missing column link for BigQuery.
-
2025-02-06: [semantic] How GSP links unqualified columns to tables.
-
Consider this query:
SELECT append_business_key, f.worklist_field_name AS field_name, f.field_data_type FROM FIN_ICOLLECTION.ico_worklist_append_t a INNER JOIN FIN_ICOLLECTION.ico_worklist_field_info_t f ON a.append_business_key = f.worklist_field_id
- When GSP analyzes this query without extra metadata, it deduces which table an unqualified column belongs to.
- The JOIN condition (a.append_business_key) signals that append_business_key belongs to FIN_ICOLLECTION.ico_worklist_append_t.
- GSP 3.0.4.4 or later links the unqualified append_business_key in SELECT to FIN_ICOLLECTION.ico_worklist_append_t.
-
But if both tables have append_business_key, the reference is ambiguous and needs explicit qualification.
-
Changed behavior:
- Before 3.0.4.4: append_business_key was orphan column.
- Since 3.0.4.4: linked to FIN_ICOLLECTION.ico_worklist_append_t if found in JOIN.
3.0.4.3 (2025-02-02)¶
- 2025-02-02: [Vertica] Support PARTITION BY clause in CREATE TABLE.
- 2025-02-02: [Vertica] Support CREATE TABLE LIKE.
- 2025-02-02: [Vertica] Support ARRAY datatype.
- 2025-02-02: [Vertica] Window support for partitioned result in LIMIT.
- 2025-02-02: [Vertica] Fix on MERGE condition could omit parenthesis.
- 2025-02-02: [Vertica] Support ENABLED/DISABLED in PK col constraint.
- 2025-02-02: [Vertica] TEMP table fix for TableKinds.
3.0.4.2 (2025-01-25)¶
- 2025-01-25: [Vertica] Support DISABLED/ENABLED keyword in constraints.
- 2025-01-25: [Teradata] Fix TRUNC function in IN clause.
- 2025-01-25: [Vertica] Support CALL.
- 2025-01-25: [Vertica] Fix can't parse UNION DISTINCT.
- 2025-01-25: [Vertica] Support ISNULL function.
- 2025-01-25: [Vertica] Support MINUS operator.
- 2025-01-25: [Teradata] Fix CHECKSUM=ALL in CREATE TABLE.
3.0.4.1 (2025-01-20)¶
- 2025-01-20: [Evaluator] Remove outer quotes/handle escaped quotes in string.
3.0.4.0 (2025-01-19)¶
- 2025-01-19: [Evaluator] Support plsql block with loop.
- 2025-01-19: [BigQuery] Fix unable to expand star in SELECT *.
3.0.3.9 (2025-01-12)¶
- 2025-01-12: [Snowflake] Support WITH TAG in view columns.
- 2025-01-12: [SQL Server] Fix can't parse CTAS with CTE used in select.
- 2025-01-12: [Oracle] Recognize CALL after procedure.
3.0.3.8 (2025-01-11)¶
- 2025-01-11: [Snowflake] Fix double dollar delimiter for non-addition binary ops.
- 2025-01-11: [Teradata] Support partition by column in CREATE TABLE.
- 2025-01-11: [Teradata] Support partition by all but.
- 2025-01-11: [Teradata] Parse multiple params in SIGNAL SET.
3.0.3.7 (2025-01-05)¶
- 2025-01-05: [Teradata] Support sequenced/nonsequenced VALIDTIME.
- 2025-01-05: [Teradata] Fix INTERVAL ... HOUR TO MINUTE in CAST.
- 2025-01-05: [Teradata] Insert in WHEN NOT MATCHED should be assignment_t type.
- 2025-01-05: [Teradata] Recognize TTeradataBTEQCmd.bteqCmdType (BTEQ CMD).
3.0.3.7 (2025-01-04)¶
- 2025-01-04: [Snowflake] Support BEGIN; in single-quoted stored procs.
- 2025-01-04: [Snowflake] Support BEGIN; in stored procs.
- 2025-01-04: [dlineage] Add showCandidateTable option for candidate table column links.