Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Fill hyphen strings to workbench table cells that have null and missing values #944

Merged
merged 4 commits into from
Dec 16, 2020

Conversation

chloe-zh
Copy link
Member

@chloe-zh chloe-zh commented Dec 16, 2020

Issue #, if available:

Description of changes:

  • Filled hyphen strings to indicate null and missing values
  • Added unit test and snapshot
  • Upgraded ts-jest and lockfile
    Note: empty strings in result will not be filled

Before
image

After
image

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@chloe-zh chloe-zh self-assigned this Dec 16, 2020
@chloe-zh chloe-zh added enhancement New feature or request Workbench labels Dec 16, 2020
Copy link
Contributor

@joshuali925 joshuali925 left a comment

Choose a reason for hiding this comment

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

would this be confusing if the index actually has null string as values? Discover uses - to indicate null, do we want to be consistent with that?

also what happened to yarn.lock?

@codecov
Copy link

codecov bot commented Dec 16, 2020

Codecov Report

Merging #944 (8b9dd61) into develop (e1f295c) will increase coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             develop     #944   +/-   ##
==========================================
  Coverage      99.87%   99.87%           
- Complexity      2339     2341    +2     
==========================================
  Files            232      232           
  Lines           5386     5389    +3     
  Branches         350      350           
==========================================
+ Hits            5379     5382    +3     
  Misses             5        5           
  Partials           2        2           
Impacted Files Coverage Δ Complexity Δ
...uest/system/ElasticsearchDescribeIndexRequest.java 100.00% <0.00%> (ø) 11.00% <0.00%> (+2.00%)

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 e1f295c...8b9dd61. Read the comment docs.

@chloe-zh
Copy link
Member Author

would this be confusing if the index actually has null string as values? Discover uses - to indicate null, do we want to be consistent with that?

also what happened to yarn.lock?

That sounds good to use "-" to indicate null values. Will change it.

@chloe-zh chloe-zh changed the title Fill "null" strings to workbench table cells with null and missing values Fill hyphen strings to workbench table cells that have null and missing values Dec 16, 2020
@chloe-zh chloe-zh merged commit 0855c53 into opendistro-for-elasticsearch:develop Dec 16, 2020
chloe-zh added a commit that referenced this pull request Dec 16, 2020
…ng values (#944)

* update

* fill string "null" to null and missing values

* updated ts-jest

* use -
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request Workbench
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants