Skip to content

Conversation

@mahurtado
Copy link
Contributor

Added support for custom delimiters in CSVs and continue processing a…fter errors on edges

bulk_insert.py Outdated
# CSV file paths
@click.option('--nodes', '-n', required=True, multiple=True, help='Path to node csv file')
@click.option('--relations', '-r', multiple=True, help='Path to relation csv file')
@click.option('--separator', '-o', default=',', help='Line token separator in csv file')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be Field separator in help text.

bulk_insert.py Outdated
# and does not modify input quote characters
self.reader = csv.reader(self.infile, skipinitialspace=True, quoting=QUOTING)
#self.reader = csv.reader(self.infile, skipinitialspace=True, quoting=QUOTING)
# Manolo was here
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These 2 lines can be deleted (sorry, Manolo!).

Copy link
Contributor

@jeffreylovitz jeffreylovitz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great! Minor changes requested in comments.

@jeffreylovitz jeffreylovitz added the enhancement New feature or request label Jun 21, 2019
@swilly22 swilly22 merged commit 40de2c5 into RedisGraph:master Jul 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants