mihaibudiu commented on PR #5031:
URL: https://github.com/apache/calcite/pull/5031#issuecomment-6671796371

   @asolimando I have pushed a second commit which tries to address most of 
your review concerns.
   - I have reinstated FLAT_LIST, although it has no users
   - I haven't done anything yet for non-deterministic expressions, let's 
revisit this after the other PR is merged if needed
   - changed `Uncollect` to serialize and explain using field indexes instead 
of field names; takes care of the JSON problem; this is tested in 
`testUncollectDuplicateFieldNames`, and it can be seen in the updated plans 
from RelOptRulesTest.xml as well
   - RelToSqlConverter was indeed using the wrong constructor; now it uses 
`Uncollect.create`. This is tested in `testGeneralizedUncollectUnexpandedStruct`
   - reflective scans: these are handled in EnumerableUncollect and tested in 
`testUncollectPassthroughOverReflectiveScan`
   
   I also hit an unrelated bug in the StructuredTypeFlattener (which is a 
transformation which I think should not exist; it is only used by the test 
fixtures and not by e.g., quidem tests), and "patched" it.


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

Reply via email to