|
51 | 51 | <scope>provided</scope> |
52 | 52 | </dependency> |
53 | 53 |
|
| 54 | + <!-- TODO: Switch back to planner loader when PTF loading is patched upstream. --> |
| 55 | + <!-- <dependency>--> |
| 56 | + <!-- <groupId>org.apache.flink</groupId>--> |
| 57 | + <!-- <artifactId>flink-table-planner-loader</artifactId>--> |
| 58 | + <!-- <version>${flink.version}</version>--> |
| 59 | + <!-- <scope>provided</scope>--> |
| 60 | + <!-- </dependency>--> |
| 61 | + |
54 | 62 | <dependency> |
55 | 63 | <groupId>org.apache.flink</groupId> |
56 | | - <artifactId>flink-table-planner-loader</artifactId> |
| 64 | + <artifactId>flink-table-planner_2.12</artifactId> |
57 | 65 | <version>${flink.version}</version> |
58 | 66 | <scope>provided</scope> |
59 | 67 | </dependency> |
|
482 | 490 | <groupId>org.apache.maven.plugins</groupId> |
483 | 491 | <artifactId>maven-dependency-plugin</artifactId> |
484 | 492 | <executions> |
| 493 | + <execution> |
| 494 | + <id>unpack-flink-table-planner-without-rex-json-deser</id> |
| 495 | + <goals> |
| 496 | + <goal>unpack</goal> |
| 497 | + </goals> |
| 498 | + <phase>prepare-package</phase> |
| 499 | + <configuration> |
| 500 | + <artifactItems> |
| 501 | + <artifactItem> |
| 502 | + <groupId>org.apache.flink</groupId> |
| 503 | + <artifactId>flink-table-planner_2.12</artifactId> |
| 504 | + <version>${flink.version}</version> |
| 505 | + <type>jar</type> |
| 506 | + <overWrite>true</overWrite> |
| 507 | + <outputDirectory>${project.build.directory}/flink-table-planner-temp</outputDirectory> |
| 508 | + <excludes>org/apache/flink/table/planner/plan/nodes/exec/serde/RexNodeJsonDeserializer**</excludes> |
| 509 | + </artifactItem> |
| 510 | + </artifactItems> |
| 511 | + </configuration> |
| 512 | + </execution> |
485 | 513 | <execution> |
486 | 514 | <id>unpack-iceberg-aws-bundle-without-logging</id> |
487 | 515 | <goals> |
|
612 | 640 | </executions> |
613 | 641 | </plugin> |
614 | 642 |
|
615 | | - <!-- Repackage iceberg-aws-bundle without SLF4J using antrun plugin --> |
616 | 643 | <plugin> |
617 | 644 | <groupId>org.apache.maven.plugins</groupId> |
618 | 645 | <artifactId>maven-antrun-plugin</artifactId> |
619 | 646 | <executions> |
620 | 647 | <execution> |
| 648 | + <!-- Repackage flink-table-planner_2.12 and override RexNodeJsonDeserializer using antrun plugin --> |
| 649 | + <id>repack-flink-table-planner</id> |
| 650 | + <goals> |
| 651 | + <goal>run</goal> |
| 652 | + </goals> |
| 653 | + <phase>prepare-package</phase> |
| 654 | + <configuration> |
| 655 | + <target> |
| 656 | + <copy failonerror="true" todir="${project.build.directory}/flink-table-planner-temp/org/apache/flink/table/planner/plan/nodes/exec/serde"> |
| 657 | + <fileset dir="${project.build.outputDirectory}/org/apache/flink/table/planner/plan/nodes/exec/serde" includes="RexNodeJsonDeserializer*.class"/> |
| 658 | + </copy> |
| 659 | + <jar basedir="${project.build.directory}/flink-table-planner-temp" destfile="${project.build.directory}/flink-table-planner_2.12-${flink.version}.jar"/> |
| 660 | + </target> |
| 661 | + </configuration> |
| 662 | + </execution> |
| 663 | + <execution> |
| 664 | + <!-- Repackage iceberg-aws-bundle without SLF4J using antrun plugin --> |
621 | 665 | <id>repack-iceberg-aws-bundle</id> |
622 | 666 | <goals> |
623 | 667 | <goal>run</goal> |
|
0 commit comments