Closed tiannan-sr closed 2 years ago
i will fix it
create external table ex_hudi_tbl8 (
uuid int
,col_boolean boolean
,col_int int
,col_long bigint
,col_float float
,col_double double
,col_decimal decimal(38,18)
,col_date date
,col_string string
,col_binary varchar(200))
ENGINE=hudi
properties (
"resource" = "hudi_resource_1648890105966",
"table" = "hudi_par_orc_lzo",
"database" = "hudi_db")
select count(*) from ex_hudi_tbl8 where col_int >= 10
((0,),)
select count(*) from ex_hudi_tbl8 where col_date not in('2020-12-01','2020-11-01')
((0,),)
in these tow cases, when col_int and col_date as where condition, no rows returned. and it should be return the rows.
Steps to reproduce the behavior (Required)
create hudi table, and insert data:
create hudi external table:
query result error:
mysql> select col_int,col_date from ex_hudi_tbl1_orc_int limit 2; Empty set (0.04 sec)
mysql> select col_int,col_date,col_string from ex_hudi_tbl1_orc_int limit 2; +---------+------------+-----------------------------------------------------------------------------------------------------------------------------------+ | col_int | col_date | col_string | +---------+------------+-----------------------------------------------------------------------------------------------------------------------------------+ | 12 | 2020-11-01 | Light installations featuring the tiger, the Chinese zodiac animal for the upcoming lunar year, will be set up in the main plaza. | | 8 | 2020-08-01 | Citi report finds MNC mood in China buoyant | +---------+------------+-----------------------------------------------------------------------------------------------------------------------------------+ 2 rows in set (0.02 sec)
mysql> select current_version(); +------------------------+ | current_version() | +------------------------+ | QA_TEST_MASTER 35e3df8 | +------------------------+ 1 row in set (0.00 sec)