snuyanzin opened a new pull request, #21459: URL: https://github.com/apache/flink/pull/21459
## What is the purpose of the change 1. `org.apache.calcite.sql.SqlCharStringLiteral#getNlsString` was made deprecated at https://github.com/apache/calcite/commit/a1bdba6d79ac05ef227cdb15b7c044c6e0e54dfa#diff-de2027de5bcb4bbe94314c3414b63166ecd9537b437e08d39f6424c0f903c8fbR48 and as suggested in the same place ``` * @deprecated Use {@link #getValueAs getValueAs(NlsString.class)} ``` 2. `org.apache.calcite.rex.RexSimplify#RexSimplify(RexBuilder, RelOptPredicateList, boolean, RexExecutor)` was made deprecated at https://issues.apache.org/jira/browse/CALCITE-2604 and it is recommended ``` * @deprecated Use methods with a {@link RexUnknownAs} argument, such as * {@link #simplify(RexNode, RexUnknownAs)}. */ ``` 3. `org.apache.calcite.rel.core.AggregateCall#create(SqlAggFunction, boolean, boolean, boolean, List<Integer>, int, RelCollation, RelDataType, String)` was made deprecated at https://issues.apache.org/jira/browse/CALCITE-4483 now distinct keys should be specified 4 `org.apache.calcite.rel.core.Aggregate#Aggregate(RelOptCluster, RelTraitSet, RelNode, ImmutableBitSet, List<ImmutableBitSet>, List<AggregateCall>)` was deprecated at https://issues.apache.org/jira/browse/CALCITE-3723 now hints should be specified ## Verifying this change This change is a trivial rework / code cleanup without any test coverage. ## Does this pull request potentially affect one of the following parts: - Dependencies (does it add or upgrade a dependency): ( no) - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: ( no) - The serializers: ( no ) - The runtime per-record code paths (performance sensitive): ( no ) - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: ( no ) - The S3 file system connector: ( no) ## Documentation - Does this pull request introduce a new feature? ( no) - If yes, how is the feature documented? (not applicable) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org