LOAD CSV WITH HEADERS FROM 'file:///kpi.csv' AS row create (:INFERENCE:CONFIG { kpiID:row.kpiID, expectedTrend:row.expectedTrend, name:row.name, action:row.action, schedule:row.schedule, vector:row.vector, toolName:row.toolName, isGroupBy:row.isGroupBy, groupByFieldName:COALESCE(row.groupByFieldName,""), groupByField:COALESCE(row.groupByField,""), averageField:row.averageField, startTimeField:row.startTimeField, endTimeField:row.endTimeField, resultOutPutType:row.resultOutPutType, isComparisionKpi:row.isComparisionKpi, neo4jQuery:row.neo4jQuery, timeFormat:row.timeFormat, neo4jLabel:row.neo4jLabel, nextRun:row.nextRun, lastRunTime:row.lastRunTime, isActive:row.isActive }) RETURN row
|