Skip to content

[Upsert #3] Add support for parsing functions in RDF (#3412)#3539

Closed
mangalaman93 wants to merge 1 commit intomasterfrom
aman/rdf_parser
Closed

[Upsert #3] Add support for parsing functions in RDF (#3412)#3539
mangalaman93 wants to merge 1 commit intomasterfrom
aman/rdf_parser

Conversation

@mangalaman93
Copy link
Copy Markdown
Contributor

@mangalaman93 mangalaman93 commented Jun 7, 2019

Following are now possible (useful in upsert API)

  • uid(v) "object" .
  • <0x01> uid(foo) .

For now, we only support uid function. In future, we can
add support for more functions, starting with val.


This change is Reviewable

@mangalaman93 mangalaman93 requested a review from manishrjain as a code owner June 7, 2019 15:49
@mangalaman93 mangalaman93 requested a review from a team June 7, 2019 15:49
Copy link
Copy Markdown
Contributor

@martinmr martinmr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 3 of 3 files at r1.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @mangalaman93 and @manishrjain)


chunker/rdf/parse_test.go, line 942 at r1 (raw file):

		},
		expectedErr: false,
	},

I would add more tests were expectedErr is true just in case.

Following are now possible (useful in upsert API)
  * uid(v) <predicate> "object" .
  * <0x01> <predicate> uid(foo) .

For now, we only support uid function. In future, we can
add support for more functions.
@mangalaman93 mangalaman93 requested a review from martinmr June 10, 2019 11:00
Copy link
Copy Markdown
Contributor Author

@mangalaman93 mangalaman93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @manishrjain and @martinmr)


chunker/rdf/parse_test.go, line 942 at r1 (raw file):

Previously, martinmr (Martin Martinez Rivera) wrote…

I would add more tests were expectedErr is true just in case.

Done.

Copy link
Copy Markdown
Contributor

@martinmr martinmr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 2 of 2 files at r2.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @manishrjain)

@mangalaman93
Copy link
Copy Markdown
Contributor Author

Closing this PR for #3412 , addressed all the comments.

@mangalaman93 mangalaman93 deleted the aman/rdf_parser branch June 13, 2019 05:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants