forked from bellwether/minerva
updated create_view
This commit is contained in:
parent
9aae669ca2
commit
0205336c95
1 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
-- auto-generated
|
-- auto-generated
|
||||||
CREATE EXTERNAL TABLE IF NOT EXISTS `trajectories`.`original_kitware`
|
CREATE EXTERNAL TABLE IF NOT EXISTS `trajectories`.`kitware_original`
|
||||||
LOCATION 's3://haystac-archive-phase1.trial1/ta1.kitware/ta1/simulation/train/'
|
LOCATION 's3://haystac-archive-phase1.trial1/ta1.kitware/ta1/simulation/train/'
|
||||||
TBLPROPERTIES ('table_type' = 'DELTA');
|
TBLPROPERTIES ('table_type' = 'DELTA');
|
||||||
|
|
||||||
|
|
@ -8,5 +8,5 @@ TBLPROPERTIES ('table_type' = 'DELTA');
|
||||||
create or replace view trajectories.kitware AS
|
create or replace view trajectories.kitware AS
|
||||||
select
|
select
|
||||||
agent, from_unixtime(cast(to_unixtime(timestamp) AS bigint)) as timestamp, latitude, longitude
|
agent, from_unixtime(cast(to_unixtime(timestamp) AS bigint)) as timestamp, latitude, longitude
|
||||||
from "trajectories"."original_kitware"
|
from "trajectories"."kitware_original"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue