Github user hsuanyi commented on a diff in the pull request:

    https://github.com/apache/drill/pull/397#discussion_r56523015
  
    --- Diff: 
contrib/storage-hive/core/src/test/java/org/apache/drill/exec/fn/hive/TestInbuiltHiveUDFs.java
 ---
    @@ -43,4 +43,32 @@ public void testEncode() throws Exception {
             .baselineValues(new Object[] { null })
             .go();
       }
    +
    +  @Test
    +  public void testReflect() throws Exception {
    +    final String query = "select reflect('java.lang.Math', 'round', cast(2 
as float)) as col \n" +
    --- End diff --
    
    BTW, the correct way to verify this is to check the plan produced by your 
limit 0 shortcut. 
    But apparently, we can enhance that after yours gets in.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to