mirror of
https://github.com/apache/impala.git
synced 2025-12-30 12:02:10 -05:00
IMPALA-12503: Support date data type for predicates
for external data source table This patch adds support for datatype date as predicates for external data sources. Testing: - Added tests for date predicates with operators: '=', '>', '<', '>=', '<=', '!=', 'BETWEEN'. Change-Id: Ibf13cbefaad812a0f78755c5791d82b24a3395e4 Reviewed-on: http://gerrit.cloudera.org:8080/20915 Reviewed-by: Wenzhe Zhou <wzhou@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
This commit is contained in:
committed by
Impala Public Jenkins
parent
27955a385e
commit
f7a43b18aa
@@ -62,7 +62,7 @@ CREATE TABLE alltypes_jdbc_datasource (
|
||||
bigint_col BIGINT,
|
||||
float_col FLOAT,
|
||||
double_col DOUBLE,
|
||||
date_string_col STRING,
|
||||
date_col DATE,
|
||||
string_col STRING,
|
||||
timestamp_col TIMESTAMP)
|
||||
PRODUCED BY DATA SOURCE JdbcDataSource(
|
||||
@@ -84,7 +84,7 @@ CREATE TABLE alltypes_jdbc_datasource_2 (
|
||||
bigint_col BIGINT,
|
||||
float_col FLOAT,
|
||||
double_col DOUBLE,
|
||||
date_string_col STRING,
|
||||
date_col DATE,
|
||||
string_col STRING,
|
||||
timestamp_col TIMESTAMP)
|
||||
PRODUCED BY DATA SOURCE JdbcDataSource(
|
||||
|
||||
Reference in New Issue
Block a user