Skip to content

Bug/bi 1158#117

Merged
davedrp merged 6 commits intodevelopfrom
bug/BI-1158
Dec 2, 2021
Merged

Bug/bi 1158#117
davedrp merged 6 commits intodevelopfrom
bug/BI-1158

Conversation

@davedrp
Copy link
Contributor

@davedrp davedrp commented Nov 22, 2021

@davedrp davedrp requested review from a team, HMS17 and timparsons and removed request for a team November 22, 2021 23:01
@github-actions github-actions bot added the bug Something isn't working label Nov 22, 2021
* limitations under the License.
*/

ALTER TABLE trait DROP COLUMN abbreviations ; No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

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

I just merged BI-1201 with a migration labeled V0.5.26 (V0.5.26__add-program-key.sql), so will likely have to increment this number. I do also have a V0.5.27__add_germplasm_template_system_mapping.sql in my PR for BI-1176, so I could adjust that to 28 or this could be 28 depending on merge order?

Copy link
Contributor

Choose a reason for hiding this comment

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

Merged BI-1176, so this would need to be 28

else {
DataType datatype = scale.getDataType();
if( datatype != null ) {
// is the dataType is not Numerical use the dataType value
Copy link
Contributor

Choose a reason for hiding this comment

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

small thing, guessing you meant "if", not "is"

DataType datatype = scale.getDataType();
if( datatype != null ) {
// if the dataType is not Numerical, use the dataType value
if(datatype!=DataType.NUMERICAL){
Copy link
Member

Choose a reason for hiding this comment

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

Does this mean that if the datatype is NUMERICAL that there will not be a scale name derived?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Correct, the user is requried to provide the scale name (aka unit) if the datatype is NUMERIC.

@davedrp davedrp requested a review from timparsons December 2, 2021 15:49
@davedrp davedrp merged commit 9c24fa2 into develop Dec 2, 2021
@davedrp davedrp deleted the bug/BI-1158 branch December 2, 2021 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants