Open wey-gu opened 1 year ago
@wey-gu You just want to store the statement to a file instead of storing in nebula.?
@wey-gu You just want to store the statement to a file instead of storing in nebula.?
Yes, I generated a small dataset as CSV and was preparing for studio starter dataset, so I did this with above change :-P
Not sure how general this requirement could be to other users.
@wey-gu So, why not use nebula-importer
tool to import directly?
=>
@wey-gu So, why not use
nebula-importer
tool to import directly?
- generated csv to ngql
- use studio to exec ngql
=>
- use nebula-importer import csv
Yes, for pure import purposes, that's enough, only just this use case I had to prepare files for this
Maybe this isn't a general requirement at all.
@wey-gu Maybe studio should use csv as datasets instand of ngql?
csv
has the following advantages:
Recently I wanted to transfer my CSV files into ngql DML lines, so I quickly changed as follows to do so.
I wonder if someone else has such a requirement, too, If yes, maybe I could PR to add an option to output to log instead of stdout.
@veezhang do you think this feature may be reasonable or not?