want to create a temp table in vertica containing lat, lng and restaurant_name
I am writing the code as below but it throws an error:
CREATE LOCAL TEMP TABLE geo_raw (
lat float,
lng float,
resto_name varchar) on commit PRESERVE rows
INSERT INTO geo_raw (lat, lng, resto_name)
VALUES (12.345, 12.3555, 'abc')
select * from geo_raw
The error is : ERROR explain-plan-failed
Syntax error at or near "float" around line 4:
Can someone please help ?
Many thanks in advance