walterddr commented on a change in pull request #1011: [CALCITE-2721] Support 
parsing of DOT + MEMBER_FUNCTION
URL: https://github.com/apache/calcite/pull/1011#discussion_r264447730
 
 

 ##########
 File path: core/src/test/java/org/apache/calcite/sql/parser/SqlParserTest.java
 ##########
 @@ -7385,6 +7387,24 @@ public void subTestIntervalSecondFailsValidation() {
         "(?s).*Encountered \"from\" at .*");
   }
 
+  /**
+   * Tests that applying member function of a specific type as a suffix 
function
+   */
+  @Test public void testMemberFunction() {
+    check("SELECT myColumn.func(a, b) FROM tbl",
 
 Review comment:
   FYI, at this moment, both array element and expression only support 
SimpleIdentifier, not compound identifier. so I think it is better to address 
them together in a different PR. But I am open to any suggestions :-)

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to