Hello
- I create table in hadoop(cloudera quickstart 5.13) parquet format, with 4 column: TICKET_OID (BIGINT),
NOMER_ZAYAVKI(STRING),
LAT(DOUBLE),
LON(DOUBLE).
Filling with Data, and select without problem(by impala) :
select * from obj_ticket_pq where LON > 37.555848 and LAT < 55.892728 and LON < 38.203597 and LAT > 55.568758;
return 100 records;
- I crate in vertica(8.1.1) external table from HDFS
CREATE EXTERNAL TABLE test (TICKET_OID BIGINT, NOMER_ZAYAVKI VARCHAR(256), LAT DOUBLE PRECISION, LON DOUBLE PRECISION) AS COPY FROM 'hdfs:///data/OBJ_TICKET/pq/*' ON ANY NODE PARQUET;
select * from test; -work!
select * from test where LON > 37.555848 ;- not work!!! - result 0 column;
also if I try to put in "where" a condition on TICKET_OID(BIGINT) - "greater, less or equally" result of a select of 0 records
if I put conditions(equal, like etc.) on NOMER_ZAYAVKI(STRING) everything works correctly.
How do I make "where" work with numbers?
It will ROUND your number.