----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/14015/ -----------------------------------------------------------
Review request for drill. Repository: drill-git Description ------- Have added drill functions to MathFunctions for floor and ceil methods. Have tested the method with the below queries: 0: jdbc:drill:schema=parquet-local> SELECT ceil(1.768) as ceil_value FROM "sample-data/region.parquet"; +-------------+ | CEIL_VALUE | +-------------+ | 2.0 | | 2.0 | | 2.0 | | 2.0 | | 2.0 | +-------------+ 5 rows selected (0.638 seconds) 0: jdbc:drill:schema=parquet-local> SELECT floor(1.768) as floor_value FROM "sample-data/region.parquet"; +--------------+ | FLOOR_VALUE | +--------------+ | 1.0 | | 1.0 | | 1.0 | | 1.0 | | 1.0 | +--------------+ 5 rows selected (0.485 seconds) Diffs ----- exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/MathFunctions.java 3f4b976 Diff: https://reviews.apache.org/r/14015/diff/ Testing ------- Testing done on sqlline prompt. Not with test scripts. Thanks, Yash Sharma
