alarm.yml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. VERSION: 1.0.0.1
  2. DATABASE: sqmmt
  3. USER: gpadmin
  4. HOST: 192.168.70.109
  5. PORT: 5432
  6. GPLOAD:
  7. INPUT:
  8. - SOURCE:
  9. LOCAL_HOSTNAME:
  10. - 192.168.70.130
  11. PORT: 54321
  12. FILE:
  13. - /data1/s130/alarm/csv/resultMap20220816151025.csv
  14. - FORMAT: csv
  15. - DELIMITER: ","
  16. - HEADER: false
  17. - ENCODING: utf-8
  18. - ERROR_LIMIT: 20000000
  19. - LOG_ERRORS: true
  20. EXTERNAL:
  21. - SCHEMA: tsfx
  22. OUTPUT:
  23. - TABLE: tsfx.dw_complain_realtime_alarm_h
  24. - MODE: merge
  25. - MATCH_COLUMNS:
  26. - uniqueid
  27. - sdate
  28. - UPDATE_COLUMNS:
  29. - sdate
  30. - uniqueclearid
  31. - eventtime
  32. - canceltime
  33. - status
  34. - projectstatus
  35. - vendoralarmserial
  36. - alarmtitle
  37. - vendorseverity
  38. - vendoralarmtype
  39. - specificproblem
  40. - specificproblemid
  41. - equipmentclass
  42. - equipmentname
  43. - locateneclass
  44. - locatenename
  45. - province
  46. - region
  47. - city
  48. - grid
  49. - area
  50. - vendor
  51. - specialty
  52. - siteid
  53. - roomid
  54. - towersiteno
  55. - proequipmentstatus
  56. - projectname
  57. - projectno
  58. - projectstarttime
  59. - projectendtime
  60. - worksendstatus
  61. - workstatus
  62. - workno
  63. - workarchivedtime
  64. - workdutydep
  65. - worksendperson
  66. - alarmlogicclass
  67. - alarmlogicsubclass
  68. - standardalarmname
  69. - alarmseverity
  70. - standardalarmid
  71. - effectonequipment
  72. - effectonbusiness
  73. - standardflag
  74. - networktype
  75. - equipmentdn
  76. - locatenedn
  77. - taccode
  78. - tacid
  79. - alarmtext
  80. PRELOAD:
  81. - TRUNCATE: false
  82. - REUSE_TABLES: true
  83. - STAGING_TABLE: extrnal_table_alarm_gpload
  84. - FAST_MATCH: true