From c7cb428eaf8819d9d95559252fe8191e8f815c77 Mon Sep 17 00:00:00 2001
From: Teon Banek <teon.banek@memgraph.io>
Date: Fri, 18 Aug 2017 17:12:36 +0200
Subject: [PATCH] tools.csv_to_snapshot: Store 'id' property

Reviewers: buda

Reviewed By: buda

Differential Revision: https://phabricator.memgraph.io/D682
---
 tools/csv_to_snapshot | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/csv_to_snapshot b/tools/csv_to_snapshot
index cc41f8156..fc43afc04 100755
--- a/tools/csv_to_snapshot
+++ b/tools/csv_to_snapshot
@@ -165,6 +165,7 @@ class BoltEncoder:
                 return
             else:
                 raise
+        properties['id'] = node_id.id
         self._write(self._NODE_MARKER)
         self.write_int(id_)
         self.write_list(labels)