chucheng92 commented on code in PR #3787: URL: https://github.com/apache/calcite/pull/3787#discussion_r1591916594
########## testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java: ########## @@ -7761,8 +7754,16 @@ void checkRegexpExtract(SqlOperatorFixture f0, FunctionAlias functionAlias) { "RecordType(UNKNOWN NOT NULL f0, UNKNOWN NOT NULL f1) NOT NULL ARRAY NOT NULL"); f1.checkScalar("map_entries(map('foo', 1, 'bar', 2))", "[{foo, 1}, {bar, 2}]", "RecordType(CHAR(3) NOT NULL f0, INTEGER NOT NULL f1) NOT NULL ARRAY NOT NULL"); - f1.checkScalar("map_entries(map('foo', 1, null, 2))", "[{foo, 1}, {null, 2}]", - "RecordType(CHAR(3) f0, INTEGER NOT NULL f1) NOT NULL ARRAY NOT NULL"); + + // 3. check Check key is not allowed to be empty Review Comment: check Check key, typos? -- 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: commits-unsubscr...@calcite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org