Skip to content

By default, make query column names unique #254

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

Merged
merged 2 commits into from
Aug 12, 2021
Merged

By default, make query column names unique #254

merged 2 commits into from
Aug 12, 2021

Conversation

quinnj
Copy link
Member

@quinnj quinnj commented Aug 12, 2021

Fixes #253. Most data formats have requirements around column name
uniqueness, including DataFrames.jl. The proposed changes here ensure
query result columns are unique by default, while still allowing column
names to be duplicated if they pass allowduplicates=true to
DBInterface.execute.

Fixes #253. Most data formats have requirements around column name
uniqueness, including DataFrames.jl. The proposed changes here ensure
query result columns are unique by default, while still allowing column
names to be duplicated if they pass `allowduplicates=true` to
`DBInterface.execute`.
@codecov
Copy link

codecov bot commented Aug 12, 2021

Codecov Report

Merging #254 (f51ad8e) into master (466e080) will increase coverage by 0.21%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #254      +/-   ##
==========================================
+ Coverage   83.19%   83.41%   +0.21%     
==========================================
  Files           5        5              
  Lines         607      615       +8     
==========================================
+ Hits          505      513       +8     
  Misses        102      102              
Impacted Files Coverage Δ
src/SQLite.jl 96.21% <100.00%> (ø)
src/tables.jl 99.17% <100.00%> (+0.05%) ⬆️

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 466e080...f51ad8e. Read the comment docs.

Co-authored-by: Bogumił Kamiński <[email protected]>
@quinnj quinnj merged commit dd14546 into master Aug 12, 2021
@quinnj quinnj deleted the jq/253 branch August 12, 2021 16:46
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.

Ensure unique column names in query result by default
2 participants