dtenedor commented on PR #60367:
URL: https://github.com/apache/spark/pull/60367#issuecomment-6934399366

   Thanks for the fifth round. All 13 findings are addressed in the new commit, 
and each inline thread has a reply with what changed. For each new test, I 
checked locally that it fails when the code it covers is reverted.
   
   On the P1: when an analysis resolves an optional reference to NULL, it now 
also marks the root of the plan it returns. The MERGE source check rejects a 
source that carries the mark, except inside views and SQL function bodies, so 
it no longer depends on the NULL surviving the rest of that analysis. 
Extractions from a missing reference, an IF over one, rows of an inline table, 
and SQL table function arguments are now rejected in DataFrame and Spark 
Connect sources.
   
   Following the cross-cutting note, I looked for the other siblings of each 
guard:
   - DML check: a subquery built from a Dataset (`Dataset.scalar`, 
`Dataset.exists`, `Column.isin(Dataset)`) in the condition of `overwrite` or in 
a MERGE clause also holds an analyzed plan. The same search now covers the 
expressions of every checked statement, with tests for `overwrite` and for a 
MERGE assignment.
   - View definitions: CREATE VIEW ... WITH METRICS now analyzes as a view 
definition, in the session catalog and in a v2 view catalog (both go through 
`analyzeMetricViewText`).
   - Unused positional values: the search reads the plan of any 
`SupervisingCommand` (EXPLAIN and DESCRIBE QUERY), and the WINDOW clause's map 
of specifications, which `QueryPlan.expressions` misses.
   - Explicit disable: views, SQL table functions, and now scalar SQL functions 
follow it.
   
   About CI on the previous head: the fork run failed only in jobs this PR 
doesn't touch. `StateStoreInstanceMetricSuiteWithRowChecksum` failed again with 
an `eventually` timeout on the snapshot lag metrics, and the Kubernetes 
integration tests failed in the launcher tests, which could not resolve 
`hadoop-aws` with Ivy.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to