Re: Error parsing annotations in flink-table-planner_blink_2.12-1.11.2

2020-11-05 Thread Yuval Itzchakov
Yes, Calcite uses apiguardian. To answer your question Aljoscha, no, I do not use it directly. It's a dependency of the shaded Calcite version inside the blink JAR. On Thu, Nov 5, 2020 at 11:02 AM Timo Walther wrote: > Hi Yuval, > > this error is indeed weird. > > @Aljoscha: I think Calcite use

Re: Error parsing annotations in flink-table-planner_blink_2.12-1.11.2

2020-11-05 Thread Timo Walther
Hi Yuval, this error is indeed weird. @Aljoscha: I think Calcite uses apiguardian. When I saw the initial error, it looked like there are different Apache Calcite versions in the classpath. I'm wondering if this is a pure SBT issue because I'm sure that other users would have reported this er

Re: Error parsing annotations in flink-table-planner_blink_2.12-1.11.2

2020-11-02 Thread Aljoscha Krettek
But you're not using apiguardian yourself or have it as a dependency before this, right? Best, Aljoscha On 02.11.20 14:59, Yuval Itzchakov wrote: Yes, I'm using SBT. I managed to resolve this by adding: "org.apiguardian" % "apiguardian-api" % "1.1.0" To the dependency list. Perhaps this dep

Re: Error parsing annotations in flink-table-planner_blink_2.12-1.11.2

2020-11-02 Thread Yuval Itzchakov
Yes, I'm using SBT. I managed to resolve this by adding: "org.apiguardian" % "apiguardian-api" % "1.1.0" To the dependency list. Perhaps this depedency needs to be shaded as well in flink-core? My SBT looks roughly like this: lazy val flinkVersion = "1.11.2" libraryDependencies ++= Seq(

Re: Error parsing annotations in flink-table-planner_blink_2.12-1.11.2

2020-11-02 Thread Aljoscha Krettek
@Timo and/or @Jark, have you seen this problem before? @Yuval, I'm assuming you're using sbt as a build system, is that correct? Could you maybe also post a snippet of your build file that shows the dependency setup or maybe the whole file(s). Best, Aljoscha On 01.11.20 13:34, Yuval Itzchako

Error parsing annotations in flink-table-planner_blink_2.12-1.11.2

2020-11-01 Thread Yuval Itzchakov
Hi, While trying to compile an application with a dependency on flink-table-planner_blink_2.12-1.11.2, I receive the following error message during compilation: scalac: While parsing annotations in /Library/Caches/Coursier/v1/https/ repo1.maven.org/maven2/org/apache/flink/flink-table-planner-blin