Thank you all. I deleted the project and pulled the code again. The problem disappeared. It seems to be an environmental problem.
On Sat, Sep 23, 2023 at 12:51 AM P.F. ZHAN <dethr...@gmail.com> wrote: > The step to reproduce step: > > ./gradlew clean > ./gradlew build -x test --info | tee build.log > > The attached file is the build.log with more information. > > I found that some generated java file > ExtensionSqlParserImplTokenManager.java is not complete. > > > On Sat, Sep 23, 2023 at 12:35 AM P.F. ZHAN <dethr...@gmail.com> wrote: > >> My environment: >> macos Ventura/Version 13.5 Apple M1/16 GB >> IntelliJ IDEA 2023.1.5 (Ultimate Edition) >> Build #IU-231.9392.1, built on July 25, 2023 >> For educational use only. >> Runtime version: 17.0.7+10-b829.16 aarch64 >> VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. >> macOS 13.5 >> GC: G1 Young Generation, G1 Old Generation >> Memory: 2048M >> Cores: 8 >> Metal Rendering is ON >> Registry: >> debugger.new.tool.window.layout=true >> ide.experimental.ui=true >> scala.erase.compiler.process.jdk.once=false >> >> Non-Bundled Plugins: >> com.github.oowekyala.javacc (1.11) >> org.jetbrains.kotlin (231-1.9.10-release-459-IJ8770.65) >> org.intellij.scala (2023.1.23) >> >> Kotlin: 231-1.9.10-release-459-IJ8770.65 >> >> The build log refers to the attached file. >> >> >> On Fri, Sep 22, 2023 at 23:44 Ran Tao <chucheng...@gmail.com> wrote: >> >>> Hi, ZHAN. >>> >>> I noticed that this CALCITE-5920 was created by me before. >>> In fact, this commit just reset the keywords and should not cause the >>> error you reported. >>> Moreover, this commit has been merged into the main branch for a while >>> and >>> it passed all necessary checks. >>> >>> Agree with @Stamatis suggestion, maybe you can clear the local project >>> cache >>> or gradle cache and try again, it will works. >>> >>> Best Regards, >>> Ran Tao >>> >>> >>> P.F. ZHAN <dethr...@gmail.com> 于2023年9月22日周五 02:54写道: >>> >>> > I rebased the newest code, and built the code locally >>> > >>> > * What went wrong: >>> > Execution failed for task ':linq4j:forbiddenApisMain'. >>> > > de.thetaphi.forbiddenapis.ForbiddenApiException: Check for forbidden >>> API >>> > calls failed while scanning class >>> > 'org.apache.calcite.linq4j.QueryableRecorder$57': >>> > java.lang.ClassNotFoundException: >>> > org.apache.calcite.linq4j.QueryableDefaults$NonLeafReplayableQueryable >>> > (while looking up details about referenced class >>> > 'org.apache.calcite.linq4j.QueryableRecorder$57') >>> > >>> >>