question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problem in Mapping the relationship fields

See original GitHub issue

Trying to map my relationship dataframe :

 val trip_data_dataframe6=trip_data_dataframe5.select("idj","id1","id2","Ehail_fee", "Extra", "Fare_amount", "MTA_tax", "Passenger_count", "Payment_type", "RateCodeID", "Store_and_fwd_flag", "Tip_amount", "Tolls_amount", "Total_amount", "Trip_distance", "Trip_type", "VendorID", "dropoff_timehash", "pickup_timehash")

in a Trip_Table :

val Trip_mapping=RelationshipMapping.withSourceIdKey("idj").withSourceStartNodeKey("id1").withSourceEndNodeKey("id2").withRelType("TRIP").withPropertyKeys(  "Ehail_fee", "Extra", "Fare_amount", "MTA_tax", "Passenger_count", "Payment_type", "RateCodeID", "Store_and_fwd_flag", "Tip_amount", "Tolls_amount", "Total_amount", "Trip_distance", "Trip_type", "VendorID", "dropoff_timehash", "pickup_timehash")

BUT in the graph i get a value disorder ; column a have the values of column b also there is a mapped column, RateCodeID, who disappeared . so is there a limited number of columns that can be mapped ? and why i get a disorder in result(the graph relationship 's fields) ?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
pstutzcommented, Sep 12, 2018

You should use CAPSRelationshipTable.fromMapping, as the exception suggests.

0reactions
s1ckcommented, Sep 20, 2018

Closing this for now. @HADDADENICAR feel free to open another issue if you find the right cause.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Relationship Mapping Issues - Microsoft Dynamics CRM ...
We are running into some weird problem. We have the mapping set up in the relationships, sometimes the data is not being populated...
Read more >
Relationship Map fails to load when Account Account ...
In Winter '22, Relation Ship Maps may fail to load, giving the error "Looks like there's a problem." This will occur if the...
Read more >
Having trouble creating new relationship class - Esri Community
Solved: Hello. I am working on a Survey123 project for my local Park Service. We want to collect information about state historic resources....
Read more >
Problem in mapping among two derived entities that have 3 ...
Problem in mapping among two derived entities that have 3 fields key and 2 other entities in relationship one to many using Entity...
Read more >
Error map @OneToMany relationship with JPA and Hibernate
I'm currently having a problem with OneToMany/ManyToOne mapping in my database. I would like my Sale Item table to have @ManyToOne mappings ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found