[
https://issues.apache.org/jira/browse/FLINK-17884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17115668#comment-17115668
]
zhanghang-dev commented on FLINK-17884:
---------------------------------------
{code:java}
<resources>
<resource>
<directory>${project.build.directory}/codegen</directory>
<targetPath>codegen</targetPath>
</resource>
</resources>
{code}
> package the codegen directory to flink-sql-parser jar
> -----------------------------------------------------
>
> Key: FLINK-17884
> URL: https://issues.apache.org/jira/browse/FLINK-17884
> Project: Flink
> Issue Type: Improvement
> Components: Table SQL / Planner
> Affects Versions: 1.10.0
> Reporter: zhanghang-dev
> Priority: Minor
>
> Now extending flink sql requires manually copying Parser.tdd, includes/*.ftl
> and config.fmpp, so every time flink upgrades, you may need to copy these
> files again.If you can package codegen like calcite-core.jar. In this way,
> every time Flink upgrades, you only need to modify the version.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)