I am trying to extract the kpi data for a year using pdm_extract but this command gives me an Error in fetch
pdm_extract -f "select kpi_id, kpi_time_stamp, kpi_value from Kpi_Data where kpi_id = 8838 and kpi_time_stamp >= DATE'2022-09-13'"
what am i doing wrong?
Release : 17.3
The right command should be
pdm_extract -f "select kpi_id, kpi_time_stamp, kpi_value from Kpi_Data where kpi_id = 8838 and kpi_time_stamp >= 1663041600"
the kpi_time_stamp is an Unix time stamp and you would need to convert it into an integer. For 2022-09-13 it is 1663041600