mirror of
https://github.com/apache/impala.git
synced 2026-01-25 18:01:04 -05:00
The following signatures to be added: +--------------+----------------------------------+-------------+---------------+ | return type | signature | binary type | is persistent | +--------------+----------------------------------+-------------+---------------+ | DECIMAL(*,*) | trunc(DECIMAL(*,*)) | BUILTIN | true | | DECIMAL(*,*) | trunc(DECIMAL(*,*), BIGINT) | BUILTIN | true | | DECIMAL(*,*) | trunc(DECIMAL(*,*), INT) | BUILTIN | true | | DECIMAL(*,*) | trunc(DECIMAL(*,*), SMALLINT) | BUILTIN | true | | DECIMAL(*,*) | trunc(DECIMAL(*,*), TINYINT) | BUILTIN | true | | BIGINT | trunc(DOUBLE) | BUILTIN | true | +--------------+----------------------------------+-------------+---------------+ Tests: * Adds tests for the new builtin trunc()/dtrunc() Change-Id: I856da9f817b948de3c72af60a0742b128398b4cf Reviewed-on: http://gerrit.cloudera.org:8080/7450 Tested-by: Impala Public Jenkins Reviewed-by: Matthew Jacobs <mj@cloudera.com>