bchapuis commented on code in PR #3668: URL: https://github.com/apache/calcite/pull/3668#discussion_r1477026643
########## core/src/test/java/org/apache/calcite/rel/rel2sql/RelToSqlConverterTest.java: ########## @@ -7876,6 +7878,26 @@ private void checkLiteral2(String expression, String expected) { .withSpark().ok(sparkExpected); } + /** + * Test case for ST_SRID function. + * All the spatial functions where the arguments are the same type should behave similarly. + */ + @Test void testPostgisStSrid() { + String query = "select st_srid(\"point\") FROM \"points\""; + String expectedPostgis = "SELECT \"ST_SRID\"(\"point\")\nFROM \"GEO\".\"points\""; Review Comment: I should probably have created a draft PR. -- 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