OIiveirra commented on code in PR #69592:
URL: https://github.com/apache/doris/pull/69592#discussion_r4372059941
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/rules/analysis/BindSink.java:
##########
@@ -662,6 +663,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 018f7940df23329466149623f4c6265a36f5a5fb. 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]