jackylee-ch commented on PR #1021:
URL: https://github.com/apache/paimon-rust/pull/1021#issuecomment-5979553078

   Thanks for the review — fixed in the latest commit (CI re-running).
   
   CTAS now expands catalog SQL functions once (the same expansion the 
persistent `CREATE VIEW` path uses) and reuses the expanded query for both 
schema inference and the populating `INSERT`, so a query like `AS SELECT 
plus_one(41)` that already works as a plain `SELECT` now works through CTAS 
too, and the two steps can't diverge.
   
   Added a test that runs a CTAS over a catalog SQL function and reads back the 
computed value.
   


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