Re: [I] Avoid inlining non deterministic CTE [datafusion]

2024-05-07 Thread via GitHub
tgujar commented on issue #10337: URL: https://github.com/apache/datafusion/issues/10337#issuecomment-2098697931 I think this would push the responsibility to the user to figure out what may be non-deterministic. I am not sure if this would be a good approach -- This is an automated messa

Re: [I] Avoid inlining non deterministic CTE [datafusion]

2024-05-06 Thread via GitHub
jonahgao commented on issue #10337: URL: https://github.com/apache/datafusion/issues/10337#issuecomment-2096302497 I worry that judging whether a query is non-deterministic may be not easy. Perhaps we can first leave this judgment to the user, only do this when the user specifies [Material

Re: [I] Avoid inlining non deterministic CTE [datafusion]

2024-05-03 Thread via GitHub
tgujar commented on issue #10337: URL: https://github.com/apache/datafusion/issues/10337#issuecomment-2093034062 I can work on this if we can confirm in this is indeed a correctly reported bug. Let me know what you think, thanks! -- This is an automated message from the Apache Git Service

[I] Avoid inlining non deterministic CTE [datafusion]

2024-05-01 Thread via GitHub
tgujar opened a new issue, #10337: URL: https://github.com/apache/datafusion/issues/10337 ### Describe the bug Currently Datafusion will inline all CTE, a non-deterministic expression can be executed multiple times producing different results ### To Reproduce Conside