mirror of
https://github.com/apache/impala.git
synced 2025-12-30 12:02:10 -05:00
IMPALA-1025: Use converse of data source predicate operators if expr has val before slot
Change-Id: I31790c037e2fa9af7b80c01014f7507ba5053e63 Reviewed-on: http://gerrit.ent.cloudera.com:8080/2925 Reviewed-by: Matthew Jacobs <mj@cloudera.com> Tested-by: jenkins
This commit is contained in:
17
testdata/bin/create-data-source-table.sql
vendored
17
testdata/bin/create-data-source-table.sql
vendored
@@ -33,15 +33,10 @@ CREATE TABLE alltypes_datasource (
|
||||
float_col FLOAT,
|
||||
double_col DOUBLE,
|
||||
timestamp_col TIMESTAMP,
|
||||
string_col STRING)
|
||||
string_col STRING,
|
||||
dec_col1 DECIMAL(9,0),
|
||||
dec_col2 DECIMAL(10,0),
|
||||
dec_col3 DECIMAL(20,10),
|
||||
dec_col4 DECIMAL(38,37),
|
||||
dec_col5 DECIMAL(10,5))
|
||||
PRODUCED BY DATASOURCE AllTypesDataSource("TestInitString");
|
||||
|
||||
-- TODO: Remove table and move decimal cols into alltypes_datasource
|
||||
DROP TABLE IF EXISTS decimal_datasource;
|
||||
CREATE TABLE decimal_datasource (
|
||||
d1 DECIMAL(9,0),
|
||||
d2 DECIMAL(10,0),
|
||||
d3 DECIMAL(20,10),
|
||||
d4 DECIMAL(38,37),
|
||||
d5 DECIMAL(10,5))
|
||||
PRODUCED BY DATASOURCE AllTypesDataSource;
|
||||
|
||||
Reference in New Issue
Block a user