-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reusing Attributes from VertexType #46
Comments
hey @alberskib what kind of problems did you encounter? could you push or write something? |
Problem is similar to one that we have with edges. In next hour I will push sth because now I must go out. |
Sorry for long waiting but I think that I am closer to proper solution than I was when I create this issue. |
About this conversion, it's already done in tabula. |
Unfortunatelly there is still problem that for me is hard to solve: |
code? where? |
@bio4j/dynamograph Sorry for constantly asking you for help but I try several things and none of them are worked properly (I spent too much time on it). I will appreciate any clues or general idea how to solve next problems:
and
|
Ok, now I am closer to the solution, but I still face last error. |
Hey @alberskib I was out this weekend. I'm reviewing everything here, I think it'll take one hour or two. |
Hey @eparejatobes. Did you find time to take a look? |
I'm on it, it involves fixing a lot of signatures and stuff, it's taking a bit more than I expected :) don't push to this branch in the meantime, I'm close to finishing it |
Ok. Thanks for help :) |
hey @alberskib mostly done for vertices; but once you see the pattern is really easy to do for edges. I know this is pretty tricky but once it is finished we will have a pretty nice generic DynamoDB graph db :) |
@eparejatobes Great. I will take a look and try to write the same thing for edges. One more time sorry for constantly asking for help. |
No problem, all of this is actually pretty tricky, there's a lot of compiler bugs etc. I'll work on making things easier tomorrow afternoon in scarph and tabula. |
Hey @eparejatobes. How things are going with scarph and tabula? |
Hey @bio4j/dynamograph What do you think about def read(identifier : vertexTable.VertexId#Value) : Either[String,Item#Record#Rep] = {
val getResult = ServiceProvider.service please (FromHashKeyTable(table, Active (
table,
ServiceProvider.service.account,
ThroughputStatus(1, 1)
)) getItem item withKeys (identifier))
getResult.output match {
case success: GetItemSuccess[Item] => Right(record ->> success.item)
case failure : GetItemFailure[Item] => Left(failure.msg)
} |
Hey @eparejatobes Any progress? |
yes, I want to discuss with you tomorrow the final shape of this. the sooner the better, when are you free tomorrow? |
Hm 7 am 8am eventually 9 am? or you prefer 2pm? |
14:00 is fine, maybe I can find the time to do some stuff in scarph and tabula before. Take a look at #48 and see you tomorrow 👍 |
I'll try to join you guys, maybe I won't be very useful, but I'll try to catch up what's going on ") |
@bio4j/dynamograph
After investiagtion it looks like it is more difficult than I thought to reuse those attributes.
Solution that comes to my mind is to create special VertexItem for vertexType which will be similar to item from tabula but it will not take Table as input argument. Aditionally to this change Tabula item should be modified in order to take table and VertexItem as constructor arguments.
The text was updated successfully, but these errors were encountered: