Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-20464

Some Table examples are not built correctly

    XMLWordPrintableJSON

Details

    Description

      Some examples were moved to the org.apache.flink.table.examples.scala.basics package but the pom.xml was not updated. This means the example jars are not built correctly and do not contain the classes.

      Examples that I noticed:

      • org.apache.flink.table.examples.scala.basics.StreamTableExample
      • org.apache.flink.table.examples.scala.basics.TPCHQuery3Table

      We should update the includes sections e.g.:

      <execution>
      	<id>StreamTableExample</id>
      	<phase>package</phase>
      	<goals>
      		<goal>jar</goal>
      	</goals>
      	<configuration>
      		<classifier>StreamTableExample</classifier>
      
      <!--- The sections below should be updated -->
      
      		<archive>
      			<manifestEntries>
      				<program-class&gt;org.apache.flink.table.examples.scala.StreamTableExample</program-class&gt;
      			</manifestEntries>
      		</archive>
      		<includes>
      			<include>org/apache/flink/table/examples/scala/StreamTableExample*</include>
      		</includes>
      	</configuration>
      </execution>
      

      Attachments

        Issue Links

          Activity

            People

              dwysakowicz Dawid Wysakowicz
              dwysakowicz Dawid Wysakowicz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: