HyukjinKwon commented on PR #59943:
URL: https://github.com/apache/spark/pull/59943#issuecomment-6695277059

   Thank you for the twelfth round, @dongjoon-hyun. 6ff39d4 addresses it:
   
   1. **CHAR/VARCHAR:** the failure doesn't happen as described. Without 
first-class CHAR/VARCHAR types, analysis already rejects a streaming relation 
with such columns, as on master. With them, the normalization leaves the types 
on both sides, so they match. Tests now run under both confs. The real gap, a 
scan that reports a string for a CHAR column, is fixed by comparing CHAR and 
VARCHAR as strings in any mode.
   2. **Nested placeholders:** planning a placeholder also plans those in its 
`expression`.
   3. **Equal placeholders:** `BatchRelation` keeps its canonicalized plan, so 
placeholders of different static plans differ.
   4. **Silent fallback:** in tests, a failure of the startup optimization, or 
an optimized plan with relations the plan doesn't have, now fails the query.
   5. **`hasOuterReferences` cost:** the outer-reference check is now bottom-up 
and linear.
   
   `StreamingV2ScanPushDownSuite`, `StreamingV2ScanPushDownRealTimeSuite`, 
`StreamingDataSourceV2Suite`, `OffsetSeqLogSuite` and `ColumnarDataSourceSuite` 
pass locally (176 tests), and each new test fails without its change.
   


-- 
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