OIiveirra commented on code in PR #69591:
URL: https://github.com/apache/doris/pull/69591#discussion_r4372058988


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/rules/analysis/BindSink.java:
##########
@@ -701,6 +702,10 @@ private Plan 
bindTVFTableSink(MatchingContext<UnboundTVFTableSink<Plan>> ctx) {
                     "INSERT INTO TVF only supports local/s3/hdfs, but got: " + 
tvfName);
         }
 
+        if (tvfName.equals(LocalTableValuedFunction.NAME)) {
+            LocalTableValuedFunction.checkAccess(ctx.connectContext);

Review Comment:
   Fixed in caacf2c728408a2686721fec39c96dad54b59f61. The existing fixture now 
saves enable_local_tvf, enables it in @BeforeEach, and restores the original 
value in @AfterEach. Its LOCAL destination, existing ROOT context and both 
output-position assertions are unchanged. This is a test-only change of 15 
added lines; the production admission gate is unchanged. Changed-file 
Checkstyle and diff checks passed. Unit tests were not executed locally.



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