Skip to content

Commit acd5952

Browse files
Fix ignore rule for empty column names (#31)
1 parent 68dc071 commit acd5952

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redisgraph_bulk_loader/entity_file.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ def convert_header_with_schema(self, header):
200200
else:
201201
# We have a column name and a type.
202202
# Only store the name if the column's values should be added as properties.
203-
if col_type not in (Type.START_ID, Type.END_ID, Type.IGNORE):
203+
if len(pair[0]) > 0 and col_type not in (Type.START_ID, Type.END_ID, Type.IGNORE):
204204
self.column_names[idx] = pair[0]
205205

206206
# Store the column type.

0 commit comments

Comments
 (0)