You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Ramin Gharib (Jira)" <ji...@apache.org> on 2026/06/05 11:37:00 UTC
[jira] [Created] (FLINK-39866) Remove dead KEYVALUE code from SqlFunctionUtils and StringCallGen
Ramin Gharib created FLINK-39866:
------------------------------------
Summary: Remove dead KEYVALUE code from SqlFunctionUtils and StringCallGen
Key: FLINK-39866
URL: https://issues.apache.org/jira/browse/FLINK-39866
Project: Flink
Issue Type: Improvement
Components: Table SQL / Planner, Table SQL / Runtime
Reporter: Ramin Gharib
Assignee: Ramin Gharib
The {{KEYVALUE}} codepath is orphaned. There is no SQL operator for it, no codegen dispatch, and no documentation. {{StringCallGen.generateKeyValue}} has no callers, so neither {{SqlFunctionUtils.keyValue}} overload (the {{BinaryStringData}} form at ~line 499 and the String form at ~line 523) is reachable from any query.
Remove {{StringCallGen.generateKeyValue}} and both {{SqlFunctionUtils.keyValue}} overloads. {{BinaryStringDataUtil.keyValue}} is otherwise referenced only by {{{}BinaryStringDataTest{}}}; decide whether to keep it with its unit test or remove both together.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)