Skip to content

WB-8032 - Stops users from creating Tables with invalid columns from dataframes#3113

Merged
tssweeney merged 2 commits intomasterfrom
weave/type_error_wb_type_client
Jan 13, 2022
Merged

WB-8032 - Stops users from creating Tables with invalid columns from dataframes#3113
tssweeney merged 2 commits intomasterfrom
weave/type_error_wb_type_client

Conversation

@tssweeney
Copy link
Copy Markdown
Contributor

Fixes WB-8032

Description

We were missing a format validation for columns created from dataframes which was resulting in invalid type processing downstream. In particular, Tables need int or string columns, but if created from a dataframe, we were skipping the type assertion. The result is that tables created with floating point columns get busted.

Testing

Manual testing - uses existing harnesses

@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 5, 2022

Codecov Report

Merging #3113 (090140f) into master (70e4704) will increase coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3113      +/-   ##
==========================================
+ Coverage   79.00%   79.02%   +0.02%     
==========================================
  Files         210      210              
  Lines       27588    27590       +2     
==========================================
+ Hits        21795    21803       +8     
+ Misses       5793     5787       -6     
Flag Coverage Δ
functest 57.20% <100.00%> (+0.09%) ⬆️
unittest 68.86% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
wandb/data_types.py 83.70% <100.00%> (+0.03%) ⬆️
wandb/sdk/internal/stats.py 67.22% <0.00%> (-0.56%) ⬇️
wandb/sdk/lib/git.py 76.35% <0.00%> (ø)
wandb/sdk/lib/sock_client.py 94.64% <0.00%> (+1.78%) ⬆️
wandb/sdk/internal/meta.py 90.18% <0.00%> (+3.06%) ⬆️

Copy link
Copy Markdown
Contributor

@cvphelps cvphelps left a comment

Choose a reason for hiding this comment

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

noice

Copy link
Copy Markdown
Collaborator

@kptkin kptkin left a comment

Choose a reason for hiding this comment

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

🚀

@tssweeney tssweeney merged commit 33ed715 into master Jan 13, 2022
@tssweeney tssweeney deleted the weave/type_error_wb_type_client branch January 13, 2022 19:03
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.

3 participants