vesoft-inc / nebula-spark-utils

Spark related libraries and tools
23 stars 31 forks source link

vertex is null exception #131

Closed liganggit closed 3 years ago

liganggit commented 3 years ago

when data source vertex is null, exchange have not a good warning but just a exception like 'java.lang.NullPointException'.when data source is not strict,someone do not know why and how to fix it.

Nicole00 commented 3 years ago

when data source vertex is null, exchange have not a good warning but just a exception like 'java.lang.NullPointException'.when data source is not strict,someone do not know why and how to fix it.

can you show more exception information please? In Exchange, if your vertex id or edge source id/ target id is null, it won't pass the check, and the program will print vertexId must exist and cannot be null, your row data is $row log.

liganggit commented 3 years ago

thank you for your reply! that is all right. I saw the newest code.