This is an automated email from the ASF dual-hosted git repository. mbudiu pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/calcite.git
commit 3e1091b73d74c9238fb09548c897c6a6350676bb Author: Mihai Budiu <[email protected]> AuthorDate: Fri Jan 9 18:04:29 2026 -0800 Change Map literal implementation to Java Map Signed-off-by: Mihai Budiu <[email protected]> --- core/src/main/java/org/apache/calcite/rex/RexLiteral.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/java/org/apache/calcite/rex/RexLiteral.java b/core/src/main/java/org/apache/calcite/rex/RexLiteral.java index a1e42c50a6..7fd05901e7 100644 --- a/core/src/main/java/org/apache/calcite/rex/RexLiteral.java +++ b/core/src/main/java/org/apache/calcite/rex/RexLiteral.java @@ -398,6 +398,7 @@ public static boolean valueMatchesType( case GEOMETRY: return value instanceof Geometry; case MAP: + return value instanceof Map; case ANY: // Literal of type ANY is not legal. "CAST(2 AS ANY)" remains // an integer literal surrounded by a cast function.
