我正在尝试使用neo4j-admin importer工具从csv导入我的数据库节点。但是每次运行import命令时都会出现这个错误:
Input error: Expected '--nodes' to have at least 1 valid item, but had 0
我有两个单独的csv文件:一个只有标题,另一个有字段。以下是我的csv文件的样子:
"event_id:ID", "created", "description", "duration:int", "event_url", "fee_accepts", "fee_amount:float","fee_currency",
"fee_description","fee_label", "fee_required:int", "group_created", "group_group_lat:float", "group_group_lon:float", "group_id:int",
"group_join_mode", "group_name", "group_urlname", "group_who","headcount:int","how_to_find_us","maybe_rsvp_count", "event_name", "photo_url",
"rating_average", "rating_count:int","rsvp_limit:int","event_status", "event_time", "updated", "utc_offset:int", "venue_address_1",
"venue_address_2", "venue_city", "venue_country", "venue_id:int", "venue_lat:float", "venue_localized_country_name", "venue_lon:float", "venue_name",
"venue_phone:int", "venue_repinned:int","venue_state","venue_zip:int","visibility", "waitlist_count:int", "why", "yes_rsvp_count:int"
这是我运行neo4j-admin的命令:
docker exec -i neo4j_container bin/neo4j-admin import --database import.db --nodes:Event "import/headers.csv,import/events.csv"
数据可能有什么问题,以及如何找到组织我的csv文件头的权利? 我将不胜感激任何帮助!