Browse Source

Default value for new Avro field

Ask Bjørn Hansen 2 năm trước cách đây
mục cha
commit
13e3986f59
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      querylog/querylog.avsc

+ 1 - 1
querylog/querylog.avsc

@@ -6,7 +6,7 @@
         {"name": "Time", "type": "long", "logicalType": "timestamp-micros"},
         {"name": "Hostname", "type": "string"},
         {"name": "Origin", "type": "string"},
-        {"name": "Name", "type": "string"},
+        {"name": "Name", "type": "string", "default": "" },
         {"name": "Qtype", "type": "int"},
         {"name": "Rcode", "type": "int"},
         {"name": "AnswerCount", "type": "int"},