-
Notifications
You must be signed in to change notification settings - Fork 6
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
Fix: ttl format insert by disabling the chunk insert for that format #156
Conversation
0929621
to
c866719
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #156 +/- ##
===========================================
- Coverage 87.05% 86.98% -0.08%
===========================================
Files 36 36
Lines 2626 2627 +1
===========================================
- Hits 2286 2285 -1
- Misses 340 342 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
lib/goo/sparql/client.rb
Outdated
dir = nil | ||
response = nil | ||
if file_path.end_with?('ttl') | ||
bnodes_filter = file_path | ||
file = File.foreach(bnodes_filter) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
File.read must be used instead of File.foreach here; file content is not getting loaded.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I updated it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
someday we will need to add unit tests to this.
fix #155