How to define src, dst in edge data frame to write to TigerGraph?

I see that you define the src/dst as their type “Person” here (https://github.com/tigergraph/ecosys/tree/master/tools/etl/tg-jdbc-driver#to-write-to-tigergraph). Why was that done? Can the src/dst be identified by a different data frame schema?

@nquinn In that example I believe the schema being used is a Person -(Follows)- Person so the edge is pointed back at the person which is why it’s defined that way. Depending on your schema you would need to change those values to reflect what data you’re looking to Read/Write.

My concern is that if the columns got reordered for some reason, we would get dst Person before src Person and they would be written as (dst) - Follows - (src) which for a directed edge could be problematic.