Skip to content
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

Use Table column names in load! #217

Merged
merged 2 commits into from
Aug 21, 2020
Merged

Conversation

chris-b1
Copy link
Contributor

Closes #216

@chris-b1 chris-b1 changed the title Tables names Use Table column names in load! Aug 21, 2020
@@ -291,11 +291,27 @@ row2 = first(r)
@test DBInterface.lastrowid(r) == 3

r = DBInterface.execute(db, "SELECT * FROM T") |> columntable
SQLite.load!(nothing, Tables.rows(r), db, "T2", "T2", true)
SQLite.load!(nothing, Tables.rows(r), db, "T2", "T2", SQLite.tableinfo(db, "T2"))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is an internal interface, so I think fine to change this test?

@codecov
Copy link

codecov bot commented Aug 21, 2020

Codecov Report

Merging #217 into master will decrease coverage by 4.69%.
The diff coverage is 95.45%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #217      +/-   ##
==========================================
- Coverage   81.53%   76.83%   -4.70%     
==========================================
  Files           5        5              
  Lines         444      505      +61     
==========================================
+ Hits          362      388      +26     
- Misses         82      117      +35     
Impacted Files Coverage Δ
src/tables.jl 99.00% <95.45%> (+0.18%) ⬆️
src/api.jl 38.13% <0.00%> (-14.19%) ⬇️
src/UDF.jl 83.62% <0.00%> (-0.85%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 59d033e...42e304f. Read the comment docs.

@quinnj
Copy link
Member

quinnj commented Aug 21, 2020

Looks great, thanks!

@quinnj quinnj merged commit 484c9eb into JuliaDatabases:master Aug 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tables.jl column names not used in load!
2 participants