Skip to content

Add quoting around partition keys for Hive table inputs - #834

Merged
ayushdg merged 14 commits into
dask-contrib:mainfrom
randerzander:hive_partition_fix
Oct 5, 2022
Merged

ayushdg merged 14 commits into
dask-contrib:mainfrom
randerzander:hive_partition_fix

Conversation

@randerzander

@randerzander randerzander commented Oct 3, 2022 •

Copy link
Copy Markdown
Collaborator

Fixes #179
Fixes #234

@randerzander
randerzander marked this pull request as draft October 3, 2022 18:35
@randerzander
randerzander marked this pull request as ready for review October 4, 2022 01:14
@codecov-commenter

codecov-commenter commented Oct 4, 2022 •

Copy link
Copy Markdown

Codecov Report

Merging #834 (a796647) into main (607eccf) will increase coverage by 0.18%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #834      +/-   ##
==========================================
+ Coverage   74.88%   75.06%   +0.18%     
==========================================
  Files          71       71              
  Lines        3588     3594       +6     
  Branches      629      632       +3     
==========================================
+ Hits         2687     2698      +11     
+ Misses        771      762       -9     
- Partials      130      134       +4     
Impacted Files Coverage Δ
dask_sql/input_utils/hive.py 100.00% <100.00%> (ø)
dask_sql/_version.py 34.00% <0.00%> (+1.44%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@randerzander randerzander changed the title Attempted fix for unquoted partition values in Hive Add quoting around partition keys for Hive table inputs Oct 4, 2022
@randerzander
randerzander marked this pull request as draft October 4, 2022 17:03
@randerzander
randerzander marked this pull request as ready for review October 4, 2022 18:26

@ayushdg ayushdg left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

changes lgtm! Thanks for looking into this @randerzander

Comment thread tests/integration/test_hive.py Resolved
@ayushdg
ayushdg merged commit 67274c0 into dask-contrib:main Oct 5, 2022
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.

multiple partitions for hive not delimited correctly Dask-SQL not wrapping partition value in quotes

3 participants